deNetworkState Class Reference

Network State Class. More...

#include <deNetworkState.h>

Inheritance diagram for deNetworkState:
deResource deObject

List of all members.

Public Member Functions

Constructors and Destructors
 deNetworkState (deNetworkStateManager *manager)
 Creates a new network state object.
virtual ~deNetworkState ()
 Cleans up the network state object.
Management
deResourceGetParent () const
 Retrieves the parent resource.
void SetParent (deResource *parent)
 Sets the parent resource.
bool IsValidParent (deResource *parent) const
 Determines if the given resource is a valid parent.
Properties
int GetValueCount () const
 Retrieves the number of properties.
int IndexOfValue (deNetworkValue *value) const
 Retrieves the index of the given value.
deNetworkValueGetValueAt (int index) const
 Retrieves the value at the given index.
void AddValue (deNetworkValue *value)
 Adds a value.
void NotifyValueChanged (int index) const
 Notifies the network peer that the given value changed.
System Peers
deBaseNetworkStateGetNetworkState () const
 Retrieves the network system peer object.
void SetNetworkState (deBaseNetworkState *netState)
 Sets the network system peer object.
deBaseScriptingNetworkStateGetScriptingNetworkState () const
 Retrieves the scripting system peer object.
void SetScriptingNetworkState (deBaseScriptingNetworkState *scrState)
 Sets the scripting system peer object.

Detailed Description

Network State Class.

Stores the state of a game object. States can be positional if attached to a World or positionless if attached to a network player. Only attached network states are updated and monitored.

Author:
Plüss Roland
Version:
1.0
Date:
2008

Constructor & Destructor Documentation

deNetworkState::deNetworkState ( deNetworkStateManager manager )

Creates a new network state object.

virtual deNetworkState::~deNetworkState (  ) [virtual]

Cleans up the network state object.


Member Function Documentation

void deNetworkState::AddValue ( deNetworkValue value )

Adds a value.

deBaseNetworkState* deNetworkState::GetNetworkState (  ) const [inline]

Retrieves the network system peer object.

deResource* deNetworkState::GetParent (  ) const [inline]

Retrieves the parent resource.

deBaseScriptingNetworkState* deNetworkState::GetScriptingNetworkState (  ) const [inline]

Retrieves the scripting system peer object.

deNetworkValue* deNetworkState::GetValueAt ( int  index ) const

Retrieves the value at the given index.

int deNetworkState::GetValueCount (  ) const [inline]

Retrieves the number of properties.

int deNetworkState::IndexOfValue ( deNetworkValue value ) const

Retrieves the index of the given value.

bool deNetworkState::IsValidParent ( deResource parent ) const

Determines if the given resource is a valid parent.

void deNetworkState::NotifyValueChanged ( int  index ) const

Notifies the network peer that the given value changed.

void deNetworkState::SetNetworkState ( deBaseNetworkState netState )

Sets the network system peer object.

void deNetworkState::SetParent ( deResource parent )

Sets the parent resource.

void deNetworkState::SetScriptingNetworkState ( deBaseScriptingNetworkState scrState )

Sets the scripting system peer object.


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