|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <Guild.h>
Classes | |
| class | BankEventLogEntry |
| class | BankMoveItemData |
| class | BankTab |
| class | EventLogEntry |
| class | LogEntry |
| class | LogHolder |
| class | Member |
| class | MoveItemData |
| class | NewsLogEntry |
| class | PlayerMoveItemData |
| class | RankInfo |
Public Member Functions | |
| void | AddGuildNews (uint8 type, uint64 guid, uint32 flags, uint32 value) |
| bool | AddMember (uint64 guid, uint8 rankId=GUILD_RANK_NONE) |
| void | BroadcastAddonToGuild (WorldSession *session, bool officerOnly, std::string const &msg, std::string const &prefix) const |
| void | BroadcastPacket (WorldPacket *packet) const |
| void | BroadcastPacketToRank (WorldPacket *packet, uint8 rankId) const |
| void | BroadcastToGuild (WorldSession *session, bool officerOnly, std::string const &msg, Language language=Language::LANG_UNIVERSAL) const |
| template<class Do> | |
| void | BroadcastWorker (Do &_do, Player *except=NULL) |
| bool | ChangeMemberRank (uint64 guid, uint8 newRank) |
| bool | Create (Player *pLeader, std::string const &name) |
| void | DeleteMember (uint64 guid, bool isDisbanding=false, bool isKicked=false, bool canDeleteGuild=false) |
| void | Disband () |
| AchievementMgr< Guild > & | GetAchievementMgr () |
| AchievementMgr< Guild > const & | GetAchievementMgr () const |
| EmblemInfo const & | GetEmblemInfo () const |
| uint64 | GetExperience () const |
| uint64 | GetGUID () const |
| uint32 | GetId () const |
| std::string const & | GetInfo () const |
| uint64 | GetLeaderGUID () const |
| uint8 | GetLevel () const |
| uint32 | GetMembersCount () |
| std::string const & | GetMOTD () const |
| std::string const & | GetName () const |
| uint64 | GetTodayExperience () const |
| void | GiveXP (uint32 xp, Player *source) |
| Guild () | |
| void | HandleAcceptMember (WorldSession *session) |
| void | HandleAddNewRank (WorldSession *session, std::string const &name) |
| void | HandleBuyBankTab (WorldSession *session, uint8 tabId) |
| void | HandleDisband (WorldSession *session) |
| void | HandleGuildPartyRequest (WorldSession *session) |
| void | HandleInviteMember (WorldSession *session, std::string const &name) |
| void | HandleLeaveMember (WorldSession *session) |
| void | HandleMemberDepositMoney (WorldSession *session, uint64 amount, bool cashFlow=false) |
| void | HandleMemberLogout (WorldSession *session) |
| bool | HandleMemberWithdrawMoney (WorldSession *session, uint64 amount, bool repair=false) |
| void | HandleNewsSetSticky (WorldSession *session, uint32 newsId, bool sticky) |
| void | HandleQuery (WorldSession *session) |
| void | HandleRemoveMember (WorldSession *session, uint64 guid) |
| void | HandleRemoveRank (WorldSession *session, uint8 rankId) |
| void | HandleReplaceGuildMaster (WorldSession *session) |
| void | HandleRoster (WorldSession *session=NULL) |
| void | HandleSetBankTabInfo (WorldSession *session, uint8 tabId, std::string const &name, std::string const &icon) |
| void | HandleSetBankTabNote (WorldSession *session, uint32 tabId, std::string const ¬e) |
| void | HandleSetEmblem (WorldSession *session, const EmblemInfo &emblemInfo) |
| void | HandleSetInfo (WorldSession *session, std::string const &info) |
| void | HandleSetMemberNote (WorldSession *session, std::string const ¬e, uint64 guid, bool isPublic) |
| void | HandleSetMemberRank (WorldSession *session, uint64 guid, uint64 setterGuid, uint32 rank) |
| void | HandleSetMOTD (WorldSession *session, std::string const &motd) |
| void | HandleSetNewGuildMaster (WorldSession *session, std::string const &name) |
| void | HandleSetRankInfo (WorldSession *session, uint8 rankId, std::string const &name, uint32 rights, uint32 moneyPerDay, GuildBankRightsAndSlotsVec const &rightsAndSlots) |
| void | HandleUpdateMemberRank (WorldSession *session, uint64 guid, bool demote) |
| bool | HasAchieved (uint32 achievementId) const |
| bool | IsMember (uint64 guid) const |
| bool | LoadBankEventLogFromDB (Field *fields) |
| bool | LoadBankItemFromDB (Field *fields) |
| void | LoadBankRightFromDB (Field *fields) |
| void | LoadBankTabFromDB (Field *fields) |
| bool | LoadEventLogFromDB (Field *fields) |
| bool | LoadFromDB (Field *fields) |
| void | LoadGuildNewsLogFromDB (Field *fields) |
| bool | LoadMemberFromDB (Field *fields) |
| void | LoadRankFromDB (Field *fields) |
| void | MassInviteToEvent (WorldSession *session, uint32 minLevel, uint32 maxLevel, uint32 minRank) |
| void | OnPlayerStatusChange (Player *player, uint32 flag, bool state) |
| void | ResetTimes (bool weekly) |
| void | SaveToDB () |
| void | SendBankList (WorldSession *session, uint8 tabId, bool withContent, bool withTabInfo) const |
| void | SendBankLog (WorldSession *session, uint8 tabId) const |
| void | SendBankTabText (WorldSession *session, uint8 tabId) const |
| void | SendEventLog (WorldSession *session) const |
| void | SendGuildRankInfo (WorldSession *session) const |
| void | SendGuildXP (WorldSession *session=NULL) const |
| void | SendLoginInfo (WorldSession *session) |
| void | SendMoneyInfo (WorldSession *session) const |
| void | SendNewsUpdate (WorldSession *session) |
| void | SendPermissions (WorldSession *session) const |
| void | SetBankTabText (uint8 tabId, std::string const &text) |
| bool | SetName (std::string const &name) |
| 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 | UpdateAchievementCriteria (AchievementCriteriaTypes type, uint64 miscValue1, uint64 miscValue2, uint64 miscValue3, Unit *unit, Player *player) |
| void | UpdateMemberData (Player *player, uint8 dataid, uint32 value) |
| bool | Validate () |
| ~Guild () | |
Static Public Member Functions | |
| static void | SendCommandResult (WorldSession *session, GuildCommandType type, GuildCommandError errCode, std::string const ¶m="") |
| static void | SendSaveEmblemResult (WorldSession *session, GuildEmblemError errCode) |
Protected Attributes | |
| uint64 | _experience |
| uint8 | _level |
| uint64 | _todayExperience |
| uint32 | m_accountsNumber |
| AchievementMgr< Guild > | m_achievementMgr |
| LogHolder * | m_bankEventLog [GUILD_BANK_MAX_TABS+1] |
| uint64 | m_bankMoney |
| BankTabs | m_bankTabs |
| time_t | m_createdDate |
| EmblemInfo | m_emblemInfo |
| LogHolder * | m_eventLog |
| uint32 | m_id |
| std::string | m_info |
| uint64 | m_leaderGuid |
| Members | m_members |
| std::string | m_motd |
| std::string | m_name |
| LogHolder * | m_newsLog |
| Ranks | m_ranks |
Private Types | |
| typedef std::vector< BankTab * > | BankTabs |
| typedef std::list< LogEntry * > | GuildLog |
| typedef UNORDERED_MAP< uint32, Member * > | Members |
| typedef std::vector< RankInfo > | Ranks |
Private Member Functions | |
| void | _BroadcastEvent (GuildEvents guildEvent, uint64 guid, const char *param1=NULL, const char *param2=NULL, const char *param3=NULL) const |
| void | _CreateDefaultGuildRanks (LocaleConstant loc) |
| void | _CreateLogHolders () |
| void | _CreateNewBankTab () |
| bool | _CreateRank (std::string const &name, uint32 rights) |
| void | _DeleteBankItems (SQLTransaction &trans, bool removeItemsFromDB=false) |
| void | _DeleteMemberFromDB (uint32 lowguid) const |
| bool | _DoItemsMove (MoveItemData *pSrc, MoveItemData *pDest, bool sendError, uint32 splitedAmount=0) |
| Item * | _GetItem (uint8 tabId, uint8 slotId) const |
| uint8 | _GetLowestRankId () const |
| int32 | _GetMemberRemainingMoney (Member const *member) const |
| int32 | _GetMemberRemainingSlots (Member const *member, uint8 tabId) const |
| uint8 | _GetPurchasedTabsSize () const |
| int32 | _GetRankBankMoneyPerDay (uint8 rankId) const |
| int8 | _GetRankBankTabRights (uint8 rankId, uint8 tabId) const |
| int32 | _GetRankBankTabSlotsPerDay (uint8 rankId, uint8 tabId) const |
| std::string | _GetRankName (uint8 rankId) const |
| uint32 | _GetRankRights (uint8 rankId) const |
| uint8 | _GetRanksSize () const |
| bool | _HasRankRight (Player const *player, uint32 right) const |
| bool | _IsLeader (Player *player) const |
| void | _LogBankEvent (SQLTransaction &trans, GuildBankEventLogTypes eventType, uint8 tabId, uint32 playerGuid, uint32 itemOrMoney, uint16 itemStackCount=0, uint8 destTabId=0) |
| void | _LogEvent (GuildEventLogTypes eventType, uint32 playerGuid1, uint32 playerGuid2=0, uint8 newRank=0) |
| bool | _MemberHasTabRights (uint64 guid, uint8 tabId, uint32 rights) const |
| bool | _ModifyBankMoney (SQLTransaction &trans, uint64 amount, bool add) |
| void | _MoveItems (MoveItemData *pSrc, MoveItemData *pDest, uint32 splitedAmount) |
| void | _RemoveItem (SQLTransaction &trans, uint8 tabId, uint8 slotId) |
| void | _SendBankContentUpdate (MoveItemData *pSrc, MoveItemData *pDest) const |
| void | _SendBankContentUpdate (uint8 tabId, SlotIds slots) const |
| void | _SendRemovePlayerFromGuild (ObjectGuid removedGuid, std::string const &removedName, Player const *remover) const |
| void | _SendSetNewGuildMaster (Member const *guildMaster, Member const *newGuildMaster, bool replace) const |
| void | _SetLeaderGUID (Member *pLeader) |
| void | _SetRankBankMoneyPerDay (uint8 rankId, uint32 moneyPerDay) |
| void | _SetRankBankTabRightsAndSlots (uint8 rankId, GuildBankRightsAndSlots rightsAndSlots, bool saveToDB=true) |
| void | _UpdateAccountsNumber () |
| void | _UpdateMemberWithdrawSlots (SQLTransaction &trans, uint64 guid, uint8 tabId) |
| BankTab * | GetBankTab (uint8 tabId) |
| const BankTab * | GetBankTab (uint8 tabId) const |
| Member * | GetMember (std::string const &name) |
| Member * | GetMember (uint64 guid) |
| const Member * | GetMember (uint64 guid) const |
| RankInfo * | GetRankInfo (uint8 rankId) |
| const RankInfo * | GetRankInfo (uint8 rankId) const |
| void | SendGuildRanksUpdate (uint64 setterGuid, uint64 targetGuid, uint32 rank) |
| void | SendGuildReputationWeeklyCap (WorldSession *session, uint32 reputation) const |
|
private |
|
private |
|
private |
|
private |
| Guild::Guild | ( | ) |
Definition at line 1137 of file Guild.cpp.
References _experience, _level, _todayExperience, GUILD_BANK_MAX_TABS, m_accountsNumber, m_achievementMgr, m_bankEventLog, m_bankMoney, m_createdDate, m_eventLog, m_id, m_leaderGuid, and m_newsLog.
Referenced by Guild::BankMoveItemData::BankMoveItemData(), Guild::MoveItemData::MoveItemData(), Guild::PlayerMoveItemData::PlayerMoveItemData(), and Guild::BankTab::SendText().
| Guild::~Guild | ( | ) |
Definition at line 1153 of file Guild.cpp.
References _DeleteBankItems(), GUILD_BANK_MAX_TABS, m_bankEventLog, m_eventLog, m_members, and m_newsLog.
|
private |
Definition at line 3520 of file Guild.cpp.
References _GetGuildEventString(), BroadcastPacket(), LOG_LEVEL_DEBUG, SF_LOG_DEBUG, sLog, and SMSG_GUILD_EVENT.
Referenced by AddMember(), Create(), DeleteMember(), Disband(), HandleAddNewRank(), HandleMemberLogout(), HandleRemoveRank(), HandleSetMOTD(), HandleSetNewGuildMaster(), HandleSetRankInfo(), HandleUpdateMemberRank(), and SendLoginInfo().
|
private |
Definition at line 3061 of file Guild.cpp.
References _CreateRank(), CHAR_DEL_GUILD_BANK_RIGHTS, CHAR_DEL_GUILD_RANKS, CharacterDatabase, GR_RIGHT_ALL, GR_RIGHT_GCHATLISTEN, GR_RIGHT_GCHATSPEAK, LANG_GUILD_INITIATE, LANG_GUILD_MASTER, LANG_GUILD_MEMBER, LANG_GUILD_OFFICER, LANG_GUILD_VETERAN, m_id, PreparedStatement::setUInt32(), and sObjectMgr.
Referenced by Create(), and Validate().
|
private |
Definition at line 3029 of file Guild.cpp.
References CONFIG_GUILD_BANK_EVENT_LOG_COUNT, CONFIG_GUILD_EVENT_LOG_COUNT, CONFIG_GUILD_NEWS_LOG_COUNT, GUILD_BANK_MAX_TABS, m_bankEventLog, m_eventLog, m_newsLog, and sWorld.
Referenced by Create(), and LoadFromDB().
|
private |
Definition at line 3037 of file Guild.cpp.
References _GetPurchasedTabsSize(), CHAR_DEL_GUILD_BANK_TAB, CHAR_INS_GUILD_BANK_TAB, CharacterDatabase, m_bankTabs, m_id, m_ranks, PreparedStatement::setUInt32(), and PreparedStatement::setUInt8().
Referenced by HandleBuyBankTab().
|
private |
Definition at line 3078 of file Guild.cpp.
References _GetPurchasedTabsSize(), _GetRanksSize(), CharacterDatabase, Guild::RankInfo::CreateMissingTabsIfNeeded(), GUILD_RANKS_MAX_COUNT, m_id, m_ranks, and Guild::RankInfo::SaveToDB().
Referenced by _CreateDefaultGuildRanks(), and HandleAddNewRank().
|
private |
Definition at line 3120 of file Guild.cpp.
References _GetPurchasedTabsSize(), and m_bankTabs.
|
inlineprivate |
Definition at line 935 of file Guild.h.
References CHAR_DEL_GUILD_MEMBER, CharacterDatabase, and PreparedStatement::setUInt32().
Referenced by DeleteMember(), and LoadMemberFromDB().
|
private |
Definition at line 3379 of file Guild.cpp.
References Guild::MoveItemData::CanStore(), CharacterDatabase, Item::GetCount(), Guild::MoveItemData::GetItem(), Guild::MoveItemData::LogAction(), Guild::MoveItemData::LogBankEvent(), Guild::MoveItemData::RemoveItem(), and Guild::MoveItemData::StoreItem().
Referenced by _MoveItems().
Definition at line 3305 of file Guild.cpp.
References GetBankTab().
|
inlineprivate |
Definition at line 908 of file Guild.h.
References m_ranks.
Referenced by AddMember(), ChangeMemberRank(), HandleReplaceGuildMaster(), HandleUpdateMemberRank(), and Validate().
Definition at line 3232 of file Guild.cpp.
References _GetRankBankMoneyPerDay(), _GetRankRights(), Guild::Member::GetBankWithdrawValue(), Guild::Member::GetRankId(), GR_GUILDMASTER, GR_RIGHT_WITHDRAW_GOLD, GR_RIGHT_WITHDRAW_REPAIR, GUILD_BANK_MAX_TABS, and GUILD_WITHDRAW_MONEY_UNLIMITED.
Referenced by HandleMemberWithdrawMoney(), and SendMoneyInfo().
Definition at line 3215 of file Guild.cpp.
References _GetRankBankTabRights(), _GetRankBankTabSlotsPerDay(), Guild::Member::GetBankWithdrawValue(), Guild::Member::GetRankId(), GR_GUILDMASTER, GUILD_BANK_RIGHT_VIEW_TAB, and GUILD_WITHDRAW_SLOT_UNLIMITED.
Referenced by _SendBankContentUpdate(), SendBankList(), and SendPermissions().
|
inlineprivate |
Definition at line 910 of file Guild.h.
References m_bankTabs.
Referenced by _CreateNewBankTab(), _CreateRank(), _DeleteBankItems(), _GetRankBankTabSlotsPerDay(), _SetRankBankTabRightsAndSlots(), HandleBuyBankTab(), LoadBankEventLogFromDB(), LoadBankItemFromDB(), LoadBankTabFromDB(), SendBankList(), SendBankLog(), SendPermissions(), SwapItems(), SwapItemsWithInventory(), and Validate().
Definition at line 3193 of file Guild.cpp.
References GetRankInfo().
Referenced by _GetMemberRemainingMoney(), and SendPermissions().
Definition at line 3208 of file Guild.cpp.
References GetRankInfo().
Referenced by _GetMemberRemainingSlots(), _MemberHasTabRights(), and SendPermissions().
Definition at line 3200 of file Guild.cpp.
References _GetPurchasedTabsSize(), and GetRankInfo().
Referenced by _GetMemberRemainingSlots(), and _UpdateMemberWithdrawSlots().
|
inlineprivate |
Definition at line 3179 of file Guild.cpp.
References GetRankInfo().
Referenced by HandleUpdateMemberRank().
Definition at line 3186 of file Guild.cpp.
References GetRankInfo().
Referenced by _GetMemberRemainingMoney(), _HasRankRight(), and SendPermissions().
|
inlineprivate |
Definition at line 897 of file Guild.h.
References m_ranks.
Referenced by _CreateRank(), GetRankInfo(), GetRankInfo(), HandleAddNewRank(), HandleQuery(), HandleRemoveRank(), SendGuildRankInfo(), and Validate().
Definition at line 900 of file Guild.h.
References _GetRankRights(), Object::GetGUID(), GetMember(), and GR_RIGHT_EMPTY.
Referenced by BroadcastAddonToGuild(), BroadcastToGuild(), HandleInviteMember(), HandleRemoveMember(), HandleSetBankTabInfo(), HandleSetBankTabNote(), HandleSetInfo(), HandleSetMemberNote(), HandleSetMemberRank(), HandleSetMOTD(), and HandleUpdateMemberRank().
|
private |
Definition at line 3111 of file Guild.cpp.
References Object::GetGUID(), GetMember(), GR_GUILDMASTER, and m_leaderGuid.
Referenced by HandleAddNewRank(), HandleDisband(), HandleLeaveMember(), HandleRemoveRank(), HandleSetEmblem(), HandleSetNewGuildMaster(), and HandleSetRankInfo().
|
private |
Definition at line 3284 of file Guild.cpp.
References Guild::LogHolder::AddEvent(), Guild::LogHolder::GetNextGUID(), GUILD_BANK_LOG_MOVE_ITEM, GUILD_BANK_MAX_TABS, GUILD_BANK_MONEY_LOGS_TAB, Guild::BankEventLogEntry::IsMoneyEvent(), m_bankEventLog, m_id, and sScriptMgr.
Referenced by HandleMemberDepositMoney(), and HandleMemberWithdrawMoney().
|
inlineprivate |
Definition at line 3274 of file Guild.cpp.
References CharacterDatabase, m_eventLog, m_id, and sScriptMgr.
Referenced by AddMember(), HandleInviteMember(), HandleLeaveMember(), HandleRemoveMember(), and HandleUpdateMemberRank().
Definition at line 3261 of file Guild.cpp.
References _GetRankBankTabRights(), GetMember(), GR_GUILDMASTER, and m_leaderGuid.
Referenced by _SendBankContentUpdate(), and SendBankList().
|
private |
Definition at line 3131 of file Guild.cpp.
References CHAR_UPD_GUILD_BANK_MONEY, CharacterDatabase, m_bankMoney, m_id, PreparedStatement::setUInt32(), and PreparedStatement::setUInt64().
Referenced by HandleMemberDepositMoney(), and HandleMemberWithdrawMoney().
|
private |
Definition at line 3318 of file Guild.cpp.
References _DoItemsMove(), _SendBankContentUpdate(), Guild::MoveItemData::CheckItem(), Guild::MoveItemData::CloneItem(), Guild::MoveItemData::HasStoreRights(), Guild::MoveItemData::HasWithdrawRights(), and Guild::MoveItemData::InitItem().
Referenced by SwapItems(), and SwapItemsWithInventory().
|
inlineprivate |
Definition at line 3312 of file Guild.cpp.
References GetBankTab().
|
private |
Definition at line 3423 of file Guild.cpp.
References _SendBankContentUpdate(), ASSERT, Guild::MoveItemData::CopySlots(), Guild::MoveItemData::GetContainer(), Guild::MoveItemData::GetSlotId(), and Guild::MoveItemData::IsBank().
Referenced by _MoveItems(), and _SendBankContentUpdate().
Definition at line 3455 of file Guild.cpp.
References _GetMemberRemainingSlots(), _MemberHasTabRights(), ByteBuffer::append(), ByteBuffer::empty(), ByteBuffer::FlushBits(), GetBankTab(), Item::GetCount(), Item::GetEnchantmentId(), Object::GetEntry(), Item::GetItemRandomPropertyId(), Item::GetItemSuffixFactor(), Item::GetSpellCharges(), GUILD_BANK_RIGHT_VIEW_TAB, m_bankMoney, m_members, MAX_ENCHANTMENT_SLOT, ByteBuffer::put(), SF_LOG_DEBUG, SMSG_GUILD_BANK_LIST, ByteBuffer::wpos(), ByteBuffer::WriteBit(), and ByteBuffer::WriteBits().
|
private |
Definition at line 1665 of file Guild.cpp.
References BroadcastPacket(), ByteBuffer::FlushBits(), Object::GetGUID(), WorldObject::GetName(), SMSG_GUILD_EVENT_PLAYER_LEFT, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteGuidBytes(), ByteBuffer::WriteGuidMask(), and ByteBuffer::WriteString().
Referenced by HandleLeaveMember(), and HandleRemoveMember().
|
private |
Definition at line 1629 of file Guild.cpp.
References BroadcastPacket(), ByteBuffer::FlushBits(), Guild::Member::GetGUID(), Guild::Member::GetName(), realmID, SMSG_GUILD_SET_GUILD_MASTER, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteByteSeq(), ByteBuffer::WriteGuidBytes(), ByteBuffer::WriteGuidMask(), and ByteBuffer::WriteString().
Referenced by HandleReplaceGuildMaster().
|
private |
Definition at line 3150 of file Guild.cpp.
References Guild::Member::ChangeRank(), CHAR_UPD_GUILD_LEADER, CharacterDatabase, Guild::Member::GetGUID(), GR_GUILDMASTER, GUID_LOPART(), m_id, m_leaderGuid, and PreparedStatement::setUInt32().
Referenced by DeleteMember(), HandleReplaceGuildMaster(), HandleSetNewGuildMaster(), and Validate().
Definition at line 3164 of file Guild.cpp.
References GetRankInfo().
Referenced by HandleSetRankInfo().
|
private |
Definition at line 3170 of file Guild.cpp.
References _GetPurchasedTabsSize(), GetRankInfo(), and GuildBankRightsAndSlots::GetTabId().
Referenced by HandleSetRankInfo(), and LoadBankRightFromDB().
|
private |
Definition at line 3098 of file Guild.cpp.
References m_accountsNumber, and m_members.
Referenced by AddMember(), DeleteMember(), and Validate().
|
inlineprivate |
Definition at line 3250 of file Guild.cpp.
References _GetRankBankTabSlotsPerDay(), GetMember(), and GR_GUILDMASTER.
Definition at line 3781 of file Guild.cpp.
References BroadcastPacket(), CharacterDatabase, GUID_LOPART(), m_id, m_newsLog, SMSG_GUILD_NEWS_UPDATE, ByteBuffer::WriteBits(), and Guild::NewsLogEntry::WritePacket().
Referenced by GiveXP().
| bool Guild::AddMember | ( | uint64 | guid, |
| uint8 | rankId = GUILD_RANK_NONE ) |
Definition at line 2828 of file Guild.cpp.
References _BroadcastEvent(), _GetLowestRankId(), _LogEvent(), _UpdateAccountsNumber(), CHAR_SEL_CHAR_DATA_FOR_GUILD, CharacterDatabase, Guild::Member::CheckStats(), ObjectAccessor::FindPlayer(), GE_JOINED, Player::GetGuildId(), Player::GetGuildIdFromDB(), GetLevel(), WorldObject::GetName(), Player::GetSession(), Field::GetString(), GUID_LOPART(), GUILD_EVENT_LOG_JOIN_GUILD, GUILD_RANK_NONE, m_id, m_members, Player::RemovePetitionsAndSigns(), Guild::Member::ResetFlags(), Guild::Member::SaveToDB(), SendLoginInfo(), Player::SetGuildIdInvited(), Player::SetGuildLevel(), Player::SetInGuild(), Player::SetRank(), Guild::Member::SetStats(), PreparedStatement::setUInt32(), sGuildFinderMgr, and sScriptMgr.
Referenced by LuaGuild::AddMember(), Create(), HandleAcceptMember(), guild_commandscript::HandleGuildInviteCommand(), and WorldSession::HandleTurnInPetitionOpcode().
| void Guild::BroadcastAddonToGuild | ( | WorldSession * | session, |
| bool | officerOnly, | ||
| std::string const & | msg, | ||
| std::string const & | prefix ) const |
Definition at line 2743 of file Guild.cpp.
References _HasRankRight(), ChatHandler::BuildChatPacket(), CHAT_MSG_GUILD, CHAT_MSG_OFFICER, DEFAULT_LOCALE, Object::GetGUIDLow(), WorldSession::GetPlayer(), GR_RIGHT_GCHATLISTEN, GR_RIGHT_GCHATSPEAK, GR_RIGHT_OFFCHATLISTEN, GR_RIGHT_OFFCHATSPEAK, LANG_ADDON, and m_members.
| void Guild::BroadcastPacket | ( | WorldPacket * | packet | ) | const |
Definition at line 2766 of file Guild.cpp.
References m_members.
Referenced by _BroadcastEvent(), _SendRemovePlayerFromGuild(), _SendSetNewGuildMaster(), AddGuildNews(), HandleBuyBankTab(), HandleMemberDepositMoney(), HandleMemberWithdrawMoney(), HandleRoster(), HandleSetBankTabInfo(), HandleSetBankTabNote(), HandleSetMemberNote(), CalendarMgr::SendCalendarEventInviteAlert(), SendGuildRanksUpdate(), LuaGuild::SendPacket(), LuaPlayer::SendPacketToGuild(), Guild::BankTab::SendText(), and SetName().
| void Guild::BroadcastPacketToRank | ( | WorldPacket * | packet, |
| uint8 | rankId ) const |
Definition at line 2758 of file Guild.cpp.
References m_members.
Referenced by GuildFinderMgr::SendApplicantListUpdate(), LuaGuild::SendPacketToRanked(), and LuaPlayer::SendPacketToRankedInGuild().
| void Guild::BroadcastToGuild | ( | WorldSession * | session, |
| bool | officerOnly, | ||
| std::string const & | msg, | ||
| Language | language = Language::LANG_UNIVERSAL ) const |
Definition at line 2729 of file Guild.cpp.
References _HasRankRight(), ChatHandler::BuildChatPacket(), CHAT_MSG_GUILD, CHAT_MSG_OFFICER, Object::GetGUIDLow(), WorldSession::GetPlayer(), GR_RIGHT_GCHATLISTEN, GR_RIGHT_GCHATSPEAK, GR_RIGHT_OFFCHATLISTEN, GR_RIGHT_OFFCHATSPEAK, and m_members.
|
inline |
Definition at line 2973 of file Guild.cpp.
References _GetLowestRankId(), and GetMember().
Referenced by LuaGuild::ChangeMemberRank(), and guild_commandscript::HandleGuildRankCommand().
| bool Guild::Create | ( | Player * | pLeader, |
| std::string const & | name ) |
Definition at line 1178 of file Guild.cpp.
References _BroadcastEvent(), _CreateDefaultGuildRanks(), _CreateLogHolders(), _experience, _level, _todayExperience, AddMember(), CHAR_DEL_GUILD_MEMBERS, CHAR_INS_GUILD, CharacterDatabase, GE_FOUNDER, Object::GetGUID(), WorldObject::GetName(), Player::GetSession(), WorldSession::GetSessionDbLocaleIndex(), GR_GUILDMASTER, GUID_LOPART(), m_bankMoney, m_createdDate, m_emblemInfo, m_id, m_info, m_leaderGuid, m_motd, m_name, PreparedStatement::setString(), PreparedStatement::setUInt32(), PreparedStatement::setUInt64(), SF_LOG_DEBUG, sGuildMgr, and sScriptMgr.
Referenced by guild_commandscript::HandleGuildCreateCommand(), and WorldSession::HandleTurnInPetitionOpcode().
| void Guild::DeleteMember | ( | uint64 | guid, |
| bool | isDisbanding = false, | ||
| bool | isKicked = false, | ||
| bool | canDeleteGuild = false ) |
Definition at line 2908 of file Guild.cpp.
References _BroadcastEvent(), _DeleteMemberFromDB(), _SetLeaderGUID(), _UpdateAccountsNumber(), Disband(), Guild::Member::FindPlayer(), ObjectAccessor::FindPlayer(), GE_LEADER_CHANGED, GE_LEFT, GetLevel(), GetMember(), Guild::Member::GetName(), Guild::Member::GetRankId(), GR_GUILDMASTER, GUID_LOPART(), m_leaderGuid, m_members, Player::removeSpell(), Player::SetGuildLevel(), Player::SetInGuild(), Player::SetRank(), sGuildPerkSpellsStore, and sScriptMgr.
Referenced by LuaGuild::DeleteMember(), Disband(), guild_commandscript::HandleGuildUninviteCommand(), HandleLeaveMember(), HandleRemoveMember(), and Validate().
| void Guild::Disband | ( | ) |
Definition at line 1239 of file Guild.cpp.
References _BroadcastEvent(), _DeleteBankItems(), CHAR_DEL_GUILD, CHAR_DEL_GUILD_BANK_EVENTLOGS, CHAR_DEL_GUILD_BANK_ITEMS, CHAR_DEL_GUILD_BANK_RIGHTS, CHAR_DEL_GUILD_BANK_TABS, CHAR_DEL_GUILD_EVENTLOGS, CHAR_DEL_GUILD_RANKS, CharacterDatabase, DeleteMember(), GE_DISBANDED, m_id, m_members, PreparedStatement::setUInt32(), sGuildFinderMgr, sGuildMgr, and sScriptMgr.
Referenced by DeleteMember(), LuaGuild::Disband(), HandleDisband(), guild_commandscript::HandleGuildDeleteCommand(), HandleLeaveMember(), and Validate().
|
inline |
Definition at line 853 of file Guild.h.
References m_achievementMgr.
Referenced by WorldSession::HandleGuildFinderBrowse().
|
inline |
Definition at line 854 of file Guild.h.
References m_achievementMgr.
Definition at line 911 of file Guild.h.
References m_bankTabs.
Referenced by _GetItem(), _RemoveItem(), _SendBankContentUpdate(), HandleSetBankTabInfo(), HandleSetBankTabNote(), SendBankList(), SendBankTabText(), and SetBankTabText().
Definition at line 912 of file Guild.h.
References m_bankTabs.
|
inline |
Definition at line 864 of file Guild.h.
References m_emblemInfo.
Referenced by WorldSession::HandleGuildFinderBrowse().
|
inline |
Definition at line 859 of file Guild.h.
References _experience.
Referenced by GiveXP(), SaveToDB(), SendGuildXP(), and Player::SendInspectResult().
|
inline |
Definition at line 758 of file Guild.h.
References HIGHGUID_GUILD, m_id, and MAKE_NEW_GUID().
Referenced by WorldSession::HandleCalendarGetCalendar(), WorldSession::HandleGuildFinderBrowse(), WorldSession::HandleGuildFinderGetApplications(), HandleInviteMember(), WorldSession::HandleMirrorImageDataRequest(), HandleQuery(), WorldSession::HandleWhoOpcode(), Guild::NewsLogEntry::SaveToDB(), CalendarMgr::SendCalendarEvent(), CalendarMgr::SendCalendarEventInviteAlert(), Player::SendInspectResult(), SetName(), and Guild::NewsLogEntry::WritePacket().
|
inline |
Definition at line 757 of file Guild.h.
References m_id.
Referenced by GuildMgr::AddGuild(), LuaGuild::GetId(), LuaGuild::GetMembers(), HandleGuildPartyRequest(), HandleLeaveMember(), HandleQuery(), SaveToDB(), and SetName().
|
inline |
|
inline |
Definition at line 759 of file Guild.h.
References m_leaderGuid.
Referenced by LuaGuild::GetLeader(), LuaGuild::GetLeaderGUID(), HandleAcceptMember(), and GuildFinderMgr::SendApplicantListUpdate().
|
inline |
Definition at line 857 of file Guild.h.
References _level.
Referenced by AddMember(), DeleteMember(), GiveXP(), WorldSession::HandleGuildFinderBrowse(), HandleInviteMember(), HandleLeaveMember(), SaveToDB(), SendBankLog(), SendGuildXP(), Player::SendInspectResult(), and SendLoginInfo().
|
inlineprivate |
Definition at line 920 of file Guild.h.
References GUID_LOPART(), and m_members.
Definition at line 914 of file Guild.h.
References GUID_LOPART(), and m_members.
Referenced by _HasRankRight(), _IsLeader(), _MemberHasTabRights(), _UpdateMemberWithdrawSlots(), ChangeMemberRank(), DeleteMember(), HandleBuyBankTab(), HandleMemberLogout(), HandleMemberWithdrawMoney(), HandleRemoveMember(), HandleReplaceGuildMaster(), HandleSetMemberNote(), HandleSetMemberRank(), HandleSetNewGuildMaster(), HandleUpdateMemberRank(), OnPlayerStatusChange(), SendBankList(), SendGuildRanksUpdate(), SendGuildXP(), SendLoginInfo(), SendMoneyInfo(), SendPermissions(), UpdateMemberData(), and Validate().
|
inline |
Definition at line 844 of file Guild.h.
References m_members.
Referenced by WorldSession::HandleGuildFinderBrowse(), and Player::SendInspectResult().
|
inline |
|
inline |
Definition at line 760 of file Guild.h.
References m_name.
Referenced by LuaGuild::GetName(), WorldSession::HandleGuildFinderBrowse(), WorldSession::HandleGuildFinderGetApplications(), HandleQuery(), ChatLogScript::OnChat(), and SendBankList().
Definition at line 899 of file Guild.h.
References _GetRanksSize(), and m_ranks.
Definition at line 898 of file Guild.h.
References _GetRanksSize(), and m_ranks.
Referenced by _GetRankBankMoneyPerDay(), _GetRankBankTabRights(), _GetRankBankTabSlotsPerDay(), _GetRankName(), _GetRankRights(), _SetRankBankMoneyPerDay(), _SetRankBankTabRightsAndSlots(), HandleSetRankInfo(), SendGuildRankInfo(), and Validate().
|
inline |
Definition at line 3688 of file Guild.cpp.
References _experience, _level, _todayExperience, ACHIEVEMENT_CRITERIA_TYPE_REACH_GUILD_LEVEL, AddGuildNews(), CONFIG_GUILD_DAILY_XP_CAP, CONFIG_GUILD_LEVELING_ENABLED, CONFIG_GUILD_MAX_LEVEL, GetExperience(), GetLevel(), Player::GetSession(), GUILD_EXPERIENCE_UNCAPPED_LEVEL, GUILD_NEWS_LEVEL_UP, m_members, WorldSession::SendPacket(), sGuildMgr, sGuildPerkSpellsStore, SMSG_GUILD_XP_GAIN, sWorld, and UpdateAchievementCriteria().
| void Guild::HandleAcceptMember | ( | WorldSession * | session | ) |
Definition at line 2009 of file Guild.cpp.
References AddMember(), CONFIG_ALLOW_TWO_SIDE_INTERACTION_GUILD, Object::GetGUID(), GetLeaderGUID(), WorldSession::GetPlayer(), Player::GetTeam(), sObjectMgr, and sWorld.
| void Guild::HandleAddNewRank | ( | WorldSession * | session, |
| std::string const & | name ) |
Definition at line 2170 of file Guild.cpp.
References _BroadcastEvent(), _CreateRank(), _GetRanksSize(), _IsLeader(), GE_RANK_CREATED, WorldSession::GetPlayer(), GR_RIGHT_GCHATLISTEN, GR_RIGHT_GCHATSPEAK, and GUILD_RANKS_MAX_COUNT.
| void Guild::HandleBuyBankTab | ( | WorldSession * | session, |
| uint8 | tabId ) |
Hack to force client to update permissions
Definition at line 1855 of file Guild.cpp.
References _CreateNewBankTab(), _GetGuildBankTabPrice(), _GetPurchasedTabsSize(), BroadcastPacket(), Object::GetGUID(), GetMember(), WorldSession::GetPlayer(), GOLD, GUILD_BANK_MAX_TABS, Player::HasEnoughMoney(), Player::ModifyMoney(), SendPermissions(), and SMSG_GUILD_EVENT_BANK_TAB_ADDED.
| void Guild::HandleDisband | ( | WorldSession * | session | ) |
Definition at line 2294 of file Guild.cpp.
References _IsLeader(), Disband(), WorldSession::GetPlayer(), and SF_LOG_DEBUG.
| void Guild::HandleGuildPartyRequest | ( | WorldSession * | session | ) |
Definition at line 2305 of file Guild.cpp.
References Player::GetGroup(), Object::GetGUID(), GetId(), WorldObject::GetMap(), Map::GetOwnerGuildId(), WorldSession::GetPlayer(), WorldSession::GetPlayerInfo(), Player::GetTeam(), IsMember(), WorldSession::SendPacket(), SF_LOG_DEBUG, SMSG_GUILD_PARTY_STATE_RESPONSE, and ByteBuffer::WriteBit().
| void Guild::HandleInviteMember | ( | WorldSession * | session, |
| std::string const & | name ) |
Definition at line 1893 of file Guild.cpp.
References _HasRankRight(), _LogEvent(), CONFIG_ALLOW_TWO_SIDE_INTERACTION_GUILD, ERR_ALREADY_IN_GUILD_S, ERR_ALREADY_INVITED_TO_GUILD_S, ERR_GUILD_COMMAND_SUCCESS, ERR_GUILD_NOT_ALLIED, ERR_GUILD_PERMISSIONS, ERR_GUILD_PLAYER_NOT_FOUND_S, ByteBuffer::FlushBits(), GetGUID(), Object::GetGUID(), Object::GetGUIDLow(), Player::GetGuildId(), Player::GetGuildIdInvited(), Player::GetGuildName(), GetLevel(), WorldObject::GetName(), WorldSession::GetPlayer(), Player::GetSession(), Player::GetSocial(), Player::GetTeam(), GR_RIGHT_INVITE, GUILD_COMMAND_INVITE, GUILD_EVENT_LOG_INVITE_PLAYER, Object::HasFlag(), PlayerSocial::HasIgnore(), HIGHGUID_GUILD, m_emblemInfo, m_id, m_name, MAKE_NEW_GUID(), PLAYER_FIELD_PLAYER_FLAGS, PLAYER_FLAGS_AUTO_DECLINE_GUILD, realmID, SendCommandResult(), Player::SendDeclineGuildInvitation(), WorldSession::SendPacket(), Player::SetGuildIdInvited(), Player::SetLastGuildInviterGUID(), SF_LOG_DEBUG, SMSG_GUILD_INVITE, sObjectAccessor, sWorld, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteByteSeq(), and ByteBuffer::WriteString().
| void Guild::HandleLeaveMember | ( | WorldSession * | session | ) |
Definition at line 2019 of file Guild.cpp.
References _IsLeader(), _LogEvent(), _SendRemovePlayerFromGuild(), CONFIG_GUILD_UNDELETABLE_LEVEL, DeleteMember(), Disband(), ERR_GUILD_LEADER_LEAVE, ERR_GUILD_UNDELETABLE_DUE_TO_LEVEL, Object::GetGUID(), Object::GetGUIDLow(), GetId(), GetLevel(), WorldObject::GetName(), WorldSession::GetPlayer(), GUILD_COMMAND_QUIT, GUILD_EVENT_LOG_LEAVE_GUILD, m_members, sCalendarMgr, SendCommandResult(), and sWorld.
| void Guild::HandleMemberDepositMoney | ( | WorldSession * | session, |
| uint64 | amount, | ||
| bool | cashFlow = false ) |
Definition at line 2204 of file Guild.cpp.
References _LogBankEvent(), _ModifyBankMoney(), BroadcastPacket(), CharacterDatabase, WorldSession::GetAccountId(), Object::GetGUIDLow(), WorldObject::GetName(), WorldSession::GetPlayer(), Player::GetSession(), GUILD_BANK_LOG_CASH_FLOW_DEPOSIT, GUILD_BANK_LOG_DEPOSIT_MONEY, WorldSession::HasPermission(), m_bankMoney, m_id, Player::ModifyMoney(), rbac::RBAC_PERM_LOG_GM_TRADE, Player::SaveGoldToDB(), sLog, SMSG_GUILD_EVENT_BANK_MONEY_CHANGED, sScriptMgr, and UI64FMTD.
| void Guild::HandleMemberLogout | ( | WorldSession * | session | ) |
Definition at line 2280 of file Guild.cpp.
References _BroadcastEvent(), GE_SIGNED_OFF, Object::GetGUID(), GetMember(), WorldObject::GetName(), WorldSession::GetPlayer(), and SaveToDB().
| bool Guild::HandleMemberWithdrawMoney | ( | WorldSession * | session, |
| uint64 | amount, | ||
| bool | repair = false ) |
Definition at line 2234 of file Guild.cpp.
References _GetMemberRemainingMoney(), _LogBankEvent(), _ModifyBankMoney(), BroadcastPacket(), CharacterDatabase, Object::GetGUID(), Object::GetGUIDLow(), GetMember(), WorldSession::GetPlayer(), GUILD_BANK_LOG_REPAIR_MONEY, GUILD_BANK_LOG_WITHDRAW_MONEY, GUILD_BANK_MAX_TABS, m_bankMoney, MAX_MONEY_AMOUNT, Player::ModifyMoney(), Player::SaveGoldToDB(), SMSG_GUILD_EVENT_BANK_MONEY_CHANGED, sScriptMgr, and Guild::Member::UpdateBankWithdrawValue().
Referenced by Player::DurabilityRepair().
| void Guild::HandleNewsSetSticky | ( | WorldSession * | session, |
| uint32 | newsId, | ||
| bool | sticky ) |
Definition at line 3808 of file Guild.cpp.
References WorldSession::GetPlayerInfo(), m_newsLog, WorldSession::SendPacket(), Guild::NewsLogEntry::SetSticky(), SF_LOG_DEBUG, SMSG_GUILD_NEWS_UPDATE, ByteBuffer::WriteBits(), and Guild::NewsLogEntry::WritePacket().
| void Guild::HandleQuery | ( | WorldSession * | session | ) |
Definition at line 1452 of file Guild.cpp.
References _GetRanksSize(), ByteBuffer::FlushBits(), GetGUID(), GetId(), GetName(), WorldSession::GetPlayerInfo(), m_emblemInfo, m_name, m_ranks, realmID, WorldSession::SendPacket(), SF_LOG_DEBUG, SMSG_GUILD_QUERY_RESPONSE, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteByteSeq(), and ByteBuffer::WriteString().
Referenced by HandleSetEmblem().
| void Guild::HandleRemoveMember | ( | WorldSession * | session, |
| uint64 | guid ) |
Definition at line 2053 of file Guild.cpp.
References _HasRankRight(), _LogEvent(), _SendRemovePlayerFromGuild(), DeleteMember(), ERR_GUILD_LEADER_LEAVE, ERR_GUILD_PERMISSIONS, ERR_GUILD_RANK_TOO_HIGH_S, Object::GetGUID(), Object::GetGUIDLow(), GetMember(), WorldSession::GetPlayer(), Guild::Member::GetRankId(), GR_GUILDMASTER, GR_RIGHT_REMOVE, GUID_LOPART(), GUILD_COMMAND_REMOVE, GUILD_EVENT_LOG_UNINVITE_PLAYER, Guild::Member::IsRankNotLower(), and SendCommandResult().
| void Guild::HandleRemoveRank | ( | WorldSession * | session, |
| uint8 | rankId ) |
Definition at line 2182 of file Guild.cpp.
References _BroadcastEvent(), _GetRanksSize(), _IsLeader(), CHAR_DEL_GUILD_BANK_RIGHTS_FOR_RANK, CHAR_DEL_GUILD_RANK, CharacterDatabase, GE_RANK_DELETED, WorldSession::GetPlayer(), GUILD_RANKS_MIN_COUNT, m_id, m_ranks, PreparedStatement::setUInt32(), and PreparedStatement::setUInt8().
| void Guild::HandleReplaceGuildMaster | ( | WorldSession * | session | ) |
Definition at line 1722 of file Guild.cpp.
References _GetLowestRankId(), _SendSetNewGuildMaster(), _SetLeaderGUID(), DAY, ERR_GUILD_PERMISSIONS, Object::GetGUID(), GetMember(), WorldSession::GetPlayer(), GR_MEMBER, GUILD_COMMAND_CHANGE_LEADER, m_leaderGuid, and SendCommandResult().
| void Guild::HandleRoster | ( | WorldSession * | session = NULL | ) |
Definition at line 1366 of file Guild.cpp.
References ByteBuffer::append(), ByteBuffer::AppendPackedTime(), BroadcastPacket(), CONFIG_GUILD_WEEKLY_REP_CAP, DAY, ByteBuffer::FlushBits(), Guild::Member::GetAchievementPoints(), Guild::Member::GetClass(), Guild::Member::GetFlags(), Guild::Member::GetGUID(), Guild::Member::GetLevel(), Guild::Member::GetLogoutTime(), Guild::Member::GetName(), Guild::Member::GetOfficerNote(), WorldSession::GetPlayerInfo(), Guild::Member::GetPublicNote(), Guild::Member::GetRankId(), Guild::Member::GetTotalActivity(), Guild::Member::GetTotalReputation(), Guild::Member::GetVirtualRealm(), Guild::Member::GetWeekActivity(), Guild::Member::GetWeekReputation(), Guild::Member::GetZoneId(), Guild::Member::IsOnline(), m_accountsNumber, m_createdDate, m_info, m_members, m_motd, WorldSession::SendPacket(), SF_LOG_DEBUG, SMSG_GUILD_ROSTER, sWorld, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteByteSeq(), and ByteBuffer::WriteString().
| void Guild::HandleSetBankTabInfo | ( | WorldSession * | session, |
| uint8 | tabId, | ||
| std::string const & | name, | ||
| std::string const & | icon ) |
Definition at line 1749 of file Guild.cpp.
References _HasRankRight(), BroadcastPacket(), ByteBuffer::FlushBits(), GetBankTab(), WorldSession::GetPlayer(), WorldSession::GetPlayerInfo(), GR_RIGHT_MODIFY_BANK_TAB, Guild::BankTab::SetInfo(), SF_LOG_ERROR, SMSG_GUILD_EVENT_BANK_TAB_MODIFIED, ByteBuffer::WriteBits(), and ByteBuffer::WriteString().
| void Guild::HandleSetBankTabNote | ( | WorldSession * | session, |
| uint32 | tabId, | ||
| std::string const & | note ) |
Definition at line 3835 of file Guild.cpp.
References _HasRankRight(), BroadcastPacket(), GetBankTab(), WorldSession::GetPlayer(), WorldSession::GetPlayerInfo(), GR_RIGHT_MODIFY_BANK_TAB, Guild::BankTab::SetText(), SF_LOG_ERROR, and SMSG_GUILD_EVENT_BANK_TAB_TEXT_CHANGED.
| void Guild::HandleSetEmblem | ( | WorldSession * | session, |
| const EmblemInfo & | emblemInfo ) |
Definition at line 1609 of file Guild.cpp.
References _IsLeader(), EMBLEM_PRICE, ERR_GUILDEMBLEM_NOTENOUGHMONEY, ERR_GUILDEMBLEM_NOTGUILDMASTER, ERR_GUILDEMBLEM_SUCCESS, WorldSession::GetPlayer(), HandleQuery(), Player::HasEnoughMoney(), m_emblemInfo, m_id, Player::ModifyMoney(), and SendSaveEmblemResult().
| void Guild::HandleSetInfo | ( | WorldSession * | session, |
| std::string const & | info ) |
Definition at line 1590 of file Guild.cpp.
References _HasRankRight(), CHAR_UPD_GUILD_INFO, CharacterDatabase, WorldSession::GetPlayer(), GR_RIGHT_MODIFY_GUILD_INFO, m_id, m_info, PreparedStatement::setString(), PreparedStatement::setUInt32(), and sScriptMgr.
| void Guild::HandleSetMemberNote | ( | WorldSession * | session, |
| std::string const & | note, | ||
| uint64 | guid, | ||
| bool | isPublic ) |
Definition at line 1780 of file Guild.cpp.
References _HasRankRight(), BroadcastPacket(), ERR_GUILD_PERMISSIONS, ByteBuffer::FlushBits(), GetMember(), WorldSession::GetPlayer(), WorldSession::GetPlayerInfo(), GR_RIGHT_EOFFNOTE, GR_RIGHT_EPNOTE, GUILD_COMMAND_PUBLIC_NOTE, SendCommandResult(), WorldSession::SendPacket(), SF_LOG_DEBUG, SMSG_GUILD_MEMBER_UPDATE_NOTE, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), ByteBuffer::WriteByteSeq(), and ByteBuffer::WriteString().
| void Guild::HandleSetMemberRank | ( | WorldSession * | session, |
| uint64 | guid, | ||
| uint64 | setterGuid, | ||
| uint32 | rank ) |
Definition at line 2137 of file Guild.cpp.
References _HasRankRight(), ERR_GUILD_NAME_INVALID, ERR_GUILD_PERMISSIONS, Object::GetGUID(), GetMember(), WorldSession::GetPlayer(), Guild::Member::GetRankId(), GR_RIGHT_DEMOTE, GR_RIGHT_PROMOTE, GUILD_COMMAND_DEMOTE, GUILD_COMMAND_PROMOTE, IsMember(), Guild::Member::IsSamePlayer(), SendCommandResult(), and SendGuildRanksUpdate().
| void Guild::HandleSetMOTD | ( | WorldSession * | session, |
| std::string const & | motd ) |
Definition at line 1567 of file Guild.cpp.
References _BroadcastEvent(), _HasRankRight(), CHAR_UPD_GUILD_MOTD, CharacterDatabase, ERR_GUILD_PERMISSIONS, GE_MOTD, WorldSession::GetPlayer(), GR_RIGHT_SETMOTD, GUILD_COMMAND_EDIT_MOTD, m_id, m_motd, SendCommandResult(), PreparedStatement::setString(), PreparedStatement::setUInt32(), and sScriptMgr.
| void Guild::HandleSetNewGuildMaster | ( | WorldSession * | session, |
| std::string const & | name ) |
Definition at line 1703 of file Guild.cpp.
References _BroadcastEvent(), _IsLeader(), _SetLeaderGUID(), ERR_GUILD_PERMISSIONS, GE_LEADER_CHANGED, Object::GetGUID(), GetMember(), WorldObject::GetName(), WorldSession::GetPlayer(), GR_INITIATE, GUILD_COMMAND_CHANGE_LEADER, and SendCommandResult().
| void Guild::HandleSetRankInfo | ( | WorldSession * | session, |
| uint8 | rankId, | ||
| std::string const & | name, | ||
| uint32 | rights, | ||
| uint32 | moneyPerDay, | ||
| GuildBankRightsAndSlotsVec const & | rightsAndSlots ) |
Definition at line 1833 of file Guild.cpp.
References _BroadcastEvent(), _IsLeader(), _SetRankBankMoneyPerDay(), _SetRankBankTabRightsAndSlots(), ERR_GUILD_PERMISSIONS, GE_RANK_UPDATED, WorldSession::GetPlayer(), GetRankInfo(), GUILD_COMMAND_CHANGE_RANK, SendCommandResult(), and SF_LOG_DEBUG.
Referenced by WorldSession::HandleGuildSetRankPermissionsOpcode().
| void Guild::HandleUpdateMemberRank | ( | WorldSession * | session, |
| uint64 | guid, | ||
| bool | demote ) |
Definition at line 2084 of file Guild.cpp.
References _BroadcastEvent(), _GetLowestRankId(), _GetRankName(), _HasRankRight(), _LogEvent(), ERR_GUILD_NAME_INVALID, ERR_GUILD_PERMISSIONS, ERR_GUILD_RANK_TOO_HIGH_S, ERR_GUILD_RANK_TOO_LOW_S, GE_DEMOTION, GE_PROMOTION, Object::GetGUID(), Object::GetGUIDLow(), GetMember(), WorldObject::GetName(), WorldSession::GetPlayer(), Guild::Member::GetRankId(), GR_RIGHT_DEMOTE, GR_RIGHT_PROMOTE, GUID_LOPART(), GUILD_COMMAND_DEMOTE, GUILD_COMMAND_PROMOTE, GUILD_EVENT_LOG_DEMOTE_PLAYER, GUILD_EVENT_LOG_PROMOTE_PLAYER, and SendCommandResult().
| bool Guild::HasAchieved | ( | uint32 | achievementId | ) | const |
Definition at line 3798 of file Guild.cpp.
References m_achievementMgr.
| bool Guild::IsMember | ( | uint64 | guid | ) | const |
Definition at line 2984 of file Guild.cpp.
References GUID_LOPART(), and m_members.
Referenced by HandleGuildPartyRequest(), and HandleSetMemberRank().
| bool Guild::LoadBankEventLogFromDB | ( | Field * | fields | ) |
Definition at line 2580 of file Guild.cpp.
References _GetPurchasedTabsSize(), Guild::LogHolder::CanInsert(), Field::GetUInt32(), Field::GetUInt8(), GUILD_BANK_MAX_TABS, GUILD_BANK_MONEY_LOGS_TAB, Guild::BankEventLogEntry::IsMoneyEvent(), Guild::LogHolder::LoadEvent(), m_bankEventLog, m_id, and SF_LOG_ERROR.
| bool Guild::LoadBankItemFromDB | ( | Field * | fields | ) |
Definition at line 2644 of file Guild.cpp.
References _GetPurchasedTabsSize(), Field::GetUInt8(), m_bankTabs, and SF_LOG_ERROR.
| void Guild::LoadBankRightFromDB | ( | Field * | fields | ) |
Definition at line 2555 of file Guild.cpp.
References _SetRankBankTabRightsAndSlots().
| void Guild::LoadBankTabFromDB | ( | Field * | fields | ) |
Definition at line 2635 of file Guild.cpp.
References _GetPurchasedTabsSize(), Field::GetUInt8(), m_bankTabs, and SF_LOG_ERROR.
| bool Guild::LoadEventLogFromDB | ( | Field * | fields | ) |
Definition at line 2563 of file Guild.cpp.
References m_eventLog, and m_id.
| bool Guild::LoadFromDB | ( | Field * | fields | ) |
Definition at line 2506 of file Guild.cpp.
References _CreateLogHolders(), _experience, _level, _todayExperience, Field::GetString(), Field::GetUInt32(), Field::GetUInt64(), GUILD_BANK_MAX_TABS, HIGHGUID_PLAYER, m_bankMoney, m_bankTabs, m_createdDate, m_emblemInfo, m_id, m_info, m_leaderGuid, m_motd, m_name, and MAKE_NEW_GUID().
Referenced by GuildMgr::LoadGuilds().
| void Guild::LoadGuildNewsLogFromDB | ( | Field * | fields | ) |
| bool Guild::LoadMemberFromDB | ( | Field * | fields | ) |
Definition at line 2541 of file Guild.cpp.
References _DeleteMemberFromDB(), Field::GetUInt32(), HIGHGUID_PLAYER, Guild::Member::LoadFromDB(), m_id, m_members, and MAKE_NEW_GUID().
| void Guild::LoadRankFromDB | ( | Field * | fields | ) |
Definition at line 2532 of file Guild.cpp.
References Guild::RankInfo::LoadFromDB(), m_id, and m_ranks.
| void Guild::MassInviteToEvent | ( | WorldSession * | session, |
| uint32 | minLevel, | ||
| uint32 | maxLevel, | ||
| uint32 | minRank ) |
Definition at line 2773 of file Guild.cpp.
References ByteBuffer::append(), CALENDAR_ERROR_INVITES_EXCEEDED, CALENDAR_MAX_INVITES, ByteBuffer::FlushBits(), Guild::Member::GetGUID(), Object::GetGUID(), Player::GetLevelFromDB(), WorldSession::GetPlayer(), m_members, ByteBuffer::PutBits(), sCalendarMgr, WorldSession::SendPacket(), SMSG_CALENDAR_EVENT_INITIAL_INVITE, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), and ByteBuffer::WriteByteSeq().
Definition at line 1331 of file Guild.cpp.
References Object::GetGUID(), and GetMember().
| void Guild::ResetTimes | ( | bool | weekly | ) |
Definition at line 3766 of file Guild.cpp.
References _todayExperience, m_members, and SMSG_GUILD_MEMBER_DAILY_RESET.
| void Guild::SaveToDB | ( | ) |
Definition at line 1292 of file Guild.cpp.
References CHAR_UPD_GUILD_EXPERIENCE, CharacterDatabase, GetExperience(), GetId(), GetLevel(), GetTodayExperience(), m_achievementMgr, PreparedStatement::setUInt32(), and PreparedStatement::setUInt64().
Referenced by HandleMemberLogout().
| void Guild::SendBankList | ( | WorldSession * | session, |
| uint8 | tabId, | ||
| bool | withContent, | ||
| bool | withTabInfo ) const |
Definition at line 3544 of file Guild.cpp.
References _GetMemberRemainingSlots(), _GetPurchasedTabsSize(), _MemberHasTabRights(), ByteBuffer::append(), ByteBuffer::empty(), ByteBuffer::FlushBits(), GetBankTab(), Object::GetGUID(), GetMember(), GetName(), WorldSession::GetPlayer(), GUILD_BANK_MAX_SLOTS, GUILD_BANK_RIGHT_VIEW_TAB, m_bankMoney, m_bankTabs, MAX_ENCHANTMENT_SLOT, WorldSession::SendPacket(), SF_LOG_DEBUG, SMSG_GUILD_BANK_LIST, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), and ByteBuffer::WriteString().
Referenced by WorldSession::HandleGuildBankerActivate().
| void Guild::SendBankLog | ( | WorldSession * | session, |
| uint8 | tabId ) const |
Definition at line 2386 of file Guild.cpp.
References _GetPurchasedTabsSize(), GetLevel(), WorldSession::GetPlayerInfo(), Guild::LogHolder::GetSize(), GUILD_BANK_MAX_TABS, m_bankEventLog, WorldSession::SendPacket(), SF_LOG_DEBUG, SMSG_GUILD_BANK_LOG_QUERY_RESULT, ByteBuffer::WriteBit(), and Guild::LogHolder::WritePacket().
| void Guild::SendBankTabText | ( | WorldSession * | session, |
| uint8 | tabId ) const |
Definition at line 2403 of file Guild.cpp.
References GetBankTab().
|
static |
Definition at line 87 of file Guild.cpp.
References ByteBuffer::FlushBits(), WorldSession::GetPlayerInfo(), WorldSession::SendPacket(), SF_LOG_DEBUG, SMSG_GUILD_COMMAND_RESULT, ByteBuffer::WriteBits(), and ByteBuffer::WriteString().
Referenced by WorldSession::HandleGuildBankerActivate(), WorldSession::HandleGuildRosterOpcode(), HandleInviteMember(), HandleLeaveMember(), WorldSession::HandleOfferPetitionOpcode(), WorldSession::HandlePetitionBuyOpcode(), WorldSession::HandlePetitionRenameOpcode(), WorldSession::HandlePetitionSignOpcode(), HandleRemoveMember(), HandleReplaceGuildMaster(), HandleSetMemberNote(), HandleSetMemberRank(), HandleSetMOTD(), HandleSetNewGuildMaster(), HandleSetRankInfo(), WorldSession::HandleTurnInPetitionOpcode(), and HandleUpdateMemberRank().
| void Guild::SendEventLog | ( | WorldSession * | session | ) | const |
Definition at line 2325 of file Guild.cpp.
References WorldSession::GetPlayerInfo(), m_eventLog, WorldSession::SendPacket(), SF_LOG_DEBUG, and SMSG_GUILD_EVENT_LOG_QUERY_RESULT.
| void Guild::SendGuildRankInfo | ( | WorldSession * | session | ) | const |
Definition at line 1534 of file Guild.cpp.
References _GetRanksSize(), ByteBuffer::FlushBits(), Guild::RankInfo::GetBankMoneyPerDay(), Guild::RankInfo::GetBankTabRights(), Guild::RankInfo::GetBankTabSlotsPerDay(), Guild::RankInfo::GetId(), Guild::RankInfo::GetName(), WorldSession::GetPlayerInfo(), GetRankInfo(), Guild::RankInfo::GetRights(), GUILD_BANK_MAX_TABS, m_ranks, WorldSession::SendPacket(), SF_LOG_DEBUG, SMSG_GUILD_RANKS, ByteBuffer::WriteBits(), and ByteBuffer::WriteString().
Referenced by SendLoginInfo().
Definition at line 3634 of file Guild.cpp.
References ASSERT, BroadcastPacket(), Guild::Member::ChangeRank(), ByteBuffer::FlushBits(), GetMember(), GUID_LOPART(), SF_LOG_DEBUG, SMSG_GUILD_RANKS_UPDATE, ByteBuffer::WriteBit(), and ByteBuffer::WriteByteSeq().
Referenced by HandleSetMemberRank().
|
private |
Definition at line 3756 of file Guild.cpp.
References CONFIG_GUILD_WEEKLY_REP_CAP, WorldSession::GetPlayerInfo(), WorldSession::SendPacket(), SF_LOG_DEBUG, SMSG_GUILD_REPUTATION_WEEKLY_CAP, and sWorld.
Referenced by SendLoginInfo().
| void Guild::SendGuildXP | ( | WorldSession * | session = NULL | ) | const |
Definition at line 3744 of file Guild.cpp.
References GetExperience(), WorldSession::GetGuidLow(), GetLevel(), GetMember(), Guild::Member::GetTotalActivity(), Guild::Member::GetWeekActivity(), WorldSession::SendPacket(), sGuildMgr, and SMSG_GUILD_XP.
| void Guild::SendLoginInfo | ( | WorldSession * | session | ) |
Definition at line 2449 of file Guild.cpp.
References _BroadcastEvent(), Guild::Member::AddFlag(), CONFIG_GUILD_LEVELING_ENABLED, GE_MOTD, GE_SIGNED_ON, Object::GetGUID(), GetLevel(), GetMember(), WorldObject::GetName(), WorldSession::GetPlayer(), WorldSession::GetPlayerInfo(), Guild::Member::GetWeekReputation(), GUILDMEMBER_STATUS_ONLINE, WorldPacket::Initialize(), Player::learnSpell(), m_achievementMgr, m_motd, SendGuildRankInfo(), SendGuildReputationWeeklyCap(), WorldSession::SendPacket(), Guild::Member::SetStats(), SF_LOG_DEBUG, sGuildPerkSpellsStore, SMSG_GUILD_EVENT, SMSG_GUILD_MEMBER_DAILY_RESET, and sWorld.
Referenced by AddMember().
| void Guild::SendMoneyInfo | ( | WorldSession * | session | ) | const |
Definition at line 2436 of file Guild.cpp.
References _GetMemberRemainingMoney(), Object::GetGUID(), GetMember(), WorldSession::GetPlayer(), WorldSession::GetPlayerInfo(), WorldSession::SendPacket(), SF_LOG_DEBUG, and SMSG_GUILD_BANK_MONEY_WITHDRAWN.
| void Guild::SendNewsUpdate | ( | WorldSession * | session | ) |
Definition at line 2333 of file Guild.cpp.
References ByteBuffer::AppendPackedTime(), ByteBuffer::FlushBits(), Guild::NewsLogEntry::GetFlags(), Guild::LogEntry::GetGUID(), Guild::NewsLogEntry::GetPlayerGuid(), WorldSession::GetPlayerInfo(), Guild::LogEntry::GetTimestamp(), Guild::NewsLogEntry::GetType(), Guild::NewsLogEntry::GetValue(), m_newsLog, WorldSession::SendPacket(), SF_LOG_DEBUG, SMSG_GUILD_NEWS_UPDATE, ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), and ByteBuffer::WriteByteSeq().
| void Guild::SendPermissions | ( | WorldSession * | session | ) | const |
Definition at line 2409 of file Guild.cpp.
References _GetMemberRemainingSlots(), _GetPurchasedTabsSize(), _GetRankBankMoneyPerDay(), _GetRankBankTabRights(), _GetRankRights(), ByteBuffer::FlushBits(), Object::GetGUID(), GetMember(), WorldSession::GetPlayer(), WorldSession::GetPlayerInfo(), Guild::Member::GetRankId(), GUILD_BANK_MAX_TABS, WorldSession::SendPacket(), SF_LOG_DEBUG, SMSG_GUILD_PERMISSIONS_QUERY_RESULTS, and ByteBuffer::WriteBits().
Referenced by HandleBuyBankTab().
|
static |
Definition at line 102 of file Guild.cpp.
References WorldSession::GetPlayerInfo(), MSG_SAVE_GUILD_EMBLEM, WorldSession::SendPacket(), and SF_LOG_DEBUG.
Referenced by WorldSession::HandleSaveGuildEmblemOpcode(), and HandleSetEmblem().
| void Guild::SetBankTabText | ( | uint8 | tabId, |
| std::string const & | text ) |
Definition at line 3019 of file Guild.cpp.
References GetBankTab().
| bool Guild::SetName | ( | std::string const & | name | ) |
Definition at line 1341 of file Guild.cpp.
References BroadcastPacket(), CHAR_UPD_GUILD_NAME, CharacterDatabase, ByteBuffer::FlushBits(), GetGUID(), GetId(), ObjectMgr::IsValidCharterName(), m_name, PreparedStatement::setString(), PreparedStatement::setUInt32(), SMSG_GUILD_RENAMED, sObjectMgr, ByteBuffer::WriteBits(), ByteBuffer::WriteGuidBytes(), ByteBuffer::WriteGuidMask(), and ByteBuffer::WriteString().
Referenced by guild_commandscript::HandleGuildRenameCommand().
| void Guild::SwapItems | ( | Player * | player, |
| uint8 | tabId, | ||
| uint8 | slotId, | ||
| uint8 | destTabId, | ||
| uint8 | destSlotId, | ||
| uint32 | splitedAmount ) |
Definition at line 2991 of file Guild.cpp.
References _GetPurchasedTabsSize(), _MoveItems(), and GUILD_BANK_MAX_SLOTS.
Referenced by WorldSession::HandleGuildBankSwapItems().
| void Guild::SwapItemsWithInventory | ( | Player * | player, |
| bool | toChar, | ||
| uint8 | tabId, | ||
| uint8 | slotId, | ||
| uint8 | playerBag, | ||
| uint8 | playerSlotId, | ||
| uint32 | splitedAmount ) |
Definition at line 3005 of file Guild.cpp.
References _GetPurchasedTabsSize(), _MoveItems(), GUILD_BANK_MAX_SLOTS, and NULL_SLOT.
Referenced by WorldSession::HandleGuildBankSwapItems().
| void Guild::UpdateAchievementCriteria | ( | AchievementCriteriaTypes | type, |
| uint64 | miscValue1, | ||
| uint64 | miscValue2, | ||
| uint64 | miscValue3, | ||
| Unit * | unit, | ||
| Player * | player ) |
Definition at line 3803 of file Guild.cpp.
References m_achievementMgr.
Referenced by GiveXP(), and Player::UpdateAchievementCriteria().
Definition at line 1308 of file Guild.cpp.
References Object::GetGUID(), GetMember(), GUILD_MEMBER_DATA_ACHIEVEMENT_POINTS, GUILD_MEMBER_DATA_LEVEL, GUILD_MEMBER_DATA_ZONEID, and SF_LOG_ERROR.
| bool Guild::Validate | ( | ) |
Definition at line 2657 of file Guild.cpp.
References _CreateDefaultGuildRanks(), _GetLowestRankId(), _GetPurchasedTabsSize(), _GetRanksSize(), _SetLeaderGUID(), _UpdateAccountsNumber(), CharacterDatabase, Guild::RankInfo::CreateMissingTabsIfNeeded(), DEFAULT_LOCALE, DeleteMember(), Disband(), Guild::RankInfo::GetId(), GetMember(), GetRankInfo(), GR_GUILDMASTER, GR_OFFICER, GUILD_RANKS_MAX_COUNT, Guild::Member::IsRank(), m_id, m_leaderGuid, m_members, m_ranks, sConfigMgr, and SF_LOG_ERROR.
Referenced by GuildMgr::LoadGuilds().
|
protected |
Definition at line 893 of file Guild.h.
Referenced by Create(), GetExperience(), GiveXP(), Guild(), and LoadFromDB().
|
protected |
Definition at line 892 of file Guild.h.
Referenced by Create(), GetLevel(), GiveXP(), Guild(), and LoadFromDB().
|
protected |
Definition at line 894 of file Guild.h.
Referenced by Create(), GetTodayExperience(), GiveXP(), Guild(), LoadFromDB(), and ResetTimes().
|
protected |
Definition at line 879 of file Guild.h.
Referenced by _UpdateAccountsNumber(), Guild(), and HandleRoster().
|
protected |
Definition at line 890 of file Guild.h.
Referenced by GetAchievementMgr(), GetAchievementMgr(), Guild(), HasAchieved(), SaveToDB(), SendLoginInfo(), and UpdateAchievementCriteria().
|
protected |
Definition at line 888 of file Guild.h.
Referenced by _CreateLogHolders(), _LogBankEvent(), Guild(), LoadBankEventLogFromDB(), SendBankLog(), and ~Guild().
|
protected |
Definition at line 880 of file Guild.h.
Referenced by _ModifyBankMoney(), _SendBankContentUpdate(), Create(), Guild(), HandleMemberDepositMoney(), HandleMemberWithdrawMoney(), LoadFromDB(), and SendBankList().
|
protected |
Definition at line 884 of file Guild.h.
Referenced by _CreateNewBankTab(), _DeleteBankItems(), _GetPurchasedTabsSize(), GetBankTab(), GetBankTab(), LoadBankItemFromDB(), LoadBankTabFromDB(), LoadFromDB(), and SendBankList().
|
protected |
Definition at line 876 of file Guild.h.
Referenced by Create(), Guild(), HandleRoster(), and LoadFromDB().
|
protected |
Definition at line 878 of file Guild.h.
Referenced by Create(), GetEmblemInfo(), HandleInviteMember(), HandleQuery(), HandleSetEmblem(), and LoadFromDB().
|
protected |
Definition at line 887 of file Guild.h.
Referenced by _CreateLogHolders(), _LogEvent(), Guild(), LoadEventLogFromDB(), SendEventLog(), and ~Guild().
|
protected |
Definition at line 871 of file Guild.h.
Referenced by _CreateDefaultGuildRanks(), _CreateNewBankTab(), _CreateRank(), _LogBankEvent(), _LogEvent(), _ModifyBankMoney(), _SetLeaderGUID(), AddGuildNews(), AddMember(), Create(), Disband(), GetGUID(), GetId(), Guild(), HandleInviteMember(), HandleMemberDepositMoney(), HandleRemoveRank(), HandleSetEmblem(), HandleSetInfo(), HandleSetMOTD(), LoadBankEventLogFromDB(), LoadEventLogFromDB(), LoadFromDB(), LoadGuildNewsLogFromDB(), LoadMemberFromDB(), LoadRankFromDB(), and Validate().
|
protected |
Definition at line 875 of file Guild.h.
Referenced by Create(), GetInfo(), HandleRoster(), HandleSetInfo(), and LoadFromDB().
|
protected |
Definition at line 873 of file Guild.h.
Referenced by _IsLeader(), _MemberHasTabRights(), _SetLeaderGUID(), Create(), DeleteMember(), GetLeaderGUID(), Guild(), HandleReplaceGuildMaster(), LoadFromDB(), and Validate().
|
protected |
Definition at line 883 of file Guild.h.
Referenced by _SendBankContentUpdate(), _UpdateAccountsNumber(), AddMember(), BroadcastAddonToGuild(), BroadcastPacket(), BroadcastPacketToRank(), BroadcastToGuild(), BroadcastWorker(), DeleteMember(), Disband(), GetMember(), GetMember(), GetMember(), GetMembersCount(), GiveXP(), HandleLeaveMember(), HandleRoster(), IsMember(), LoadMemberFromDB(), MassInviteToEvent(), ResetTimes(), Validate(), and ~Guild().
|
protected |
Definition at line 874 of file Guild.h.
Referenced by Create(), GetMOTD(), HandleRoster(), HandleSetMOTD(), LoadFromDB(), and SendLoginInfo().
|
protected |
Definition at line 872 of file Guild.h.
Referenced by Create(), GetName(), HandleInviteMember(), HandleQuery(), LoadFromDB(), and SetName().
|
protected |
Definition at line 889 of file Guild.h.
Referenced by _CreateLogHolders(), AddGuildNews(), Guild(), HandleNewsSetSticky(), LoadGuildNewsLogFromDB(), SendNewsUpdate(), and ~Guild().
|
protected |
Definition at line 882 of file Guild.h.
Referenced by _CreateNewBankTab(), _CreateRank(), _GetLowestRankId(), _GetRanksSize(), GetRankInfo(), GetRankInfo(), HandleQuery(), HandleRemoveRank(), LoadRankFromDB(), SendGuildRankInfo(), and Validate().