|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Public Member Functions | |
| std::vector< ChatCommand > | GetCommands () const OVERRIDE |
| titles_commandscript () | |
| Public Member Functions inherited from ScriptObject | |
| const std::string & | GetName () const |
| virtual bool | IsDatabaseBound () const |
Static Public Member Functions | |
| static bool | HandleTitlesAddCommand (ChatHandler *handler, char const *args) |
| static bool | HandleTitlesCurrentCommand (ChatHandler *handler, char const *args) |
| static bool | HandleTitlesRemoveCommand (ChatHandler *handler, char const *args) |
| static bool | HandleTitlesSetMaskCommand (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_titles.cpp.
|
inline |
Definition at line 22 of file cs_titles.cpp.
References CommandScript::CommandScript().
|
inlinevirtual |
Implements CommandScript.
Definition at line 24 of file cs_titles.cpp.
References HandleTitlesAddCommand(), HandleTitlesCurrentCommand(), HandleTitlesRemoveCommand(), HandleTitlesSetMaskCommand(), OVERRIDE, rbac::RBAC_PERM_COMMAND_TITLES, rbac::RBAC_PERM_COMMAND_TITLES_ADD, rbac::RBAC_PERM_COMMAND_TITLES_CURRENT, rbac::RBAC_PERM_COMMAND_TITLES_REMOVE, rbac::RBAC_PERM_COMMAND_TITLES_SET, and rbac::RBAC_PERM_COMMAND_TITLES_SET_MASK.
|
inlinestatic |
Definition at line 89 of file cs_titles.cpp.
References ChatHandler::extractKeyFromLink(), WorldObject::GetName(), ChatHandler::GetNameLink(), ChatHandler::getSelectedPlayer(), ChatHandler::HasLowerSecurity(), LANG_INVALID_TITLE_ID, LANG_NO_CHAR_SELECTED, LANG_TITLE_ADD_RES, CharTitlesEntry::name, ChatHandler::PSendSysMessage(), sCharTitlesStore, ChatHandler::SendSysMessage(), ChatHandler::SetSentErrorMessage(), and Player::SetTitle().
Referenced by GetCommands().
|
inlinestatic |
Definition at line 44 of file cs_titles.cpp.
References CharTitlesEntry::bit_index, ChatHandler::extractKeyFromLink(), ChatHandler::GetNameLink(), ChatHandler::getSelectedPlayer(), ChatHandler::HasLowerSecurity(), LANG_INVALID_TITLE_ID, LANG_NO_CHAR_SELECTED, LANG_TITLE_CURRENT_RES, CharTitlesEntry::name, PLAYER_FIELD_PLAYER_TITLE, ChatHandler::PSendSysMessage(), sCharTitlesStore, ChatHandler::SendSysMessage(), ChatHandler::SetSentErrorMessage(), Player::SetTitle(), and Object::SetUInt32Value().
Referenced by GetCommands().
|
inlinestatic |
Definition at line 135 of file cs_titles.cpp.
References ChatHandler::extractKeyFromLink(), Object::GetInt32Value(), WorldObject::GetName(), ChatHandler::GetNameLink(), ChatHandler::getSelectedPlayer(), ChatHandler::HasLowerSecurity(), Player::HasTitle(), LANG_CURRENT_TITLE_RESET, LANG_INVALID_TITLE_ID, LANG_NO_CHAR_SELECTED, LANG_TITLE_REMOVE_RES, CharTitlesEntry::name, PLAYER_FIELD_PLAYER_TITLE, ChatHandler::PSendSysMessage(), sCharTitlesStore, ChatHandler::SendSysMessage(), ChatHandler::SetSentErrorMessage(), Player::SetTitle(), and Object::SetUInt32Value().
Referenced by GetCommands().
|
inlinestatic |
Definition at line 189 of file cs_titles.cpp.
References Object::GetInt32Value(), ChatHandler::GetNameLink(), ChatHandler::getSelectedPlayer(), ChatHandler::HasLowerSecurity(), Player::HasTitle(), LANG_CURRENT_TITLE_RESET, LANG_DONE, LANG_NO_CHAR_SELECTED, PLAYER_FIELD_KNOWN_TITLES, PLAYER_FIELD_PLAYER_TITLE, ChatHandler::PSendSysMessage(), sCharTitlesStore, ChatHandler::SendSysMessage(), ChatHandler::SetSentErrorMessage(), Object::SetUInt32Value(), Object::SetUInt64Value(), and UI64FMTD.
Referenced by GetCommands().