TrinityCore
Loading...
Searching...
No Matches
UpdateData Class Reference

#include <UpdateData.h>

Public Member Functions

 UpdateData ()
 
 UpdateData (UpdateData &&right)
 
void AddOutOfRangeGUID (GuidSet &guids)
 
void AddOutOfRangeGUID (ObjectGuid guid)
 
void AddUpdateBlock ()
 
ByteBufferGetBuffer ()
 
bool BuildPacket (WorldPacket *packet)
 
bool HasData () const
 
void Clear ()
 
GuidSet const & GetOutOfRangeGUIDs () const
 

Protected Member Functions

void Compress (void *dst, uint32 *dst_size, void *src, int src_size)
 
 UpdateData (UpdateData const &right)=delete
 
UpdateDataoperator= (UpdateData const &right)=delete
 

Protected Attributes

uint32 m_blockCount
 
GuidSet m_outOfRangeGUIDs
 
ByteBuffer m_data
 

Detailed Description

Definition at line 54 of file UpdateData.h.

Constructor & Destructor Documentation

◆ UpdateData() [1/3]

UpdateData::UpdateData ( )

Definition at line 26 of file UpdateData.cpp.

◆ UpdateData() [2/3]

UpdateData::UpdateData ( UpdateData &&  right)
inline

Definition at line 58 of file UpdateData.h.

◆ UpdateData() [3/3]

UpdateData::UpdateData ( UpdateData const &  right)
protecteddelete

Member Function Documentation

◆ AddOutOfRangeGUID() [1/2]

void UpdateData::AddOutOfRangeGUID ( GuidSet guids)

Definition at line 28 of file UpdateData.cpp.

+ Here is the caller graph for this function:

◆ AddOutOfRangeGUID() [2/2]

void UpdateData::AddOutOfRangeGUID ( ObjectGuid  guid)

Definition at line 33 of file UpdateData.cpp.

◆ AddUpdateBlock()

void UpdateData::AddUpdateBlock ( )
inline

Definition at line 66 of file UpdateData.h.

+ Here is the caller graph for this function:

◆ BuildPacket()

bool UpdateData::BuildPacket ( WorldPacket packet)

Definition at line 94 of file UpdateData.cpp.

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

◆ Clear()

void UpdateData::Clear ( )

Definition at line 137 of file UpdateData.cpp.

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

◆ Compress()

void UpdateData::Compress ( void *  dst,
uint32 dst_size,
void *  src,
int  src_size 
)
protected

Definition at line 38 of file UpdateData.cpp.

+ Here is the caller graph for this function:

◆ GetBuffer()

ByteBuffer & UpdateData::GetBuffer ( )
inline

Definition at line 67 of file UpdateData.h.

+ Here is the caller graph for this function:

◆ GetOutOfRangeGUIDs()

GuidSet const & UpdateData::GetOutOfRangeGUIDs ( ) const
inline

Definition at line 72 of file UpdateData.h.

◆ HasData()

bool UpdateData::HasData ( ) const
inline

Definition at line 69 of file UpdateData.h.

+ Here is the caller graph for this function:

◆ operator=()

UpdateData & UpdateData::operator= ( UpdateData const &  right)
protecteddelete

Member Data Documentation

◆ m_blockCount

uint32 UpdateData::m_blockCount
protected

Definition at line 75 of file UpdateData.h.

◆ m_data

ByteBuffer UpdateData::m_data
protected

Definition at line 77 of file UpdateData.h.

◆ m_outOfRangeGUIDs

GuidSet UpdateData::m_outOfRangeGUIDs
protected

Definition at line 76 of file UpdateData.h.


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