Subversion Repositories WoWGM

Rev

Rev 3 | Rev 7 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 tristanc 1
#include "pch.h"
2
#pragma hdrstop
3
 
4
#include "ClientDebugCommands.h"
6 tristanc 5
 
3 tristanc 6
#include <Console/ConsoleClient.h>
7
#include <WowSvcs/ClientServices.h>
8
 
9
/****************************************************************************
10
*
11
*	Command definitions
12
*
13
***/
14
 
15
//===========================================================================
16
BOOL CCommand_BootMe(const char *command, const char *arguments)
17
{
18
  CDataStore msg;
19
  msg.Put(CMSG_BOOTME);
20
  msg.Finalize();
21
  ClientServices_Send(&msg);
22
  return TRUE;
23
}
24
 
25
 
26
/****************************************************************************
27
*
28
*	External functions
29
*
30
***/
31
 
32
//===========================================================================
33
void DebugClientCommands::Install()
34
{
35
  ConsoleCommandRegister("bootme",CCommand_BootMe,DEBUG,NOHELP);
36
}
37
 
38
//===========================================================================
39
void DebugClientCommands::Uninstall()
40
{
41
  ConsoleCommandUnregister("bootme");
42
}