|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Public Member Functions | |
| BankEventLogEntry (uint32 guildId, uint32 guid, GuildBankEventLogTypes eventType, uint8 tabId, uint32 playerGuid, uint64 itemOrMoney, uint16 itemStackCount, uint8 destTabId) | |
| BankEventLogEntry (uint32 guildId, uint32 guid, time_t timestamp, uint8 tabId, GuildBankEventLogTypes eventType, uint32 playerGuid, uint64 itemOrMoney, uint16 itemStackCount, uint8 destTabId) | |
| bool | IsMoneyEvent () const |
| void | SaveToDB (SQLTransaction &trans) const |
| void | WritePacket (WorldPacket &data, ByteBuffer &content) const |
| ~BankEventLogEntry () | |
| Public Member Functions inherited from Guild::LogEntry | |
| uint32 | GetGUID () const |
| uint64 | GetTimestamp () const |
| LogEntry (uint32 guildId, uint32 guid) | |
| LogEntry (uint32 guildId, uint32 guid, time_t timestamp) | |
| virtual | ~LogEntry () |
Static Public Member Functions | |
| static bool | IsMoneyEvent (GuildBankEventLogTypes eventType) |
Private Attributes | |
| uint8 | m_bankTabId |
| uint8 | m_destTabId |
| GuildBankEventLogTypes | m_eventType |
| uint64 | m_itemOrMoney |
| uint16 | m_itemStackCount |
| uint32 | m_playerGuid |
Additional Inherited Members | |
| Protected Attributes inherited from Guild::LogEntry | |
| uint32 | m_guid |
| uint32 | m_guildId |
| uint64 | m_timestamp |
|
inline |
Definition at line 483 of file Guild.h.
References Guild::LogEntry::LogEntry(), m_bankTabId, m_destTabId, m_eventType, m_itemOrMoney, m_itemStackCount, and m_playerGuid.
|
inline |
Definition at line 487 of file Guild.h.
References Guild::LogEntry::LogEntry(), m_bankTabId, m_destTabId, m_eventType, m_itemOrMoney, m_itemStackCount, and m_playerGuid.
|
inline |
Definition at line 478 of file Guild.h.
References IsMoneyEvent(), and m_eventType.
Referenced by IsMoneyEvent().
|
inlinestatic |
Definition at line 472 of file Guild.h.
References GUILD_BANK_LOG_CASH_FLOW_DEPOSIT, GUILD_BANK_LOG_DEPOSIT_MONEY, GUILD_BANK_LOG_REPAIR_MONEY, and GUILD_BANK_LOG_WITHDRAW_MONEY.
Referenced by Guild::_LogBankEvent(), Guild::LoadBankEventLogFromDB(), and WritePacket().
|
virtual |
Implements Guild::LogEntry.
Definition at line 225 of file Guild.cpp.
References CHAR_DEL_GUILD_BANK_EVENTLOG, CHAR_INS_GUILD_BANK_EVENTLOG, CharacterDatabase, m_bankTabId, m_destTabId, m_eventType, Guild::LogEntry::m_guid, Guild::LogEntry::m_guildId, m_itemOrMoney, m_itemStackCount, m_playerGuid, Guild::LogEntry::m_timestamp, PreparedStatement::setUInt16(), PreparedStatement::setUInt32(), PreparedStatement::setUInt64(), and PreparedStatement::setUInt8().
|
virtual |
Implements Guild::LogEntry.
Definition at line 249 of file Guild.cpp.
References GUILD_BANK_LOG_DEPOSIT_ITEM, GUILD_BANK_LOG_MOVE_ITEM, GUILD_BANK_LOG_MOVE_ITEM2, GUILD_BANK_LOG_WITHDRAW_ITEM, HIGHGUID_PLAYER, IsMoneyEvent(), m_destTabId, m_eventType, m_itemOrMoney, m_itemStackCount, m_playerGuid, Guild::LogEntry::m_timestamp, MAKE_NEW_GUID(), ByteBuffer::WriteBit(), and ByteBuffer::WriteByteSeq().
|
private |
Definition at line 498 of file Guild.h.
Referenced by BankEventLogEntry(), BankEventLogEntry(), and SaveToDB().
|
private |
Definition at line 502 of file Guild.h.
Referenced by BankEventLogEntry(), BankEventLogEntry(), SaveToDB(), and WritePacket().
|
private |
Definition at line 497 of file Guild.h.
Referenced by BankEventLogEntry(), BankEventLogEntry(), IsMoneyEvent(), SaveToDB(), and WritePacket().
|
private |
Definition at line 500 of file Guild.h.
Referenced by BankEventLogEntry(), BankEventLogEntry(), SaveToDB(), and WritePacket().
|
private |
Definition at line 501 of file Guild.h.
Referenced by BankEventLogEntry(), BankEventLogEntry(), SaveToDB(), and WritePacket().
|
private |
Definition at line 499 of file Guild.h.
Referenced by BankEventLogEntry(), BankEventLogEntry(), SaveToDB(), and WritePacket().