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

#include <UpdateData.h>

Public Member Functions

 UpdateData (uint32 map)
 
 UpdateData (UpdateData &&right) noexcept
 
UpdateDataoperator= (UpdateData &&right) noexcept
 
 ~UpdateData ()
 
void AddDestroyObject (ObjectGuid guid)
 
void AddOutOfRangeGUID (ObjectGuid guid)
 
void AddUpdateBlock ()
 
ByteBufferGetBuffer ()
 
bool BuildPacket (WorldPacket *packet)
 
bool HasData () const
 
void Clear ()
 

Protected Member Functions

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

Protected Attributes

uint32 m_map
 
uint32 m_blockCount
 
Trinity::Containers::FlatSet< ObjectGuidm_destroyGUIDs
 
Trinity::Containers::FlatSet< ObjectGuidm_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)
noexcept

Definition at line 25 of file UpdateData.cpp.

◆ ~UpdateData()

UpdateData::~UpdateData ( )
default

◆ UpdateData() [3/3]

UpdateData::UpdateData ( UpdateData const &  right)
protecteddelete

Member Function Documentation

◆ AddDestroyObject()

void UpdateData::AddDestroyObject ( ObjectGuid  guid)

Definition at line 48 of file UpdateData.cpp.

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

◆ AddOutOfRangeGUID()

void UpdateData::AddOutOfRangeGUID ( ObjectGuid  guid)

Definition at line 53 of file UpdateData.cpp.

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

◆ AddUpdateBlock()

void UpdateData::AddUpdateBlock ( )
inline

Definition at line 46 of file UpdateData.h.

+ Here is the caller graph for this function:

◆ BuildPacket()

bool UpdateData::BuildPacket ( WorldPacket packet)

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

+ Here is the call graph for this function:

◆ GetBuffer()

ByteBuffer & UpdateData::GetBuffer ( )
inline

Definition at line 47 of file UpdateData.h.

+ Here is the caller graph for this function:

◆ HasData()

bool UpdateData::HasData ( ) const
inline

Definition at line 49 of file UpdateData.h.

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

◆ operator=() [1/2]

UpdateData & UpdateData::operator= ( UpdateData &&  right)
noexcept

Definition at line 33 of file UpdateData.cpp.

◆ operator=() [2/2]

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

Member Data Documentation

◆ m_blockCount

uint32 UpdateData::m_blockCount
protected

Definition at line 54 of file UpdateData.h.

◆ m_data

ByteBuffer UpdateData::m_data
protected

Definition at line 57 of file UpdateData.h.

◆ m_destroyGUIDs

Trinity::Containers::FlatSet<ObjectGuid> UpdateData::m_destroyGUIDs
protected

Definition at line 55 of file UpdateData.h.

◆ m_map

uint32 UpdateData::m_map
protected

Definition at line 53 of file UpdateData.h.

◆ m_outOfRangeGUIDs

Trinity::Containers::FlatSet<ObjectGuid> UpdateData::m_outOfRangeGUIDs
protected

Definition at line 56 of file UpdateData.h.


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