TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Guild::LogEntry Class Referenceabstract

Public Member Functions

 LogEntry (ObjectGuid::LowType guildId, uint32 guid)
 
 LogEntry (ObjectGuid::LowType guildId, uint32 guid, time_t timestamp)
 
virtual ~LogEntry ()
 
uint32 GetGUID () const
 
uint64 GetTimestamp () const
 
virtual void SaveToDB (SQLTransaction &trans) const =0
 

Protected Attributes

ObjectGuid::LowType m_guildId
 
uint32 m_guid
 
uint64 m_timestamp
 

Constructor & Destructor Documentation

Guild::LogEntry::LogEntry ( ObjectGuid::LowType  guildId,
uint32  guid 
)
inline
435 : m_guildId(guildId), m_guid(guid), m_timestamp(::time(NULL)) { }
uint32 m_guid
Definition: Guild.h:446
arena_t NULL
Definition: jemalloc_internal.h:624
ObjectGuid::LowType m_guildId
Definition: Guild.h:445
uint64 m_timestamp
Definition: Guild.h:447
Guild::LogEntry::LogEntry ( ObjectGuid::LowType  guildId,
uint32  guid,
time_t  timestamp 
)
inline
436 : m_guildId(guildId), m_guid(guid), m_timestamp(timestamp) { }
uint32 m_guid
Definition: Guild.h:446
ObjectGuid::LowType m_guildId
Definition: Guild.h:445
uint64 m_timestamp
Definition: Guild.h:447
virtual Guild::LogEntry::~LogEntry ( )
inlinevirtual
437 { }

Member Function Documentation

uint32 Guild::LogEntry::GetGUID ( ) const
inline
439 { return m_guid; }
uint32 m_guid
Definition: Guild.h:446

+ Here is the caller graph for this function:

uint64 Guild::LogEntry::GetTimestamp ( ) const
inline
440 { return m_timestamp; }
uint64 m_timestamp
Definition: Guild.h:447
virtual void Guild::LogEntry::SaveToDB ( SQLTransaction trans) const
pure virtual

Implemented in Guild::NewsLogEntry, Guild::BankEventLogEntry, and Guild::EventLogEntry.

+ Here is the caller graph for this function:

Member Data Documentation

uint32 Guild::LogEntry::m_guid
protected
ObjectGuid::LowType Guild::LogEntry::m_guildId
protected
uint64 Guild::LogEntry::m_timestamp
protected

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