AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Public Member Functions | |
guild_commandscript () | |
ChatCommandTable | GetCommands () const override |
virtual std::vector< Acore::ChatCommands::ChatCommandBuilder > | GetCommands () const =0 |
Public Member Functions inherited from ScriptObject | |
virtual bool | IsDatabaseBound () const |
virtual bool | isAfterLoadScript () const |
virtual void | checkValidity () |
const std::string & | GetName () const |
uint16 | GetTotalAvailableHooks () |
Static Public Member Functions | |
static bool | HandleGuildCreateCommand (ChatHandler *handler, Optional< PlayerIdentifier > target, QuotedString guildName) |
static bool | HandleGuildDeleteCommand (ChatHandler *, QuotedString guildName) |
static bool | HandleGuildInviteCommand (ChatHandler *handler, Optional< PlayerIdentifier > target, QuotedString guildName) |
static bool | HandleGuildUninviteCommand (ChatHandler *handler, Optional< PlayerIdentifier > target) |
static bool | HandleGuildRankCommand (ChatHandler *handler, Optional< PlayerIdentifier > player, uint8 rank) |
static bool | HandleGuildRenameCommand (ChatHandler *handler, QuotedString oldGuildStr, QuotedString newGuildStr) |
static bool | HandleGuildInfoCommand (ChatHandler *handler, Optional< Variant< ObjectGuid::LowType, QuotedString > > const &guildIdentifier) |
Additional Inherited Members | |
Protected Member Functions inherited from CommandScript | |
CommandScript (const char *name) | |
Protected Member Functions inherited from ScriptObject | |
ScriptObject (const char *name, uint16 totalAvailableHooks=0) | |
virtual | ~ScriptObject ()=default |
|
inline |
|
inlineoverridevirtual |
Implements CommandScript.
References HandleGuildCreateCommand(), HandleGuildDeleteCommand(), HandleGuildInfoCommand(), HandleGuildInviteCommand(), HandleGuildRankCommand(), HandleGuildRenameCommand(), HandleGuildUninviteCommand(), and SEC_GAMEMASTER.
|
inlinestatic |
References Guild::Create(), Acore::ChatCommands::PlayerIdentifier::FromTargetOrSelf(), Player::GetGuildId(), LANG_BAD_VALUE, LANG_GUILD_NOT_CREATED, LANG_GUILD_RENAME_ALREADY_EXISTS, LANG_PLAYER_IN_GUILD, LANG_PLAYER_NOT_FOUND, ChatHandler::SendErrorMessage(), sGuildMgr, and sObjectMgr.
Referenced by GetCommands().
|
inlinestatic |
References Guild::Disband(), and sGuildMgr.
Referenced by GetCommands().
|
inlinestatic |
References Acore::ChatCommands::PlayerIdentifier::FromTargetOrSelf(), Guild::GetCreatedDate(), Guild::GetId(), Guild::GetInfo(), Guild::GetLeaderGUID(), Guild::GetMemberCount(), Guild::GetMOTD(), Guild::GetName(), Guild::GetTotalBankMoney(), LANG_GUILD_INFO_BANK_GOLD, LANG_GUILD_INFO_CREATION_DATE, LANG_GUILD_INFO_EXTRA_INFO, LANG_GUILD_INFO_GUILD_MASTER, LANG_GUILD_INFO_MEMBER_COUNT, LANG_GUILD_INFO_MOTD, LANG_GUILD_INFO_NAME, localtime_r(), ChatHandler::PSendSysMessage(), sCharacterCache, sGuildMgr, and ObjectGuid::ToString().
Referenced by GetCommands().
|
inlinestatic |
References Guild::AddMember(), Acore::ChatCommands::PlayerIdentifier::FromTargetOrSelf(), and sGuildMgr.
Referenced by GetCommands().
|
inlinestatic |
References Guild::ChangeMemberRank(), Acore::ChatCommands::PlayerIdentifier::FromTargetOrSelf(), sCharacterCache, and sGuildMgr.
Referenced by GetCommands().
|
inlinestatic |
References LANG_BAD_VALUE, LANG_COMMAND_COULDNOTFIND, LANG_GUILD_RENAME_ALREADY_EXISTS, LANG_GUILD_RENAME_DONE, ChatHandler::PSendSysMessage(), ChatHandler::SendErrorMessage(), Guild::SetName(), and sGuildMgr.
Referenced by GetCommands().
|
inlinestatic |
References Guild::DeleteMember(), Acore::ChatCommands::PlayerIdentifier::FromTargetOrSelf(), Player::GetGuildId(), sCharacterCache, and sGuildMgr.
Referenced by GetCommands().