|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Public Member Functions | |
| event_commandscript () | |
| std::vector< ChatCommand > | GetCommands () const OVERRIDE |
| Public Member Functions inherited from ScriptObject | |
| const std::string & | GetName () const |
| virtual bool | IsDatabaseBound () const |
Static Public Member Functions | |
| static bool | HandleEventActiveListCommand (ChatHandler *handler, char const *) |
| static bool | HandleEventInfoCommand (ChatHandler *handler, char const *args) |
| static bool | HandleEventStartCommand (ChatHandler *handler, char const *args) |
| static bool | HandleEventStopCommand (ChatHandler *handler, char const *args) |
Additional Inherited Members | |
| Protected Member Functions inherited from CommandScript | |
| CommandScript (const char *name) | |
| Protected Member Functions inherited from ScriptObject | |
| ScriptObject (const char *name) | |
| virtual | ~ScriptObject () |
Definition at line 19 of file cs_event.cpp.
|
inline |
Definition at line 22 of file cs_event.cpp.
References CommandScript::CommandScript().
|
inlinevirtual |
Implements CommandScript.
Definition at line 24 of file cs_event.cpp.
References HandleEventActiveListCommand(), HandleEventInfoCommand(), HandleEventStartCommand(), HandleEventStopCommand(), OVERRIDE, rbac::RBAC_PERM_COMMAND_EVENT, rbac::RBAC_PERM_COMMAND_EVENT_ACTIVELIST, rbac::RBAC_PERM_COMMAND_EVENT_START, and rbac::RBAC_PERM_COMMAND_EVENT_STOP.
|
inlinestatic |
Definition at line 40 of file cs_event.cpp.
References GameEventData::description, ChatHandler::GetSession(), ChatHandler::GetSkyFireString(), 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 69 of file cs_event.cpp.
References GameEventData::description, GameEventData::end, ChatHandler::extractKeyFromLink(), ChatHandler::GetSkyFireString(), 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 118 of file cs_event.cpp.
References ChatHandler::extractKeyFromLink(), 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 159 of file cs_event.cpp.
References ChatHandler::extractKeyFromLink(), GameEventData::isValid(), LANG_EVENT_NOT_ACTIVE, LANG_EVENT_NOT_EXIST, ChatHandler::PSendSysMessage(), ChatHandler::SendSysMessage(), ChatHandler::SetSentErrorMessage(), and sGameEventMgr.
Referenced by GetCommands().