![]() |
TrinityCore
|
Inheritance diagram for Guild::BankEventLogEntry:Public Member Functions | |
| bool | IsMoneyEvent () const |
| BankEventLogEntry (ObjectGuid::LowType guildId, uint32 guid, GuildBankEventLogTypes eventType, uint8 tabId, ObjectGuid::LowType playerGuid, uint64 itemOrMoney, uint16 itemStackCount, uint8 destTabId) | |
| BankEventLogEntry (ObjectGuid::LowType guildId, uint32 guid, time_t timestamp, uint8 tabId, GuildBankEventLogTypes eventType, ObjectGuid::LowType playerGuid, uint64 itemOrMoney, uint16 itemStackCount, uint8 destTabId) | |
| ~BankEventLogEntry () | |
| void | SaveToDB (CharacterDatabaseTransaction trans) const override |
| void | WritePacket (WorldPackets::Guild::GuildBankLogQueryResults &packet) const |
Public Member Functions inherited from Guild::LogEntry | |
| LogEntry (ObjectGuid::LowType guildId, uint32 guid) | |
| LogEntry (ObjectGuid::LowType guildId, uint32 guid, time_t timestamp) | |
| virtual | ~LogEntry () |
| uint32 | GetGUID () const |
| time_t | GetTimestamp () const |
Static Public Member Functions | |
| static bool | IsMoneyEvent (GuildBankEventLogTypes eventType) |
Private Attributes | |
| GuildBankEventLogTypes | m_eventType |
| uint8 | m_bankTabId |
| ObjectGuid::LowType | m_playerGuid |
| uint64 | m_itemOrMoney |
| uint16 | m_itemStackCount |
| uint8 | m_destTabId |
Additional Inherited Members | |
Protected Attributes inherited from Guild::LogEntry | |
| ObjectGuid::LowType | m_guildId |
| uint32 | m_guid |
| time_t | m_timestamp |
|
inline |
|
inline |
|
inline |
Definition at line 480 of file Guild.h.
Referenced by Guild::_LogBankEvent(), and Guild::LoadBankEventLogFromDB().
|
inlinestatic |
Definition at line 469 of file Guild.h.
References GUILD_BANK_LOG_BUY_TAB, GUILD_BANK_LOG_CASH_FLOW_DEPOSIT, GUILD_BANK_LOG_DEPOSIT_MONEY, GUILD_BANK_LOG_REPAIR_MONEY, GUILD_BANK_LOG_WITHDRAW_MONEY, and GUILD_BANK_LOG_WITHDRAW_TO_BUY_TAB.
|
overridevirtual |
Implements Guild::LogEntry.
Definition at line 162 of file Guild.cpp.
References CHAR_DEL_GUILD_BANK_EVENTLOG, CHAR_INS_GUILD_BANK_EVENTLOG, CharacterDatabase, PreparedStatementBase::setInt64(), PreparedStatementBase::setUInt16(), PreparedStatementBase::setUInt32(), PreparedStatementBase::setUInt64(), and PreparedStatementBase::setUInt8().
| void Guild::BankEventLogEntry::WritePacket | ( | WorldPackets::Guild::GuildBankLogQueryResults & | packet | ) | const |
Definition at line 186 of file Guild.cpp.
References WorldPackets::Guild::GuildBankLogEntry::Count, 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 |