Drag[en]gine Game Engine
1.21
|
Network Value Class. More...
#include <deNetworkValue.h>
Public Types | |
enum | eValueFormats { evfSInt8 , evfUInt8 , evfSInt16 , evfUInt16 , evfSInt32 , evfUInt32 , evfSInt64 , evfUInt64 , evfFloat16 , evfFloat32 , evfFloat64 } |
Value formats. More... | |
typedef deTObjectReference< deNetworkValue > | Ref |
Type holding strong reference. More... | |
Public Types inherited from deObject | |
typedef deTObjectReference< deObject > | Ref |
Type holding strong reference. More... | |
Public Member Functions | |
Visiting | |
virtual void | Visit (deNetworkValueVisitor &visitor) |
Visit network value. More... | |
Public Member Functions inherited from deObject | |
int | GetRefCount () const |
Reference count. More... | |
void | AddReference () |
Add reference increasing reference count by 1. More... | |
void | FreeReference () |
Decrease reference count by one and delete object if count reaches 0. More... | |
deObject () | |
Create object with reference count of 1. More... | |
Constructors and Destructors | |
deNetworkValue () | |
Create network value object. More... | |
virtual | ~deNetworkValue () |
Clean up network value object. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from deObject | |
virtual | ~deObject () |
Clean up object. More... | |
Network Value Class.
Defines a value in a network state. Network state properties are defined by a name that is unique inside the parent network state. The type indicates what kind of value is stored in the value. A set of typical types is provided which should be enough to represent states across the network. In addtion each network state value has also a predictor assigned. Predictors are used to cut down on the number of packets send over the network by predicting the upcoming value of a value according to rules.
Type holding strong reference.
Value formats.
deNetworkValue::deNetworkValue | ( | ) |
Create network value object.
|
protectedvirtual |
Clean up network value object.
|
virtual |
Visit network value.
Reimplemented in deNetworkValueVector3, deNetworkValueVector2, deNetworkValueString, deNetworkValueQuaternion, deNetworkValuePoint3, deNetworkValuePoint2, deNetworkValueInteger, deNetworkValueFloat, and deNetworkValueData.