AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "UpdateMask.h"
Public Types | |
enum | UpdateMaskCount { CLIENT_UPDATE_MASK_BITS = sizeof(ClientUpdateMaskType) * 8 } |
typedef uint32 | ClientUpdateMaskType |
Type representing how client reads update mask. More... | |
Public Member Functions | |
UpdateMask ()=default | |
UpdateMask (UpdateMask const &right) | |
~UpdateMask () | |
void | SetBit (uint32 index) |
void | UnsetBit (uint32 index) |
bool | GetBit (uint32 index) const |
void | AppendToPacket (ByteBuffer *data) |
uint32 | GetBlockCount () const |
uint32 | GetCount () const |
void | SetCount (uint32 valuesCount) |
void | Clear () |
UpdateMask & | operator= (UpdateMask const &right) |
UpdateMask & | operator&= (UpdateMask const &right) |
UpdateMask & | operator|= (UpdateMask const &right) |
UpdateMask | operator| (UpdateMask const &right) |
Private Attributes | |
uint32 | _fieldCount {0} |
uint32 | _blockCount {0} |
uint8 * | _bits {nullptr} |
Type representing how client reads update mask.
|
default |
|
inline |
References _bits, _blockCount, GetCount(), and SetCount().
|
inline |
References _bits, CLIENT_UPDATE_MASK_BITS, and GetBlockCount().
Referenced by Object::BuildValuesUpdate(), Corpse::BuildValuesUpdate(), GameObject::BuildValuesUpdate(), and Unit::BuildValuesUpdate().
|
inline |
References _bits, _blockCount, and CLIENT_UPDATE_MASK_BITS.
Referenced by Object::ClearUpdateMask().
|
inline |
References _bits.
Referenced by Object::BuildValuesUpdate(), Corpse::BuildValuesUpdate(), GameObject::BuildValuesUpdate(), and Unit::BuildValuesUpdate().
|
inline |
References _blockCount.
Referenced by AppendToPacket(), Object::BuildValuesUpdate(), Corpse::BuildValuesUpdate(), GameObject::BuildValuesUpdate(), and Unit::BuildValuesUpdate().
|
inline |
|
inline |
References _bits, _fieldCount, ASSERT, and GetCount().
|
inline |
References _bits, _blockCount, CLIENT_UPDATE_MASK_BITS, GetCount(), and SetCount().
|
inline |
|
inline |
References _bits, _fieldCount, ASSERT, and GetCount().
|
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().
|
inline |
References _bits, _blockCount, _fieldCount, and CLIENT_UPDATE_MASK_BITS.
Referenced by Object::_InitValues(), Object::BuildValuesUpdate(), Corpse::BuildValuesUpdate(), GameObject::BuildValuesUpdate(), Unit::BuildValuesUpdate(), operator=(), and UpdateMask().
|
inline |
|
private |
Referenced by AppendToPacket(), Clear(), GetBit(), operator&=(), operator=(), operator|=(), SetBit(), SetCount(), UnsetBit(), UpdateMask(), and ~UpdateMask().
|
private |
Referenced by Clear(), GetBlockCount(), operator=(), SetCount(), and UpdateMask().
|
private |
Referenced by GetCount(), operator&=(), operator|=(), and SetCount().