|
| | Guild () |
| |
| | ~Guild () |
| |
| bool | Create (Player *pLeader, std::string_view name) |
| |
| void | Disband () |
| |
| ObjectGuid::LowType | GetId () const |
| |
| ObjectGuid | GetLeaderGUID () const |
| |
| std::string const & | GetName () const |
| |
| std::string const & | GetMOTD () const |
| |
| std::string const & | GetInfo () const |
| |
| uint32 | GetMemberCount () const |
| |
| time_t | GetCreatedDate () const |
| |
| uint64 | GetBankMoney () const |
| |
| bool | SetName (std::string_view name) |
| |
| void | HandleRoster (WorldSession *session) |
| |
| void | HandleQuery (WorldSession *session) |
| |
| void | HandleSetMOTD (WorldSession *session, std::string_view motd) |
| |
| void | HandleSetInfo (WorldSession *session, std::string_view info) |
| |
| void | HandleSetEmblem (WorldSession *session, EmblemInfo const &emblemInfo) |
| |
| void | HandleSetNewGuildMaster (WorldSession *session, std::string_view name) |
| |
| void | HandleSetBankTabInfo (WorldSession *session, uint8 tabId, std::string_view name, std::string_view icon) |
| |
| void | HandleSetMemberNote (WorldSession *session, std::string_view note, std::string_view name, bool isPublic) |
| |
| void | HandleSetRankInfo (WorldSession *session, uint8 rankId, std::string_view name, uint32 rights, uint32 moneyPerDay, std::array< GuildBankRightsAndSlots, GUILD_BANK_MAX_TABS > const &rightsAndSlots) |
| |
| void | HandleBuyBankTab (WorldSession *session, uint8 tabId) |
| |
| void | HandleInviteMember (WorldSession *session, std::string_view name) |
| |
| void | HandleAcceptMember (WorldSession *session) |
| |
| void | HandleLeaveMember (WorldSession *session) |
| |
| void | HandleRemoveMember (WorldSession *session, std::string_view name) |
| |
| void | HandleUpdateMemberRank (WorldSession *session, std::string_view name, bool demote) |
| |
| void | HandleAddNewRank (WorldSession *session, std::string_view name) |
| |
| void | HandleRemoveRank (WorldSession *session, uint8 rankId) |
| |
| void | HandleRemoveLowestRank (WorldSession *session) |
| |
| void | HandleMemberDepositMoney (WorldSession *session, uint32 amount) |
| |
| bool | HandleMemberWithdrawMoney (WorldSession *session, uint32 amount, bool repair=false) |
| |
| void | HandleMemberLogout (WorldSession *session) |
| |
| void | HandleDisband (WorldSession *session) |
| |
| void | UpdateMemberData (Player *player, uint8 dataid, uint32 value) |
| |
| void | OnPlayerStatusChange (Player *player, uint32 flag, bool state) |
| |
| void | SendInfo (WorldSession *session) const |
| |
| void | SendEventLog (WorldSession *session) const |
| |
| void | SendBankLog (WorldSession *session, uint8 tabId) const |
| |
| void | SendBankList (WorldSession *session=nullptr, uint8 tabId=0, bool fullUpdate=false, SlotIds *slots=nullptr) const |
| |
| void | SendBankTabData (WorldSession *session, uint8 tabId, bool sendAllSlots) const |
| |
| void | SendBankTabText (WorldSession *session, uint8 tabId) const |
| |
| void | SendPermissions (WorldSession *session) const |
| |
| void | SendMoneyInfo (WorldSession *session) const |
| |
| void | SendLoginInfo (WorldSession *session) |
| |
| bool | LoadFromDB (Field *fields) |
| |
| void | LoadRankFromDB (Field *fields) |
| |
| bool | LoadMemberFromDB (Field *fields) |
| |
| bool | LoadEventLogFromDB (Field *fields) |
| |
| void | LoadBankRightFromDB (Field *fields) |
| |
| void | LoadBankTabFromDB (Field *fields) |
| |
| bool | LoadBankEventLogFromDB (Field *fields) |
| |
| bool | LoadBankItemFromDB (Field *fields) |
| |
| bool | Validate () |
| |
| void | BroadcastToGuild (WorldSession *session, bool officerOnly, std::string_view msg, uint32 language=LANG_UNIVERSAL) const |
| |
| void | BroadcastPacketToRank (WorldPacket const *packet, uint8 rankId) const |
| |
| void | BroadcastPacket (WorldPacket const *packet) const |
| |
| void | MassInviteToEvent (WorldSession *session, uint32 minLevel, uint32 maxLevel, uint32 minRank) |
| |
| template<class Do > |
| void | BroadcastWorker (Do &_do, Player *except=nullptr) |
| |
| bool | AddMember (CharacterDatabaseTransaction trans, ObjectGuid guid, uint8 rankId=GUILD_RANK_NONE) |
| |
| bool | DeleteMember (CharacterDatabaseTransaction trans, ObjectGuid guid, bool isDisbanding=false, bool isKicked=false) |
| |
| bool | ChangeMemberRank (CharacterDatabaseTransaction trans, ObjectGuid guid, uint8 newRank) |
| |
| bool | IsMember (ObjectGuid guid) const |
| |
| uint32 | GetMembersCount () const |
| |
| uint64 | GetMemberAvailableMoneyForRepairItems (ObjectGuid guid) const |
| |
| void | SwapItems (Player *player, uint8 tabId, uint8 slotId, uint8 destTabId, uint8 destSlotId, uint32 splitedAmount) |
| |
| void | SwapItemsWithInventory (Player *player, bool toChar, uint8 tabId, uint8 slotId, uint8 playerBag, uint8 playerSlotId, uint32 splitedAmount) |
| |
| void | SetBankTabText (uint8 tabId, std::string_view text) |
| |
| EmblemInfo const & | GetEmblemInfo () const |
| |
| void | ResetTimes () |
| |
| Trinity::unique_weak_ptr< Guild > | GetWeakPtr () const |
| |
| void | SetWeakPtr (Trinity::unique_weak_ptr< Guild > weakRef) |
| |
|
| uint8 | _GetRanksSize () const |
| |
| RankInfo const * | GetRankInfo (uint8 rankId) const |
| |
| RankInfo * | GetRankInfo (uint8 rankId) |
| |
| bool | _HasRankRight (Player *player, uint32 right) const |
| |
| uint8 | _GetLowestRankId () const |
| |
| uint8 | _GetPurchasedTabsSize () const |
| |
| BankTab * | GetBankTab (uint8 tabId) |
| |
| BankTab const * | GetBankTab (uint8 tabId) const |
| |
| Member const * | GetMember (ObjectGuid guid) const |
| |
| Member * | GetMember (ObjectGuid guid) |
| |
| Member * | GetMember (std::string_view name) |
| |
| void | _CreateNewBankTab () |
| |
| void | _CreateDefaultGuildRanks (CharacterDatabaseTransaction trans, LocaleConstant loc) |
| |
| bool | _CreateRank (CharacterDatabaseTransaction trans, std::string_view name, uint32 rights) |
| |
| void | _UpdateAccountsNumber () |
| |
| bool | _IsLeader (Player *player) const |
| |
| void | _DeleteBankItems (CharacterDatabaseTransaction trans, bool removeItemsFromDB=false) |
| |
| bool | _ModifyBankMoney (CharacterDatabaseTransaction trans, uint64 amount, bool add) |
| |
| void | _SetLeader (CharacterDatabaseTransaction trans, Member &leader) |
| |
| void | _SetRankBankMoneyPerDay (uint8 rankId, uint32 moneyPerDay) |
| |
| void | _SetRankBankTabRightsAndSlots (uint8 rankId, GuildBankRightsAndSlots rightsAndSlots, bool saveToDB=true) |
| |
| int8 | _GetRankBankTabRights (uint8 rankId, uint8 tabId) const |
| |
| uint32 | _GetRankRights (uint8 rankId) const |
| |
| int32 | _GetRankBankMoneyPerDay (uint8 rankId) const |
| |
| int32 | _GetRankBankTabSlotsPerDay (uint8 rankId, uint8 tabId) const |
| |
| std::string | _GetRankName (uint8 rankId) const |
| |
| int32 | _GetMemberRemainingSlots (Member const &member, uint8 tabId) const |
| |
| int32 | _GetMemberRemainingMoney (Member const &member) const |
| |
| void | _UpdateMemberWithdrawSlots (CharacterDatabaseTransaction trans, ObjectGuid guid, uint8 tabId) |
| |
| bool | _MemberHasTabRights (ObjectGuid guid, uint8 tabId, uint32 rights) const |
| |
| void | _LogEvent (GuildEventLogTypes eventType, ObjectGuid::LowType playerGuid1, ObjectGuid::LowType playerGuid2=0, uint8 newRank=0) |
| |
| void | _LogBankEvent (CharacterDatabaseTransaction trans, GuildBankEventLogTypes eventType, uint8 tabId, ObjectGuid::LowType playerGuid, uint32 itemOrMoney, uint16 itemStackCount=0, uint8 destTabId=0) |
| |
| Item * | _GetItem (uint8 tabId, uint8 slotId) const |
| |
| void | _RemoveItem (CharacterDatabaseTransaction trans, uint8 tabId, uint8 slotId) |
| |
| void | _MoveItems (MoveItemData *pSrc, MoveItemData *pDest, uint32 splitedAmount) |
| |
| bool | _DoItemsMove (MoveItemData *pSrc, MoveItemData *pDest, bool sendError, uint32 splitedAmount=0) |
| |
| void | _SendBankContentUpdate (MoveItemData *pSrc, MoveItemData *pDest) const |
| |
| void | _SendBankContentUpdate (uint8 tabId, SlotIds slots) const |
| |
| void | _BroadcastEvent (GuildEvents guildEvent, ObjectGuid guid, Optional< std::string_view > param1={}, Optional< std::string_view > param2={}, Optional< std::string_view > param3={}) const |
| |
Definition at line 283 of file Guild.h.