Drag[en]gine Game Engine  1.0
deNetworkValue Class Reference

Network Value Class. More...

#include <deNetworkValue.h>

Inheritance diagram for deNetworkValue:
deNetworkValueData deNetworkValueFloat deNetworkValueInteger deNetworkValuePoint2 deNetworkValuePoint3 deNetworkValueQuaternion deNetworkValueString deNetworkValueVector2 deNetworkValueVector3

Public Types

enum  eValueFormats {
  evfSInt8, evfUInt8, evfSInt16, evfUInt16,
  evfSInt32, evfUInt32, evfFloat16, evfFloat32,
  evfFloat64
}
 

Public Member Functions

Constructors and Destructors
 deNetworkValue ()
 
virtual ~deNetworkValue ()
 
Visiting
virtual void Visit (deNetworkValueVisitor *visitor)
 

Detailed Description

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.

Author
Pl├╝ss Roland
Version
1.0
Date
2008

Member Enumeration Documentation

◆ eValueFormats

Value formats.

Enumerator
evfSInt8 

8-Bit signed integer.

evfUInt8 

8-Bit unsigned integer.

evfSInt16 

16-Bit signed integer.

evfUInt16 

16-Bit unsigned integer.

evfSInt32 

32-Bit signed integer.

evfUInt32 

32-Bit unsigned integer.

evfFloat16 

16-Bit float.

evfFloat32 

32-Bit float.

evfFloat64 

64-Bit float.

Constructor & Destructor Documentation

◆ deNetworkValue()

deNetworkValue::deNetworkValue ( )

Creates a new network value object.

◆ ~deNetworkValue()

virtual deNetworkValue::~deNetworkValue ( )
virtual

Cleans up the network value object.

Member Function Documentation

◆ Visit()


The documentation for this class was generated from the following file: