#include "UpdateMask.h"
◆ ClientUpdateMaskType
Type representing how client reads update mask.
◆ UpdateMaskCount
Enumerator |
---|
CLIENT_UPDATE_MASK_BITS | |
31 {
33 };
@ CLIENT_UPDATE_MASK_BITS
Definition UpdateMask.h:32
uint32 ClientUpdateMaskType
Type representing how client reads update mask.
Definition UpdateMask.h:28
◆ UpdateMask() [1/2]
UpdateMask::UpdateMask |
( |
| ) |
|
|
default |
◆ UpdateMask() [2/2]
UpdateMask::UpdateMask |
( |
UpdateMask const & |
right | ) |
|
|
inline |
38 {
41 }
std::uint8_t uint8
Definition Define.h:109
uint8 * _bits
Definition UpdateMask.h:120
uint32 _blockCount
Definition UpdateMask.h:119
void SetCount(uint32 valuesCount)
Definition UpdateMask.h:65
References _bits, _blockCount, GetCount(), and SetCount().
◆ ~UpdateMask()
UpdateMask::~UpdateMask |
( |
| ) |
|
|
inline |
◆ AppendToPacket()
void UpdateMask::AppendToPacket |
( |
ByteBuffer * |
data | ) |
|
|
inline |
◆ Clear()
void UpdateMask::Clear |
( |
| ) |
|
|
inline |
◆ GetBit()
bool UpdateMask::GetBit |
( |
uint32 |
index | ) |
const |
|
inline |
◆ GetBlockCount()
uint32 UpdateMask::GetBlockCount |
( |
| ) |
const |
|
inline |
◆ GetCount()
uint32 UpdateMask::GetCount |
( |
| ) |
const |
|
inline |
◆ operator&=()
93 {
96 _bits[i] &= right._bits[i];
97
98 return *this;
99 }
#define ASSERT
Definition Errors.h:68
uint32 GetCount() const
Definition UpdateMask.h:63
References _bits, _fieldCount, ASSERT, and GetCount().
◆ operator=()
◆ operator|()
111 {
113 ret |= right;
114 return ret;
115 }
Definition UpdateMask.h:25
◆ operator|=()
◆ SetBit()
void UpdateMask::SetBit |
( |
uint32 |
index | ) |
|
|
inline |
References _bits.
Referenced by Object::_LoadIntoDataField(), Object::AddGuidValue(), Object::BuildValuesUpdate(), Corpse::BuildValuesUpdate(), GameObject::BuildValuesUpdate(), Unit::BuildValuesUpdate(), Object::ForceValuesUpdateAtIndex(), Object::RemoveByteFlag(), Object::RemoveFlag(), Object::RemoveGuidValue(), Object::SetByteFlag(), Object::SetByteValue(), Object::SetFlag(), Object::SetFloatValue(), Object::SetGuidValue(), Object::SetInt32Value(), Object::SetUInt16Value(), Object::SetUInt32Value(), Object::SetUInt64Value(), and Object::UpdateUInt32Value().
◆ SetCount()
void UpdateMask::SetCount |
( |
uint32 |
valuesCount | ) |
|
|
inline |
◆ UnsetBit()
void UpdateMask::UnsetBit |
( |
uint32 |
index | ) |
|
|
inline |
◆ _bits
uint8* UpdateMask::_bits {nullptr} |
|
private |
Referenced by AppendToPacket(), Clear(), GetBit(), operator&=(), operator=(), operator|=(), SetBit(), SetCount(), UnsetBit(), UpdateMask(), and ~UpdateMask().
◆ _blockCount
uint32 UpdateMask::_blockCount {0} |
|
private |
◆ _fieldCount
uint32 UpdateMask::_fieldCount {0} |
|
private |
The documentation for this class was generated from the following file:
- azerothcore-wotlk/src/server/game/Entities/Object/Updates/UpdateMask.h