AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Public Member Functions | |
bool | IsMoneyEvent () const |
BankEventLogEntry (uint32 guildId, ObjectGuid::LowType guid, GuildBankEventLogTypes eventType, uint8 tabId, ObjectGuid playerGuid, uint32 itemOrMoney, uint16 itemStackCount, uint8 destTabId) | |
BankEventLogEntry (uint32 guildId, ObjectGuid::LowType guid, time_t timestamp, uint8 tabId, GuildBankEventLogTypes eventType, ObjectGuid playerGuid, uint32 itemOrMoney, uint16 itemStackCount, uint8 destTabId) | |
~BankEventLogEntry () override | |
void | SaveToDB (CharacterDatabaseTransaction trans) const override |
void | WritePacket (WorldPackets::Guild::GuildBankLogQueryResults &packet) const |
Public Member Functions inherited from Guild::LogEntry | |
LogEntry (uint32 guildId, ObjectGuid::LowType guid) | |
LogEntry (uint32 guildId, ObjectGuid::LowType guid, time_t timestamp) | |
virtual | ~LogEntry () |
ObjectGuid::LowType | GetGUID () const |
uint64 | GetTimestamp () const |
virtual void | SaveToDB (CharacterDatabaseTransaction trans) const =0 |
Static Public Member Functions | |
static bool | IsMoneyEvent (GuildBankEventLogTypes eventType) |
Private Attributes | |
GuildBankEventLogTypes | m_eventType |
uint8 | m_bankTabId |
ObjectGuid | m_playerGuid |
uint32 | m_itemOrMoney |
uint16 | m_itemStackCount |
uint8 | m_destTabId |
Additional Inherited Members | |
Protected Attributes inherited from Guild::LogEntry | |
uint32 | m_guildId |
ObjectGuid::LowType | m_guid |
uint64 | m_timestamp |
|
inline |
|
inline |
|
inlineoverride |
|
inline |
References IsMoneyEvent(), and m_eventType.
Referenced by Guild::_LogBankEvent(), IsMoneyEvent(), and Guild::LoadBankEventLogFromDB().
|
inlinestatic |
References GUILD_BANK_LOG_DEPOSIT_MONEY, GUILD_BANK_LOG_REPAIR_MONEY, and GUILD_BANK_LOG_WITHDRAW_MONEY.
|
overridevirtual |
Implements Guild::LogEntry.
References CHAR_DEL_GUILD_BANK_EVENTLOG, CHAR_INS_GUILD_BANK_EVENTLOG, CharacterDatabase, and PreparedStatementBase::SetData().
void Guild::BankEventLogEntry::WritePacket | ( | WorldPackets::Guild::GuildBankLogQueryResults & | packet | ) | const |
References WorldPackets::Guild::GuildBankLogEntry::Count, WorldPackets::Guild::GuildBankLogQueryResults::Entry, WorldPackets::Guild::GuildBankLogEntry::EntryType, GameTime::GetGameTime(), GUILD_BANK_LOG_DEPOSIT_ITEM, GUILD_BANK_LOG_MOVE_ITEM, GUILD_BANK_LOG_MOVE_ITEM2, GUILD_BANK_LOG_WITHDRAW_ITEM, WorldPackets::Guild::GuildBankLogEntry::ItemID, WorldPackets::Guild::GuildBankLogEntry::Money, WorldPackets::Guild::GuildBankLogEntry::OtherTab, WorldPackets::Guild::GuildBankLogEntry::PlayerGUID, and WorldPackets::Guild::GuildBankLogEntry::TimeOffset.
|
private |
|
private |
|
private |
Referenced by IsMoneyEvent().
|
private |
|
private |
|
private |