![]() |
TrinityCore
|
Inheritance diagram for event_commandscript:Public Member Functions | |
| event_commandscript () | |
| std::span< ChatCommandBuilder const > | GetCommands () const override |
Public Member Functions inherited from CommandScript | |
| ~CommandScript () | |
Public Member Functions inherited from ScriptObject | |
| ScriptObject (ScriptObject const &right)=delete | |
| ScriptObject (ScriptObject &&right)=delete | |
| ScriptObject & | operator= (ScriptObject const &right)=delete |
| ScriptObject & | operator= (ScriptObject &&right)=delete |
| std::string const & | GetName () const |
Static Public Member Functions | |
| static bool | HandleEventActiveListCommand (ChatHandler *handler) |
| static bool | HandleEventInfoCommand (ChatHandler *handler, Variant< Hyperlink< gameevent >, uint16 > eventId) |
| static bool | HandleEventStartCommand (ChatHandler *handler, Variant< Hyperlink< gameevent >, uint16 > eventId) |
| static bool | HandleEventStopCommand (ChatHandler *handler, Variant< Hyperlink< gameevent >, uint16 > eventId) |
Additional Inherited Members | |
Protected Member Functions inherited from CommandScript | |
| CommandScript (char const *name) noexcept | |
Protected Member Functions inherited from ScriptObject | |
| ScriptObject (char const *name) noexcept | |
| virtual | ~ScriptObject () |
Definition at line 35 of file cs_event.cpp.
|
inline |
Definition at line 38 of file cs_event.cpp.
|
inlineoverridevirtual |
Implements CommandScript.
Definition at line 40 of file cs_event.cpp.
References HandleEventActiveListCommand(), HandleEventInfoCommand(), HandleEventStartCommand(), HandleEventStopCommand(), rbac::RBAC_PERM_COMMAND_EVENT_ACTIVELIST, rbac::RBAC_PERM_COMMAND_EVENT_INFO, rbac::RBAC_PERM_COMMAND_EVENT_START, and rbac::RBAC_PERM_COMMAND_EVENT_STOP.
|
inlinestatic |
Definition at line 56 of file cs_event.cpp.
References GameEventData::description, ChatHandler::GetSession(), ChatHandler::GetTrinityString(), LANG_ACTIVE, LANG_EVENT_ENTRY_LIST_CHAT, LANG_EVENT_ENTRY_LIST_CONSOLE, LANG_NOEVENTFOUND, ChatHandler::PSendSysMessage(), ChatHandler::SendSysMessage(), ChatHandler::SetSentErrorMessage(), and sGameEventMgr.
Referenced by GetCommands().
|
inlinestatic |
Definition at line 84 of file cs_event.cpp.
References GameEventData::description, GameEventData::end, GameTime::GetGameTime(), ChatHandler::GetTrinityString(), GameEventData::isValid(), LANG_ACTIVE, LANG_EVENT_INFO, LANG_EVENT_NOT_EXIST, GameEventData::length, MINUTE, GameEventData::occurence, ChatHandler::PSendSysMessage(), secsToTimeString(), ChatHandler::SendSysMessage(), ChatHandler::SetSentErrorMessage(), sGameEventMgr, GameEventData::start, and TimeToTimestampStr().
Referenced by GetCommands().
|
inlinestatic |
Definition at line 123 of file cs_event.cpp.
References GameEventData::isValid(), LANG_EVENT_ALREADY_ACTIVE, LANG_EVENT_NOT_EXIST, ChatHandler::PSendSysMessage(), ChatHandler::SendSysMessage(), ChatHandler::SetSentErrorMessage(), and sGameEventMgr.
Referenced by GetCommands().
|
inlinestatic |
Definition at line 154 of file cs_event.cpp.
References GameEventData::isValid(), LANG_EVENT_NOT_ACTIVE, LANG_EVENT_NOT_EXIST, ChatHandler::PSendSysMessage(), ChatHandler::SendSysMessage(), ChatHandler::SetSentErrorMessage(), and sGameEventMgr.
Referenced by GetCommands().