TrinityCore
UpdateData Class Reference

#include <UpdateData.h>

Public Member Functions

 UpdateData (uint32 map)
 
 UpdateData (UpdateData &&right) noexcept
 
void AddDestroyObject (ObjectGuid guid)
 
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

 UpdateData (UpdateData const &right)=delete
 
UpdateDataoperator= (UpdateData const &right)=delete
 

Protected Attributes

uint32 m_map
 
uint32 m_blockCount
 
GuidSet m_destroyGUIDs
 
GuidSet m_outOfRangeGUIDs
 
ByteBuffer m_data
 

Detailed Description

Definition at line 36 of file UpdateData.h.

Constructor & Destructor Documentation

◆ UpdateData() [1/3]

UpdateData::UpdateData ( uint32  map)

Definition at line 23 of file UpdateData.cpp.

◆ UpdateData() [2/3]

UpdateData::UpdateData ( UpdateData &&  right)
inlinenoexcept

Definition at line 40 of file UpdateData.h.

◆ UpdateData() [3/3]

UpdateData::UpdateData ( UpdateData const &  right)
protecteddelete

Member Function Documentation

◆ AddDestroyObject()

void UpdateData::AddDestroyObject ( ObjectGuid  guid)

Definition at line 25 of file UpdateData.cpp.

+ Here is the caller graph for this function:

◆ AddOutOfRangeGUID() [1/2]

void UpdateData::AddOutOfRangeGUID ( GuidSet guids)

Definition at line 30 of file UpdateData.cpp.

+ Here is the caller graph for this function:

◆ AddOutOfRangeGUID() [2/2]

void UpdateData::AddOutOfRangeGUID ( ObjectGuid  guid)

Definition at line 35 of file UpdateData.cpp.

◆ AddUpdateBlock()

void UpdateData::AddUpdateBlock ( )
inline

Definition at line 49 of file UpdateData.h.

+ Here is the caller graph for this function:

◆ BuildPacket()

bool UpdateData::BuildPacket ( WorldPacket packet)

Definition at line 40 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 65 of file UpdateData.cpp.

+ Here is the call graph for this function:

◆ GetBuffer()

ByteBuffer & UpdateData::GetBuffer ( )
inline

Definition at line 50 of file UpdateData.h.

+ Here is the caller graph for this function:

◆ GetOutOfRangeGUIDs()

GuidSet const & UpdateData::GetOutOfRangeGUIDs ( ) const
inline

Definition at line 55 of file UpdateData.h.

◆ HasData()

bool UpdateData::HasData ( ) const
inline

Definition at line 52 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 59 of file UpdateData.h.

◆ m_data

ByteBuffer UpdateData::m_data
protected

Definition at line 62 of file UpdateData.h.

◆ m_destroyGUIDs

GuidSet UpdateData::m_destroyGUIDs
protected

Definition at line 60 of file UpdateData.h.

◆ m_map

uint32 UpdateData::m_map
protected

Definition at line 58 of file UpdateData.h.

◆ m_outOfRangeGUIDs

GuidSet UpdateData::m_outOfRangeGUIDs
protected

Definition at line 61 of file UpdateData.h.


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