|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
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 |
|
inline |
Definition at line 509 of file Guild.h.
References Guild::LogEntry::LogEntry(), m_flags, m_playerGuid, m_type, and m_value.
|
inline |
Definition at line 512 of file Guild.h.
References Guild::LogEntry::LogEntry(), m_flags, m_playerGuid, m_type, and m_value.
|
inline |
Definition at line 520 of file Guild.h.
References m_flags.
Referenced by SaveToDB(), Guild::SendNewsUpdate(), and WritePacket().
|
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().
|
inline |
Definition at line 517 of file Guild.h.
References m_type.
Referenced by SaveToDB(), Guild::SendNewsUpdate(), and WritePacket().
|
inline |
Definition at line 519 of file Guild.h.
References m_value.
Referenced by SaveToDB(), Guild::SendNewsUpdate(), and WritePacket().
|
virtual |
Implements Guild::LogEntry.
Definition at line 301 of file Guild.cpp.
References CHAR_INS_GUILD_NEWS, CharacterDatabase, GetFlags(), Guild::GetGUID(), GetPlayerGuid(), Guild::LogEntry::GetTimestamp(), GetType(), GetValue(), Guild::LogEntry::m_guildId, PreparedStatement::setUInt32(), PreparedStatement::setUInt64(), and PreparedStatement::setUInt8().
|
inline |
Definition at line 521 of file Guild.h.
References m_flags.
Referenced by Guild::HandleNewsSetSticky().
|
virtual |
Implements Guild::LogEntry.
Definition at line 315 of file Guild.cpp.
References ByteBuffer::AppendPackedTime(), ByteBuffer::FlushBits(), GetFlags(), Guild::GetGUID(), GetPlayerGuid(), Guild::LogEntry::GetTimestamp(), GetType(), GetValue(), ByteBuffer::WriteBit(), ByteBuffer::WriteBits(), and ByteBuffer::WriteByteSeq().
Referenced by Guild::AddGuildNews(), and Guild::HandleNewsSetSticky().
|
private |
Definition at line 535 of file Guild.h.
Referenced by GetFlags(), NewsLogEntry(), NewsLogEntry(), and SetSticky().
|
private |
Definition at line 534 of file Guild.h.
Referenced by GetPlayerGuid(), NewsLogEntry(), and NewsLogEntry().
|
private |
Definition at line 533 of file Guild.h.
Referenced by GetType(), NewsLogEntry(), and NewsLogEntry().
|
private |
Definition at line 536 of file Guild.h.
Referenced by GetValue(), NewsLogEntry(), and NewsLogEntry().