AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "Guild.h"
Private Attributes | |
uint32 | m_guildId |
ObjectGuid | m_guid |
std::string | m_name |
uint32 | m_zoneId |
uint8 | m_level |
uint8 | m_class |
uint8 | m_gender |
uint8 | m_flags |
uint64 | m_logoutTime |
uint32 | m_accountId |
uint8 | m_rankId |
std::string | m_publicNote |
std::string | m_officerNote |
std::array< int32, GUILD_BANK_MAX_TABS+1 > | m_bankWithdraw = {} |
bool | receiveGuildBankUpdatePackets |
|
inline |
void Guild::Member::ChangeRank | ( | uint8 | newRank | ) |
References CHAR_UPD_GUILD_MEMBER_RANK, CharacterDatabase, and PreparedStatementBase::SetData().
Referenced by Guild::_SetLeaderGUID().
bool Guild::Member::CheckStats | ( | ) | const |
References LOG_ERROR, and MAX_CLASSES.
Referenced by Guild::AddMember().
|
inline |
References ObjectAccessor::FindConnectedPlayer(), and m_guid.
Referenced by Guild::DeleteMember().
|
inline |
References m_accountId.
References GR_GUILDMASTER, GUILD_BANK_MAX_TABS, GUILD_WITHDRAW_MONEY_UNLIMITED, and GUILD_WITHDRAW_SLOT_UNLIMITED.
Referenced by Guild::_GetMemberRemainingMoney(), and Guild::_GetMemberRemainingSlots().
|
inline |
|
inline |
References m_logoutTime.
|
inline |
|
inline |
References m_officerNote.
|
inline |
References m_publicNote.
|
inline |
|
inline |
References GUILDMEMBER_STATUS_ONLINE, and m_flags.
|
inline |
|
inline |
|
inline |
bool Guild::Member::LoadFromDB | ( | Field * | fields | ) |
References Field::Get(), Player::GetZoneIdFromDB(), GUILD_BANK_MAX_TABS, and LOG_ERROR.
Referenced by Guild::LoadMemberFromDB().
|
inline |
void Guild::Member::ResetValues | ( | ) |
References GUILD_BANK_MAX_TABS.
void Guild::Member::SaveToDB | ( | CharacterDatabaseTransaction | trans | ) | const |
References CHAR_INS_GUILD_MEMBER, CharacterDatabase, and PreparedStatementBase::SetData().
Referenced by Guild::AddMember().
void Guild::Member::SetOfficerNote | ( | std::string_view | officerNote | ) |
References CHAR_UPD_GUILD_MEMBER_OFFNOTE, CharacterDatabase, and PreparedStatementBase::SetData().
void Guild::Member::SetPublicNote | ( | std::string_view | publicNote | ) |
References CHAR_UPD_GUILD_MEMBER_PNOTE, CharacterDatabase, and PreparedStatementBase::SetData().
void Guild::Member::SetStats | ( | Player * | player | ) |
References WorldSession::GetAccountId(), Unit::getClass(), Unit::getGender(), Unit::GetLevel(), WorldObject::GetName(), Player::GetSession(), WorldObject::GetZoneId(), and Guild::m_name.
Referenced by Guild::AddMember().
void Guild::Member::SetStats | ( | std::string_view | name, |
uint8 | level, | ||
uint8 | _class, | ||
uint8 | gender, | ||
uint32 | zoneId, | ||
uint32 | accountId | ||
) |
References Guild::m_name.
|
inline |
References receiveGuildBankUpdatePackets.
|
inline |
|
inline |
void Guild::Member::UpdateBankWithdrawValue | ( | CharacterDatabaseTransaction | trans, |
uint8 | tabId, | ||
uint32 | amount | ||
) |
References CHAR_INS_GUILD_MEMBER_WITHDRAW, CharacterDatabase, GUILD_BANK_MAX_TABS, and PreparedStatementBase::SetData().
Referenced by Guild::HandleMemberWithdrawMoney().
void Guild::Member::UpdateLogoutTime | ( | ) |
References GameTime::GetGameTime().
|
private |
Referenced by GetAccountId().
|
private |
|
private |
Referenced by GetClass().
|
private |
Referenced by AddFlag(), GetFlags(), IsOnline(), RemFlag(), and ResetFlags().
|
private |
Referenced by GetGender().
|
private |
Referenced by FindPlayer(), GetGUID(), and IsSamePlayer().
|
private |
|
private |
Referenced by GetLevel(), and SetLevel().
|
private |
Referenced by GetLogoutTime().
|
private |
Referenced by GetName().
|
private |
Referenced by GetOfficerNote().
|
private |
Referenced by GetPublicNote().
|
private |
Referenced by GetRankId(), IsRank(), and IsRankNotLower().
|
private |
Referenced by GetZoneId(), and SetZoneID().
|
private |