◆ worldstate_commandscript()
worldstate_commandscript::worldstate_commandscript |
( |
| ) |
|
|
inline |
Definition CommandScript.h:25
◆ GetCommands()
Implements CommandScript.
38 {
40 {
47 };
48
50 {
51 { "sunsreach", sunsreachCommandTable }
52 };
53
55 {
56 { "worldstate", worldStateCommandTable }
57 };
58 return commandTable;
59 }
@ SEC_ADMINISTRATOR
Definition Common.h:60
static bool HandleSunsReachReclamationStatusCommand(ChatHandler *handler)
Definition cs_worldstate.cpp:61
static bool HandleSunsReachReclamationSubPhaseCommand(ChatHandler *handler, uint32 subphase)
Definition cs_worldstate.cpp:79
static bool HandleSunwellGateCommand(ChatHandler *handler, uint32 newGate)
Definition cs_worldstate.cpp:104
static bool HandleSunsReachReclamationPhaseCommand(ChatHandler *handler, uint32 phase)
Definition cs_worldstate.cpp:67
static bool HandleSunsReachReclamationCounterCommand(ChatHandler *handler, Optional< uint32 > index, Optional< uint32 > value)
Definition cs_worldstate.cpp:91
static bool HandleSunwellGateCounterCommand(ChatHandler *handler, Optional< uint32 > index, Optional< uint32 > value)
Definition cs_worldstate.cpp:116
std::vector< ChatCommandBuilder > ChatCommandTable
Definition ChatCommand.h:46
References HandleSunsReachReclamationCounterCommand(), HandleSunsReachReclamationPhaseCommand(), HandleSunsReachReclamationStatusCommand(), HandleSunsReachReclamationSubPhaseCommand(), HandleSunwellGateCommand(), HandleSunwellGateCounterCommand(), and SEC_ADMINISTRATOR.
◆ HandleSunsReachReclamationCounterCommand()
92 {
94 {
95 handler->
PSendSysMessage(
"Syntax: .worldstate sunsreach counter <index> <value>.");
97 return true;
98 }
101 return true;
102 }
#define sWorldState
Definition WorldState.h:215
SunsReachCounters
Definition WorldState.h:123
@ COUNTERS_MAX
Definition WorldState.h:134
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: