|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <UpdateMask.h>
Public Types | |
| typedef uint32 | ClientUpdateMaskType |
| Type representing how client reads update mask. | |
| enum | UpdateMaskCount { CLIENT_UPDATE_MASK_BITS = sizeof(ClientUpdateMaskType) * 8 } |
Public Member Functions | |
| void | AppendToPacket (ByteBuffer *data) |
| void | Clear () |
| bool | GetBit (uint32 index) const |
| uint32 | GetBlockCount () const |
| uint32 | GetCount () const |
| UpdateMask & | operator&= (UpdateMask const &right) |
| UpdateMask & | operator= (UpdateMask const &right) |
| UpdateMask | operator| (UpdateMask const &right) |
| UpdateMask & | operator|= (UpdateMask const &right) |
| void | SetBit (uint32 index) |
| void | SetCount (uint32 valuesCount) |
| void | UnsetBit (uint32 index) |
| UpdateMask () | |
| UpdateMask (UpdateMask const &right) | |
| ~UpdateMask () | |
Private Attributes | |
| uint8 * | _bits |
| uint32 | _blockCount |
| uint32 | _fieldCount |
Definition at line 13 of file UpdateMask.h.
Type representing how client reads update mask.
Definition at line 17 of file UpdateMask.h.
| Enumerator | |
|---|---|
| CLIENT_UPDATE_MASK_BITS | |
Definition at line 19 of file UpdateMask.h.
|
inline |
Definition at line 24 of file UpdateMask.h.
References _bits, _blockCount, and _fieldCount.
Referenced by operator&=(), operator=(), operator|(), operator|=(), and UpdateMask().
|
inline |
Definition at line 26 of file UpdateMask.h.
References _bits, _blockCount, GetCount(), SetCount(), and UpdateMask().
|
inline |
Definition at line 32 of file UpdateMask.h.
References _bits.
|
inline |
Definition at line 38 of file UpdateMask.h.
References _bits, CLIENT_UPDATE_MASK_BITS, and GetBlockCount().
Referenced by GameObject::BuildValuesUpdate(), Object::BuildValuesUpdate(), and Unit::BuildValuesUpdate().
|
inline |
Definition at line 65 of file UpdateMask.h.
References _bits, _blockCount, and CLIENT_UPDATE_MASK_BITS.
|
inline |
Definition at line 36 of file UpdateMask.h.
References _bits.
|
inline |
Definition at line 51 of file UpdateMask.h.
References _blockCount.
Referenced by AppendToPacket(), GameObject::BuildValuesUpdate(), Object::BuildValuesUpdate(), and Unit::BuildValuesUpdate().
|
inline |
Definition at line 52 of file UpdateMask.h.
References _fieldCount.
Referenced by operator&=(), operator=(), operator|=(), and UpdateMask().
|
inline |
Definition at line 81 of file UpdateMask.h.
References _bits, _fieldCount, ASSERT, GetCount(), and UpdateMask().
|
inline |
Definition at line 71 of file UpdateMask.h.
References _bits, _blockCount, CLIENT_UPDATE_MASK_BITS, GetCount(), SetCount(), and UpdateMask().
|
inline |
Definition at line 99 of file UpdateMask.h.
References UpdateMask().
|
inline |
Definition at line 90 of file UpdateMask.h.
References _bits, _fieldCount, ASSERT, GetCount(), and UpdateMask().
|
inline |
Definition at line 34 of file UpdateMask.h.
References _bits.
Referenced by GameObject::BuildValuesUpdate(), Object::BuildValuesUpdate(), and Unit::BuildValuesUpdate().
|
inline |
Definition at line 54 of file UpdateMask.h.
References _bits, _blockCount, _fieldCount, and CLIENT_UPDATE_MASK_BITS.
Referenced by GameObject::BuildValuesUpdate(), Object::BuildValuesUpdate(), Unit::BuildValuesUpdate(), operator=(), and UpdateMask().
|
inline |
Definition at line 35 of file UpdateMask.h.
References _bits.
|
private |
Definition at line 109 of file UpdateMask.h.
Referenced by AppendToPacket(), Clear(), GetBit(), operator&=(), operator=(), operator|=(), SetBit(), SetCount(), UnsetBit(), UpdateMask(), UpdateMask(), and ~UpdateMask().
|
private |
Definition at line 108 of file UpdateMask.h.
Referenced by Clear(), GetBlockCount(), operator=(), SetCount(), UpdateMask(), and UpdateMask().
|
private |
Definition at line 107 of file UpdateMask.h.
Referenced by GetCount(), operator&=(), operator|=(), SetCount(), and UpdateMask().