|
| | Guild () |
| |
| | ~Guild () |
| |
| bool | Create (Player *pLeader, std::string const &name) |
| |
| void | Disband () |
| |
| void | SaveToDB () |
| |
| ObjectGuid::LowType | GetId () const |
| |
| ObjectGuid | GetGUID () const |
| |
| ObjectGuid | GetLeaderGUID () const |
| |
| std::string const & | GetName () const |
| |
| std::string const & | GetMOTD () const |
| |
| std::string const & | GetInfo () const |
| |
| time_t | GetCreatedDate () const |
| |
| uint64 | GetBankMoney () const |
| |
| bool | SetName (std::string const &name) |
| |
| void | HandleRoster (WorldSession *session) |
| |
| void | SendQueryResponse (WorldSession *session) |
| |
| void | HandleSetAchievementTracking (WorldSession *session, std::set< uint32 > const &achievementIds) |
| |
| void | HandleSetMOTD (WorldSession *session, std::string const &motd) |
| |
| void | HandleSetInfo (WorldSession *session, std::string const &info) |
| |
| void | HandleSetEmblem (WorldSession *session, const EmblemInfo &emblemInfo) |
| |
| void | HandleSetNewGuildMaster (WorldSession *session, std::string const &name) |
| |
| void | HandleSetBankTabInfo (WorldSession *session, uint8 tabId, std::string const &name, std::string const &icon) |
| |
| void | HandleSetMemberNote (WorldSession *session, std::string const ¬e, ObjectGuid guid, bool isPublic) |
| |
| void | HandleSetRankInfo (WorldSession *session, uint8 rankId, std::string const &name, uint32 rights, uint32 moneyPerDay, GuildBankRightsAndSlotsVec const &rightsAndSlots) |
| |
| void | HandleBuyBankTab (WorldSession *session, uint8 tabId) |
| |
| void | HandleInviteMember (WorldSession *session, std::string const &name) |
| |
| void | HandleAcceptMember (WorldSession *session) |
| |
| void | HandleLeaveMember (WorldSession *session) |
| |
| void | HandleRemoveMember (WorldSession *session, ObjectGuid guid) |
| |
| void | HandleUpdateMemberRank (WorldSession *session, ObjectGuid guid, bool demote) |
| |
| void | HandleSetMemberRank (WorldSession *session, ObjectGuid guid, ObjectGuid setterGuid, uint32 rank) |
| |
| void | HandleAddNewRank (WorldSession *session, std::string const &name) |
| |
| void | HandleRemoveRank (WorldSession *session, uint8 rankId) |
| |
| void | HandleMemberDepositMoney (WorldSession *session, uint64 amount, bool cashFlow=false) |
| |
| bool | HandleMemberWithdrawMoney (WorldSession *session, uint64 amount, bool repair=false) |
| |
| void | HandleMemberLogout (WorldSession *session) |
| |
| void | HandleDelete (WorldSession *session) |
| |
| void | HandleGuildPartyRequest (WorldSession *session) |
| |
| void | HandleNewsSetSticky (WorldSession *session, uint32 newsId, bool sticky) |
| |
| void | HandleGuildRequestChallengeUpdate (WorldSession *session) |
| |
| void | UpdateMemberData (Player *player, uint8 dataid, uint32 value) |
| |
| void | OnPlayerStatusChange (Player *player, uint32 flag, bool state) |
| |
| void | SendGuildRankInfo (WorldSession *session) const |
| |
| void | SendEventLog (WorldSession *session) const |
| |
| void | SendBankLog (WorldSession *session, uint8 tabId) const |
| |
| void | SendBankList (WorldSession *session, uint8 tabId, bool fullUpdate) const |
| |
| void | SendBankTabText (WorldSession *session, uint8 tabId) const |
| |
| void | SendPermissions (WorldSession *session) const |
| |
| void | SendMoneyInfo (WorldSession *session) const |
| |
| void | SendLoginInfo (WorldSession *session) |
| |
| void | SendNewsUpdate (WorldSession *session) |
| |
| void | SendEventBankMoneyChanged () |
| |
| void | SendEventMOTD (WorldSession *session, bool broadcast=false) |
| |
| void | SendEventNewLeader (Member *newLeader, Member *oldLeader, bool isSelfPromoted=false) |
| |
| void | SendEventPlayerLeft (Member *leaver, Member *remover=nullptr, bool isRemoved=false) |
| |
| void | SendEventPresenceChanged (WorldSession *session, bool loggedOn, bool broadcast=false) |
| |
| bool | LoadFromDB (Field *fields) |
| |
| void | LoadGuildNewsLogFromDB (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 const &msg, uint32 language=LANG_UNIVERSAL) const |
| |
| void | BroadcastAddonToGuild (WorldSession *session, bool officerOnly, std::string const &msg, std::string const &prefix) const |
| |
| void | BroadcastPacketToRank (WorldPacket const *packet, uint8 rankId) const |
| |
| void | BroadcastPacket (WorldPacket const *packet) const |
| |
| void | BroadcastPacketIfTrackingAchievement (WorldPacket const *packet, uint32 criteriaId) const |
| |
| void | MassInviteToEvent (WorldSession *session, uint32 minLevel, uint32 maxLevel, uint32 minRank) |
| |
| template<class Do > |
| void | BroadcastWorker (Do &_do, Player *except=NULL) |
| |
| bool | AddMember (ObjectGuid guid, uint8 rankId=GUILD_RANK_NONE) |
| |
| void | DeleteMember (ObjectGuid guid, bool isDisbanding=false, bool isKicked=false, bool canDeleteGuild=false) |
| |
| bool | ChangeMemberRank (ObjectGuid guid, uint8 newRank) |
| |
| bool | IsMember (ObjectGuid guid) const |
| |
| uint32 | GetMembersCount () 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 const &text) |
| |
| AchievementMgr< Guild > & | GetAchievementMgr () |
| |
| AchievementMgr< Guild > const & | GetAchievementMgr () const |
| |
| uint8 | GetLevel () const |
| |
| void | AddGuildNews (uint8 type, ObjectGuid guid, uint32 flags, uint32 value) |
| |
| EmblemInfo const & | GetEmblemInfo () const |
| |
| void | ResetTimes (bool weekly) |
| |
| bool | HasAchieved (uint32 achievementId) const |
| |
| void | UpdateAchievementCriteria (AchievementCriteriaTypes type, uint64 miscValue1, uint64 miscValue2, uint64 miscValue3, Unit *unit, Player *player) |
| |
|
| uint8 | _GetRanksSize () const |
| |
| const RankInfo * | GetRankInfo (uint8 rankId) const |
| |
| RankInfo * | GetRankInfo (uint8 rankId) |
| |
| bool | _HasRankRight (Player const *player, uint32 right) const |
| |
| uint8 | _GetLowestRankId () const |
| |
| uint8 | _GetPurchasedTabsSize () const |
| |
| BankTab * | GetBankTab (uint8 tabId) |
| |
| const BankTab * | GetBankTab (uint8 tabId) const |
| |
| const Member * | GetMember (ObjectGuid guid) const |
| |
| Member * | GetMember (ObjectGuid guid) |
| |
| Member * | GetMember (std::string const &name) |
| |
| void | _DeleteMemberFromDB (ObjectGuid::LowType lowguid) const |
| |
| void | _CreateLogHolders () |
| |
| void | _CreateNewBankTab () |
| |
| void | _CreateDefaultGuildRanks (LocaleConstant loc) |
| |
| bool | _CreateRank (std::string const &name, uint32 rights) |
| |
| void | _UpdateAccountsNumber () |
| |
| bool | _IsLeader (Player *player) const |
| |
| void | _DeleteBankItems (SQLTransaction &trans, bool removeItemsFromDB=false) |
| |
| bool | _ModifyBankMoney (SQLTransaction &trans, uint64 amount, bool add) |
| |
| void | _SetLeaderGUID (Member *pLeader) |
| |
| 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 (SQLTransaction &trans, ObjectGuid guid, uint8 tabId) |
| |
| bool | _MemberHasTabRights (ObjectGuid guid, uint8 tabId, int32 rights) const |
| |
| void | _LogEvent (GuildEventLogTypes eventType, ObjectGuid::LowType playerGuid1, ObjectGuid::LowType playerGuid2=UI64LIT(0), uint8 newRank=0) |
| |
| void | _LogBankEvent (SQLTransaction &trans, GuildBankEventLogTypes eventType, uint8 tabId, ObjectGuid::LowType playerGuid, uint64 itemOrMoney, uint16 itemStackCount=0, uint8 destTabId=0) |
| |
| Item * | _GetItem (uint8 tabId, uint8 slotId) const |
| |
| void | _RemoveItem (SQLTransaction &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 | SendGuildRanksUpdate (ObjectGuid setterGuid, ObjectGuid targetGuid, uint32 rank) |
| |