TrinityCore
Guild::BankEventLogEntry Class Reference
+ 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
 
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::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
 

Detailed Description

Definition at line 466 of file Guild.h.

Constructor & Destructor Documentation

◆ BankEventLogEntry() [1/2]

Guild::BankEventLogEntry::BankEventLogEntry ( ObjectGuid::LowType  guildId,
uint32  guid,
GuildBankEventLogTypes  eventType,
uint8  tabId,
ObjectGuid::LowType  playerGuid,
uint64  itemOrMoney,
uint16  itemStackCount,
uint8  destTabId 
)
inline

Definition at line 483 of file Guild.h.

◆ BankEventLogEntry() [2/2]

Guild::BankEventLogEntry::BankEventLogEntry ( ObjectGuid::LowType  guildId,
uint32  guid,
time_t  timestamp,
uint8  tabId,
GuildBankEventLogTypes  eventType,
ObjectGuid::LowType  playerGuid,
uint64  itemOrMoney,
uint16  itemStackCount,
uint8  destTabId 
)
inline

Definition at line 487 of file Guild.h.

◆ ~BankEventLogEntry()

Guild::BankEventLogEntry::~BankEventLogEntry ( )
inline

Definition at line 491 of file Guild.h.

Member Function Documentation

◆ IsMoneyEvent() [1/2]

bool Guild::BankEventLogEntry::IsMoneyEvent ( ) const
inline

Definition at line 478 of file Guild.h.

+ Here is the caller graph for this function:

◆ IsMoneyEvent() [2/2]

static bool Guild::BankEventLogEntry::IsMoneyEvent ( GuildBankEventLogTypes  eventType)
inlinestatic

Definition at line 469 of file Guild.h.

◆ SaveToDB()

void Guild::BankEventLogEntry::SaveToDB ( CharacterDatabaseTransaction  trans) const
overridevirtual

Implements Guild::LogEntry.

Definition at line 160 of file Guild.cpp.

+ Here is the call graph for this function:

◆ WritePacket()

void Guild::BankEventLogEntry::WritePacket ( WorldPackets::Guild::GuildBankLogQueryResults packet) const

Definition at line 184 of file Guild.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ m_bankTabId

uint8 Guild::BankEventLogEntry::m_bankTabId
private

Definition at line 498 of file Guild.h.

◆ m_destTabId

uint8 Guild::BankEventLogEntry::m_destTabId
private

Definition at line 502 of file Guild.h.

◆ m_eventType

GuildBankEventLogTypes Guild::BankEventLogEntry::m_eventType
private

Definition at line 497 of file Guild.h.

◆ m_itemOrMoney

uint64 Guild::BankEventLogEntry::m_itemOrMoney
private

Definition at line 500 of file Guild.h.

◆ m_itemStackCount

uint16 Guild::BankEventLogEntry::m_itemStackCount
private

Definition at line 501 of file Guild.h.

◆ m_playerGuid

ObjectGuid::LowType Guild::BankEventLogEntry::m_playerGuid
private

Definition at line 499 of file Guild.h.


The documentation for this class was generated from the following files: