AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Public Member Functions | |
EventLogEntry (uint32 guildId, ObjectGuid::LowType guid, GuildEventLogTypes eventType, ObjectGuid playerGuid1, ObjectGuid playerGuid2, uint8 newRank) | |
EventLogEntry (uint32 guildId, ObjectGuid::LowType guid, time_t timestamp, GuildEventLogTypes eventType, ObjectGuid playerGuid1, ObjectGuid playerGuid2, uint8 newRank) | |
~EventLogEntry () override | |
void | SaveToDB (CharacterDatabaseTransaction trans) const override |
void | WritePacket (WorldPackets::Guild::GuildEventLogQueryResults &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 |
Private Attributes | |
GuildEventLogTypes | m_eventType |
ObjectGuid | m_playerGuid1 |
ObjectGuid | m_playerGuid2 |
uint8 | m_newRank |
Additional Inherited Members | |
Protected Attributes inherited from Guild::LogEntry | |
uint32 | m_guildId |
ObjectGuid::LowType | m_guid |
uint64 | m_timestamp |
|
inline |
|
inline |
|
inlineoverride |
|
overridevirtual |
Implements Guild::LogEntry.
References CHAR_DEL_GUILD_EVENTLOG, CHAR_INS_GUILD_EVENTLOG, CharacterDatabase, and PreparedStatementBase::SetData().
void Guild::EventLogEntry::WritePacket | ( | WorldPackets::Guild::GuildEventLogQueryResults & | packet | ) | const |
References WorldPackets::Guild::GuildEventLogQueryResults::Entry, GameTime::GetGameTime(), WorldPackets::Guild::GuildEventEntry::OtherGUID, WorldPackets::Guild::GuildEventEntry::PlayerGUID, WorldPackets::Guild::GuildEventEntry::RankID, WorldPackets::Guild::GuildEventEntry::TransactionDate, and WorldPackets::Guild::GuildEventEntry::TransactionType.
|
private |
|
private |
|
private |
|
private |