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

Public Member Functions

uint32 GetFlags () const
uint64 GetPlayerGuid () const
GuildNews GetType () const
uint32 GetValue () const
 NewsLogEntry (uint32 guildId, uint32 guid, GuildNews type, uint32 playerGuid, uint32 flags, uint32 value)
 NewsLogEntry (uint32 guildId, uint32 guid, time_t timestamp, GuildNews type, uint32 playerGuid, uint32 flags, uint32 value)
void SaveToDB (SQLTransaction &trans) const
void SetSticky (bool sticky)
void WritePacket (WorldPacket &data, ByteBuffer &content) const
 ~NewsLogEntry ()
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

uint32 m_flags
uint32 m_playerGuid
GuildNews m_type
uint32 m_value

Additional Inherited Members

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

Detailed Description

Definition at line 506 of file Guild.h.

Constructor & Destructor Documentation

◆ NewsLogEntry() [1/2]

Guild::NewsLogEntry::NewsLogEntry ( uint32 guildId,
uint32 guid,
GuildNews type,
uint32 playerGuid,
uint32 flags,
uint32 value )
inline

Definition at line 509 of file Guild.h.

References Guild::LogEntry::LogEntry(), m_flags, m_playerGuid, m_type, and m_value.

◆ NewsLogEntry() [2/2]

Guild::NewsLogEntry::NewsLogEntry ( uint32 guildId,
uint32 guid,
time_t timestamp,
GuildNews type,
uint32 playerGuid,
uint32 flags,
uint32 value )
inline

Definition at line 512 of file Guild.h.

References Guild::LogEntry::LogEntry(), m_flags, m_playerGuid, m_type, and m_value.

◆ ~NewsLogEntry()

Guild::NewsLogEntry::~NewsLogEntry ( )
inline

Definition at line 515 of file Guild.h.

Member Function Documentation

◆ GetFlags()

uint32 Guild::NewsLogEntry::GetFlags ( ) const
inline

Definition at line 520 of file Guild.h.

References m_flags.

Referenced by SaveToDB(), Guild::SendNewsUpdate(), and WritePacket().

◆ GetPlayerGuid()

uint64 Guild::NewsLogEntry::GetPlayerGuid ( ) const
inline

Definition at line 518 of file Guild.h.

References HIGHGUID_PLAYER, m_playerGuid, and MAKE_NEW_GUID().

Referenced by SaveToDB(), Guild::SendNewsUpdate(), and WritePacket().

◆ GetType()

GuildNews Guild::NewsLogEntry::GetType ( ) const
inline

Definition at line 517 of file Guild.h.

References m_type.

Referenced by SaveToDB(), Guild::SendNewsUpdate(), and WritePacket().

◆ GetValue()

uint32 Guild::NewsLogEntry::GetValue ( ) const
inline

Definition at line 519 of file Guild.h.

References m_value.

Referenced by SaveToDB(), Guild::SendNewsUpdate(), and WritePacket().

◆ SaveToDB()

◆ SetSticky()

void Guild::NewsLogEntry::SetSticky ( bool sticky)
inline

Definition at line 521 of file Guild.h.

References m_flags.

Referenced by Guild::HandleNewsSetSticky().

◆ WritePacket()

Member Data Documentation

◆ m_flags

uint32 Guild::NewsLogEntry::m_flags
private

Definition at line 535 of file Guild.h.

Referenced by GetFlags(), NewsLogEntry(), NewsLogEntry(), and SetSticky().

◆ m_playerGuid

uint32 Guild::NewsLogEntry::m_playerGuid
private

Definition at line 534 of file Guild.h.

Referenced by GetPlayerGuid(), NewsLogEntry(), and NewsLogEntry().

◆ m_type

GuildNews Guild::NewsLogEntry::m_type
private

Definition at line 533 of file Guild.h.

Referenced by GetType(), NewsLogEntry(), and NewsLogEntry().

◆ m_value

uint32 Guild::NewsLogEntry::m_value
private

Definition at line 536 of file Guild.h.

Referenced by GetValue(), NewsLogEntry(), and NewsLogEntry().


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