Rev 3 | Rev 7 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#include "pch.h"
#pragma hdrstop
#include "ClientDebugCommands.h"
#include <Console/ConsoleClient.h>
#include <WowSvcs/ClientServices.h>
/****************************************************************************
*
* Command definitions
*
***/
//===========================================================================
BOOL CCommand_BootMe(const char *command, const char *arguments)
{
CDataStore msg;
msg.Put(CMSG_BOOTME);
msg.Finalize();
ClientServices_Send(&msg);
return TRUE;
}
/****************************************************************************
*
* External functions
*
***/
//===========================================================================
void DebugClientCommands::Install()
{
ConsoleCommandRegister("bootme",CCommand_BootMe,DEBUG,NOHELP);
}
//===========================================================================
void DebugClientCommands::Uninstall()
{
ConsoleCommandUnregister("bootme");
}