Space Engineers
Public Member Functions | Public Attributes | Properties | List of all members
VRage.Network.MyClientStateBase Class Referenceabstract

Base class for game-defined client state. It's set of data required by server, sent from client. E.g. current client area of interest, context (game, terminal, inventory etc...) Abstract class for performance reasons (often casting) More...

Inheritance diagram for VRage.Network.MyClientStateBase:
Sandbox.Engine.Multiplayer.MyClientState Multiplayer.MySpaceClientState

Public Member Functions

abstract void Serialize (BitStream stream, bool outOfOrder)
 Serializes state into/from bit stream. EndpointId should be ignored. More...
 
abstract void Update ()
 

Public Attributes

MyTimeSpan ClientTimeStamp
 

Properties

EndpointId EndpointId [get, set]
 Client endpoint, don't serialize it in Serialize() More...
 
long SupportId [get, protected set]
 
virtual Vector3D Position [get, protected set]
 
abstract IMyReplicable ControlledReplicable [get]
 

Detailed Description

Base class for game-defined client state. It's set of data required by server, sent from client. E.g. current client area of interest, context (game, terminal, inventory etc...) Abstract class for performance reasons (often casting)

Definition at line 17 of file MyClientStateBase.cs.

Member Function Documentation

abstract void VRage.Network.MyClientStateBase.Serialize ( BitStream  stream,
bool  outOfOrder 
)
pure virtual

Serializes state into/from bit stream. EndpointId should be ignored.

Implemented in Sandbox.Engine.Multiplayer.MyClientState.

abstract void VRage.Network.MyClientStateBase.Update ( )
pure virtual

Member Data Documentation

MyTimeSpan VRage.Network.MyClientStateBase.ClientTimeStamp

Definition at line 30 of file MyClientStateBase.cs.

Property Documentation

abstract IMyReplicable VRage.Network.MyClientStateBase.ControlledReplicable
get

Definition at line 44 of file MyClientStateBase.cs.

EndpointId VRage.Network.MyClientStateBase.EndpointId
getset

Client endpoint, don't serialize it in Serialize()

Definition at line 22 of file MyClientStateBase.cs.

virtual Vector3D VRage.Network.MyClientStateBase.Position
getprotected set

Definition at line 37 of file MyClientStateBase.cs.

long VRage.Network.MyClientStateBase.SupportId
getprotected set

Definition at line 32 of file MyClientStateBase.cs.


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