Subversion Repositories WoWGM

Rev

Rev 3 | Rev 25 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3 Rev 6
Line 1... Line 1...
1
#include "pch.h"
1
#include "pch.h"
2
#pragma hdrstop
2
#pragma hdrstop
3
 
3
 
4
#include "ClientCommands.h"
4
#include "ClientCommands.h"
-
 
5
 
5
#include <ClientDebugCommands.h>
6
#include <ClientDebugCommands.h>
-
 
7
#include <ClientGMCommands.h>
6
#include <Console/ConsoleClient.h>
8
#include <Console/ConsoleClient.h>
7
#include <FrameScript/FrameScript.h>
9
#include <FrameScript/FrameScript.h>
8
#include <WowSvcs/ClientServices.h>
10
#include <WowSvcs/ClientServices.h>
9
 
11
 
10
/****************************************************************************
12
/****************************************************************************
Line 81... Line 83...
81
	ConsoleCommandRegister("cm",CCommand_CreateMonster,GAME,NOHELP);
83
	ConsoleCommandRegister("cm",CCommand_CreateMonster,GAME,NOHELP);
82
	ConsoleCommandRegister("createmonster",CCommand_CreateMonster,GAME,NOHELP);
84
	ConsoleCommandRegister("createmonster",CCommand_CreateMonster,GAME,NOHELP);
83
	ConsoleCommandRegister("godmode",CCommand_GodMode,GAME,NOHELP);
85
	ConsoleCommandRegister("godmode",CCommand_GodMode,GAME,NOHELP);
84
 
86
 
85
	DebugClientCommands::Install();
87
	DebugClientCommands::Install();
-
 
88
	GMClientCommands::Install();
86
}
89
}
87
 
90
 
88
//===========================================================================
91
//===========================================================================
89
void UninstallGameConsoleCommands()
92
void UninstallGameConsoleCommands()
90
{
93
{
Line 94... Line 97...
94
	ConsoleCommandUnregister("cm");
97
	ConsoleCommandUnregister("cm");
95
	ConsoleCommandUnregister("createmonster");
98
	ConsoleCommandUnregister("createmonster");
96
	ConsoleCommandUnregister("godmode");
99
	ConsoleCommandUnregister("godmode");
97
 
100
 
98
	DebugClientCommands::Uninstall();
101
	DebugClientCommands::Uninstall();
-
 
102
	GMClientCommands::Uninstall();
99
}
103
}
100
 
104
 
101
 
105
 
102
/****************************************************************************
106
/****************************************************************************
103
*
107
*