Network Value Class. More...
#include <deNetworkValue.h>
Public Types | |
| enum | eValueFormats { evfSInt8, evfUInt8, evfSInt16, evfUInt16, evfSInt32, evfUInt32, evfFloat16, evfFloat32, evfFloat64 } |
Value formats. More... | |
Public Member Functions | |
Constructors and Destructors | |
| deNetworkValue () | |
| Creates a new network value object. | |
| virtual | ~deNetworkValue () |
| Cleans up the network value object. | |
Visiting | |
| virtual void | Visit (deNetworkValueVisitor *visitor) |
| Visits the collider. | |
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.
Value formats.
| deNetworkValue::deNetworkValue | ( | ) |
Creates a new network value object.
| virtual deNetworkValue::~deNetworkValue | ( | ) | [virtual] |
Cleans up the network value object.
| virtual void deNetworkValue::Visit | ( | deNetworkValueVisitor * | visitor ) | [virtual] |
Visits the collider.
Reimplemented in deNetworkValueData, deNetworkValueFloat, deNetworkValueInteger, deNetworkValuePoint2, deNetworkValuePoint3, deNetworkValueQuaternion, deNetworkValueString, deNetworkValueVector2, and deNetworkValueVector3.
1.7.2