AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Public Member Functions | |
bf_commandscript () | |
ChatCommandTable | GetCommands () const override |
virtual std::vector< Acore::ChatCommands::ChatCommandBuilder > | GetCommands () const =0 |
Public Member Functions inherited from ScriptObject | |
virtual bool | IsDatabaseBound () const |
virtual bool | isAfterLoadScript () const |
virtual void | checkValidity () |
const std::string & | GetName () const |
uint16 | GetTotalAvailableHooks () |
Static Public Member Functions | |
static bool | HandleBattlefieldStart (ChatHandler *handler, uint32 battleId) |
static bool | HandleBattlefieldEnd (ChatHandler *handler, uint32 battleId) |
static bool | HandleBattlefieldEnable (ChatHandler *handler, uint32 battleId) |
static bool | HandleBattlefieldSwitch (ChatHandler *handler, uint32 battleId) |
static bool | HandleBattlefieldTimer (ChatHandler *handler, uint32 battleId, std::string timeStr) |
Additional Inherited Members | |
Protected Member Functions inherited from CommandScript | |
CommandScript (const char *name) | |
Protected Member Functions inherited from ScriptObject | |
ScriptObject (const char *name, uint16 totalAvailableHooks=0) | |
virtual | ~ScriptObject ()=default |
|
inline |
|
inlineoverridevirtual |
Implements CommandScript.
References HandleBattlefieldEnable(), HandleBattlefieldEnd(), HandleBattlefieldStart(), HandleBattlefieldSwitch(), HandleBattlefieldTimer(), and SEC_ADMINISTRATOR.
|
inlinestatic |
References Battlefield::IsEnabled(), sBattlefieldMgr, ChatHandler::SendGlobalGMSysMessage(), and Battlefield::ToggleBattlefield().
Referenced by GetCommands().
|
inlinestatic |
References Battlefield::EndBattle(), sBattlefieldMgr, and ChatHandler::SendGlobalGMSysMessage().
Referenced by GetCommands().
|
inlinestatic |
References sBattlefieldMgr, ChatHandler::SendGlobalGMSysMessage(), and Battlefield::StartBattle().
Referenced by GetCommands().
|
inlinestatic |
References Battlefield::EndBattle(), sBattlefieldMgr, and ChatHandler::SendGlobalGMSysMessage().
Referenced by GetCommands().
|
inlinestatic |
References IN_MILLISECONDS, LANG_BAD_VALUE, sBattlefieldMgr, ChatHandler::SendErrorMessage(), ChatHandler::SendGlobalGMSysMessage(), Battlefield::SendInitWorldStatesToAll(), Battlefield::SetTimer(), and TimeStringToSecs().
Referenced by GetCommands().