Urho3D::DirtyBits Struct Reference

Dirty attribute bits structure for network replication. More...

#include <ReplicationState.h>

Public Member Functions

 DirtyBits ()
 Construct empty.
 
 DirtyBits (const DirtyBits &bits)
 Copy-construct.
 
void Set (unsigned index)
 Set a bit.
 
void Clear (unsigned index)
 Clear a bit.
 
void ClearAll ()
 Clear all bits.
 
bool IsSet (unsigned index) const
 Return if bit is set.
 
unsigned Count () const
 Return number of set bits.
 

Public Attributes

unsigned char data_ [MAX_NETWORK_ATTRIBUTES/8]
 Bit data.
 
unsigned char count_
 Number of set bits.
 

Detailed Description

Dirty attribute bits structure for network replication.


The documentation for this struct was generated from the following file:
  • /home/travis/build/urho3d/Urho3D/Source/Urho3D/Scene/ReplicationState.h