50 {
"set", titlesSetCommandTable },
54 {
"titles", titlesCommandTable },
81 std::string tNameLink = handler->
GetNameLink(target);
114 std::string tNameLink = handler->
GetNameLink(target);
147 std::string tNameLink = handler->
GetNameLink(target);
180 titles2 &= ~(
uint64(1) << tEntry->MaskID);
DBCStorage< CharTitlesEntry > sCharTitlesStore(CharTitlesEntryfmt)
@ LANG_CURRENT_TITLE_RESET
Role Based Access Control related classes definition.
@ PLAYER__FIELD_KNOWN_TITLES
static std::string PGetParseString(std::string_view fmt, Args &&... args)
Player * getSelectedPlayer()
virtual LocaleConstant GetSessionDbcLocale() const
virtual std::string GetNameLink() const
bool HasLowerSecurity(Player *target, ObjectGuid guid, bool strong=false)
void SetSentErrorMessage(bool val)
void PSendSysMessage(char const *fmt, Args &&... args)
virtual void SendSysMessage(std::string_view str, bool escapeCharacters=false)
static ObjectGuid const Empty
int32 GetInt32Value(uint16 index) const
void SetUInt32Value(uint16 index, uint32 value)
void SetUInt64Value(uint16 index, uint64 value)
Gender GetNativeGender() const override
bool HasTitle(uint32 bitIndex) const
void SetTitle(CharTitlesEntry const *title, bool lost=false)
std::string const & GetName() const
static bool HandleTitlesRemoveCommand(ChatHandler *handler, Variant< Hyperlink< title >, uint16 > titleId)
static bool HandleTitlesAddCommand(ChatHandler *handler, Variant< Hyperlink< title >, uint16 > titleId)
static bool HandleTitlesSetMaskCommand(ChatHandler *handler, uint64 mask)
static bool HandleTitlesCurrentCommand(ChatHandler *handler, Variant< Hyperlink< title >, uint16 > titleId)
ChatCommandTable GetCommands() const override
void AddSC_titles_commandscript()
std::vector< ChatCommandBuilder > ChatCommandTable
@ RBAC_PERM_COMMAND_TITLES_CURRENT
@ RBAC_PERM_COMMAND_TITLES_ADD
@ RBAC_PERM_COMMAND_TITLES_SET_MASK
@ RBAC_PERM_COMMAND_TITLES_REMOVE