Subversion Repositories WoWGM

Rev

Rev 6 | Go to most recent revision | Details | 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"
5
#include <Console/ConsoleClient.h>
6
#include <WowSvcs/ClientServices.h>
7
 
8
/****************************************************************************
9
*
10
*	Command definitions
11
*
12
***/
13
 
14
//===========================================================================
15
BOOL CCommand_BootMe(const char *command, const char *arguments)
16
{
17
  CDataStore msg;
18
  msg.Put(CMSG_BOOTME);
19
  msg.Finalize();
20
  ClientServices_Send(&msg);
21
  return TRUE;
22
}
23
 
24
 
25
/****************************************************************************
26
*
27
*	External functions
28
*
29
***/
30
 
31
//===========================================================================
32
void DebugClientCommands::Install()
33
{
34
  ConsoleCommandRegister("bootme",CCommand_BootMe,DEBUG,NOHELP);
35
}
36
 
37
//===========================================================================
38
void DebugClientCommands::Uninstall()
39
{
40
  ConsoleCommandUnregister("bootme");
41
}