TrinityCore
WorldPackets::CombatLog::CombatLogServerPacket Class Reference

#include <CombatLogPacketsCommon.h>

+ Inheritance diagram for WorldPackets::CombatLog::CombatLogServerPacket:

Public Member Functions

 CombatLogServerPacket (OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
 
WorldPacket const * GetFullLogPacket () const
 
WorldPacket const * GetBasicLogPacket () const
 
- Public Member Functions inherited from WorldPackets::ServerPacket
 ServerPacket (OpcodeServer opcode, size_t initialSize=200, ConnectionType connection=CONNECTION_TYPE_DEFAULT)
 
void Read () override final
 
void Clear ()
 
WorldPacket && Move ()
 
void ShrinkToFit ()
 
OpcodeServer GetOpcode () const
 
- Public Member Functions inherited from WorldPackets::Packet
 Packet (WorldPacket &&worldPacket)
 
virtual ~Packet ()=default
 
 Packet (Packet const &right)=delete
 
Packetoperator= (Packet const &right)=delete
 
virtual WorldPacket const * Write ()=0
 
virtual void Read ()=0
 
WorldPacket const * GetRawPacket () const
 
size_t GetSize () const
 
ConnectionType GetConnection () const
 

Public Attributes

Spells::SpellCastLogData LogData
 

Protected Member Functions

template<typename T >
void operator<< (T const &val)
 
void WriteLogDataBit ()
 
void FlushBits ()
 
bool WriteBit (bool bit)
 
void WriteBits (uint32 value, uint32 bitCount)
 
ByteBufferWriteLogData ()
 

Protected Attributes

WorldPacket _fullLogPacket
 
- Protected Attributes inherited from WorldPackets::Packet
WorldPacket _worldPacket
 

Detailed Description

Definition at line 109 of file CombatLogPacketsCommon.h.

Constructor & Destructor Documentation

◆ CombatLogServerPacket()

WorldPackets::CombatLog::CombatLogServerPacket::CombatLogServerPacket ( OpcodeServer  opcode,
size_t  initialSize = 200,
ConnectionType  connection = CONNECTION_TYPE_DEFAULT 
)
inline

Definition at line 112 of file CombatLogPacketsCommon.h.

Member Function Documentation

◆ FlushBits()

void WorldPackets::CombatLog::CombatLogServerPacket::FlushBits ( )
inlineprotected

Definition at line 134 of file CombatLogPacketsCommon.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetBasicLogPacket()

WorldPacket const * WorldPackets::CombatLog::CombatLogServerPacket::GetBasicLogPacket ( ) const
inline

Definition at line 116 of file CombatLogPacketsCommon.h.

+ Here is the caller graph for this function:

◆ GetFullLogPacket()

WorldPacket const * WorldPackets::CombatLog::CombatLogServerPacket::GetFullLogPacket ( ) const
inline

Definition at line 115 of file CombatLogPacketsCommon.h.

+ Here is the caller graph for this function:

◆ operator<<()

template<typename T >
void WorldPackets::CombatLog::CombatLogServerPacket::operator<< ( T const &  val)
inlineprotected

Definition at line 122 of file CombatLogPacketsCommon.h.

◆ WriteBit()

bool WorldPackets::CombatLog::CombatLogServerPacket::WriteBit ( bool  bit)
inlineprotected

Definition at line 140 of file CombatLogPacketsCommon.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ WriteBits()

void WorldPackets::CombatLog::CombatLogServerPacket::WriteBits ( uint32  value,
uint32  bitCount 
)
inlineprotected

Definition at line 147 of file CombatLogPacketsCommon.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ WriteLogData()

ByteBuffer & WorldPackets::CombatLog::CombatLogServerPacket::WriteLogData ( )
protected

Definition at line 215 of file CombatLogPacketsCommon.cpp.

+ Here is the caller graph for this function:

◆ WriteLogDataBit()

void WorldPackets::CombatLog::CombatLogServerPacket::WriteLogDataBit ( )
inlineprotected

Definition at line 128 of file CombatLogPacketsCommon.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ _fullLogPacket

WorldPacket WorldPackets::CombatLog::CombatLogServerPacket::_fullLogPacket
protected

Definition at line 155 of file CombatLogPacketsCommon.h.

◆ LogData

Spells::SpellCastLogData WorldPackets::CombatLog::CombatLogServerPacket::LogData

Definition at line 118 of file CombatLogPacketsCommon.h.


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