Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
Guild::EventLogEntry Class Reference
Inheritance diagram for Guild::EventLogEntry:
Collaboration diagram for Guild::EventLogEntry:

Public Member Functions

 EventLogEntry (uint32 guildId, uint32 guid, GuildEventLogTypes eventType, uint32 playerGuid1, uint32 playerGuid2, uint8 newRank)
 EventLogEntry (uint32 guildId, uint32 guid, time_t timestamp, GuildEventLogTypes eventType, uint32 playerGuid1, uint32 playerGuid2, uint8 newRank)
void SaveToDB (SQLTransaction &trans) const
void WritePacket (WorldPacket &data, ByteBuffer &content) const
 ~EventLogEntry ()
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 ()

Private Attributes

GuildEventLogTypes m_eventType
uint8 m_newRank
uint32 m_playerGuid1
uint32 m_playerGuid2

Additional Inherited Members

Protected Attributes inherited from Guild::LogEntry
uint32 m_guid
uint32 m_guildId
uint64 m_timestamp

Detailed Description

Definition at line 447 of file Guild.h.

Constructor & Destructor Documentation

◆ EventLogEntry() [1/2]

Guild::EventLogEntry::EventLogEntry ( uint32 guildId,
uint32 guid,
GuildEventLogTypes eventType,
uint32 playerGuid1,
uint32 playerGuid2,
uint8 newRank )
inline

Definition at line 450 of file Guild.h.

References Guild::LogEntry::LogEntry(), m_eventType, m_newRank, m_playerGuid1, and m_playerGuid2.

◆ EventLogEntry() [2/2]

Guild::EventLogEntry::EventLogEntry ( uint32 guildId,
uint32 guid,
time_t timestamp,
GuildEventLogTypes eventType,
uint32 playerGuid1,
uint32 playerGuid2,
uint8 newRank )
inline

Definition at line 453 of file Guild.h.

References Guild::LogEntry::LogEntry(), m_eventType, m_newRank, m_playerGuid1, and m_playerGuid2.

◆ ~EventLogEntry()

Guild::EventLogEntry::~EventLogEntry ( )
inline

Definition at line 456 of file Guild.h.

Member Function Documentation

◆ SaveToDB()

◆ WritePacket()

void Guild::EventLogEntry::WritePacket ( WorldPacket & data,
ByteBuffer & content ) const
virtual

Member Data Documentation

◆ m_eventType

GuildEventLogTypes Guild::EventLogEntry::m_eventType
private

Definition at line 462 of file Guild.h.

Referenced by EventLogEntry(), EventLogEntry(), SaveToDB(), and WritePacket().

◆ m_newRank

uint8 Guild::EventLogEntry::m_newRank
private

Definition at line 465 of file Guild.h.

Referenced by EventLogEntry(), EventLogEntry(), SaveToDB(), and WritePacket().

◆ m_playerGuid1

uint32 Guild::EventLogEntry::m_playerGuid1
private

Definition at line 463 of file Guild.h.

Referenced by EventLogEntry(), EventLogEntry(), SaveToDB(), and WritePacket().

◆ m_playerGuid2

uint32 Guild::EventLogEntry::m_playerGuid2
private

Definition at line 464 of file Guild.h.

Referenced by EventLogEntry(), EventLogEntry(), SaveToDB(), and WritePacket().


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