◆ worldstate_commandscript()
worldstate_commandscript::worldstate_commandscript |
( |
| ) |
|
|
inline |
Definition CommandScript.h:25
◆ GetCommands()
Implements CommandScript.
31 {
33 {
40 };
41
43 {
44 { "sunsreach", sunsreachCommandTable }
45 };
46
48 {
49 { "worldstate", worldStateCommandTable }
50 };
51 return commandTable;
52 }
@ SEC_ADMINISTRATOR
Definition Common.h:60
static bool HandleSunsReachReclamationStatusCommand(ChatHandler *handler)
Definition cs_worldstate.cpp:54
static bool HandleSunsReachReclamationSubPhaseCommand(ChatHandler *handler, uint32 subphase)
Definition cs_worldstate.cpp:72
static bool HandleSunwellGateCommand(ChatHandler *handler, uint32 newGate)
Definition cs_worldstate.cpp:97
static bool HandleSunsReachReclamationPhaseCommand(ChatHandler *handler, uint32 phase)
Definition cs_worldstate.cpp:60
static bool HandleSunsReachReclamationCounterCommand(ChatHandler *handler, Optional< uint32 > index, Optional< uint32 > value)
Definition cs_worldstate.cpp:84
static bool HandleSunwellGateCounterCommand(ChatHandler *handler, Optional< uint32 > index, Optional< uint32 > value)
Definition cs_worldstate.cpp:109
std::vector< ChatCommandBuilder > ChatCommandTable
Definition ChatCommand.h:46
References HandleSunsReachReclamationCounterCommand(), HandleSunsReachReclamationPhaseCommand(), HandleSunsReachReclamationStatusCommand(), HandleSunsReachReclamationSubPhaseCommand(), HandleSunwellGateCommand(), HandleSunwellGateCounterCommand(), and SEC_ADMINISTRATOR.
◆ HandleSunsReachReclamationCounterCommand()
85 {
87 {
88 handler->
PSendSysMessage(
"Syntax: .worldstate sunsreach counter <index> <value>.");
90 return true;
91 }
94 return true;
95 }
#define sWorldState
Definition WorldState.h:202
SunsReachCounters
Definition WorldState.h:105
@ COUNTERS_MAX
Definition WorldState.h:116
void PSendSysMessage(std::string_view str, bool escapeCharacters=false)
Definition Chat.cpp:211
References COUNTERS_MAX, ChatHandler::PSendSysMessage(), and sWorldState.
Referenced by GetCommands().
◆ HandleSunsReachReclamationPhaseCommand()
static bool worldstate_commandscript::HandleSunsReachReclamationPhaseCommand |
( |
ChatHandler * |
handler, |
|
|
uint32 |
phase |
|
) |
| |
|
inlinestatic |
◆ HandleSunsReachReclamationStatusCommand()
static bool worldstate_commandscript::HandleSunsReachReclamationStatusCommand |
( |
ChatHandler * |
handler | ) |
|
|
inlinestatic |
◆ HandleSunsReachReclamationSubPhaseCommand()
static bool worldstate_commandscript::HandleSunsReachReclamationSubPhaseCommand |
( |
ChatHandler * |
handler, |
|
|
uint32 |
subphase |
|
) |
| |
|
inlinestatic |
◆ HandleSunwellGateCommand()
static bool worldstate_commandscript::HandleSunwellGateCommand |
( |
ChatHandler * |
handler, |
|
|
uint32 |
newGate |
|
) |
| |
|
inlinestatic |
◆ HandleSunwellGateCounterCommand()
The documentation for this class was generated from the following file: