![]() |
TrinityCore
|
Inheritance diagram for titles_commandscript:Public Member Functions | |
| titles_commandscript () | |
| ChatCommandTable | GetCommands () const override |
Public Member Functions inherited from ScriptObject | |
| std::string const & | GetName () const |
Static Public Member Functions | |
| static bool | HandleTitlesCurrentCommand (ChatHandler *handler, Variant< Hyperlink< title >, uint16 > titleId) |
| static bool | HandleTitlesAddCommand (ChatHandler *handler, Variant< Hyperlink< title >, uint16 > titleId) |
| static bool | HandleTitlesRemoveCommand (ChatHandler *handler, Variant< Hyperlink< title >, uint16 > titleId) |
| static bool | HandleTitlesSetMaskCommand (ChatHandler *handler, uint64 mask) |
Additional Inherited Members | |
Protected Member Functions inherited from CommandScript | |
| CommandScript (char const *name) | |
Protected Member Functions inherited from ScriptObject | |
| ScriptObject (char const *name) | |
| virtual | ~ScriptObject () |
Definition at line 34 of file cs_titles.cpp.
|
inline |
Definition at line 37 of file cs_titles.cpp.
|
inlineoverridevirtual |
Implements CommandScript.
Definition at line 39 of file cs_titles.cpp.
References HandleTitlesAddCommand(), HandleTitlesCurrentCommand(), HandleTitlesRemoveCommand(), HandleTitlesSetMaskCommand(), rbac::RBAC_PERM_COMMAND_TITLES_ADD, rbac::RBAC_PERM_COMMAND_TITLES_CURRENT, rbac::RBAC_PERM_COMMAND_TITLES_REMOVE, and rbac::RBAC_PERM_COMMAND_TITLES_SET_MASK.
|
inlinestatic |
Definition at line 92 of file cs_titles.cpp.
References ObjectGuid::Empty, GENDER_MALE, WorldObject::GetName(), ChatHandler::GetNameLink(), Player::GetNativeGender(), ChatHandler::getSelectedPlayer(), ChatHandler::GetSessionDbcLocale(), ChatHandler::HasLowerSecurity(), LANG_INVALID_TITLE_ID, LANG_NO_CHAR_SELECTED, LANG_TITLE_ADD_RES, CharTitlesEntry::Name, CharTitlesEntry::Name1, ChatHandler::PGetParseString(), ChatHandler::PSendSysMessage(), sCharTitlesStore, ChatHandler::SendSysMessage(), ChatHandler::SetSentErrorMessage(), and Player::SetTitle().
Referenced by GetCommands().
|
inlinestatic |
Definition at line 59 of file cs_titles.cpp.
References ObjectGuid::Empty, GENDER_MALE, WorldObject::GetName(), ChatHandler::GetNameLink(), Player::GetNativeGender(), ChatHandler::getSelectedPlayer(), ChatHandler::GetSessionDbcLocale(), ChatHandler::HasLowerSecurity(), LANG_INVALID_TITLE_ID, LANG_NO_CHAR_SELECTED, LANG_TITLE_CURRENT_RES, CharTitlesEntry::MaskID, CharTitlesEntry::Name, CharTitlesEntry::Name1, ChatHandler::PGetParseString(), PLAYER_CHOSEN_TITLE, ChatHandler::PSendSysMessage(), sCharTitlesStore, ChatHandler::SendSysMessage(), ChatHandler::SetSentErrorMessage(), Player::SetTitle(), and Object::SetUInt32Value().
Referenced by GetCommands().
|
inlinestatic |
Definition at line 123 of file cs_titles.cpp.
References ObjectGuid::Empty, GENDER_MALE, Object::GetInt32Value(), WorldObject::GetName(), ChatHandler::GetNameLink(), Player::GetNativeGender(), ChatHandler::getSelectedPlayer(), ChatHandler::GetSessionDbcLocale(), ChatHandler::HasLowerSecurity(), Player::HasTitle(), LANG_CURRENT_TITLE_RESET, LANG_INVALID_TITLE_ID, LANG_NO_CHAR_SELECTED, LANG_TITLE_REMOVE_RES, CharTitlesEntry::Name, CharTitlesEntry::Name1, ChatHandler::PGetParseString(), PLAYER_CHOSEN_TITLE, ChatHandler::PSendSysMessage(), sCharTitlesStore, ChatHandler::SendSysMessage(), ChatHandler::SetSentErrorMessage(), Player::SetTitle(), and Object::SetUInt32Value().
Referenced by GetCommands().
|
inlinestatic |
Definition at line 162 of file cs_titles.cpp.
References ObjectGuid::Empty, 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_CHOSEN_TITLE, ChatHandler::PSendSysMessage(), sCharTitlesStore, ChatHandler::SendSysMessage(), ChatHandler::SetSentErrorMessage(), Object::SetUInt32Value(), and Object::SetUInt64Value().
Referenced by GetCommands().