com.onlineobject.objectnet Namespace

NetworkElement Members

The NetworkElement type exposes the following members.

Constructors


  Name Description
Public method NetworkElement(INetworkContainer, Int32)
Initializes a new instance of the NetworkElement class with a specified container and network ID.
Public method NetworkElement(INetworkContainer, BehaviorMode, Int32)
Initializes a new instance of the NetworkElement class with a specified container, behavior mode, and network ID.
Public method NetworkElement(INetworkContainer, GameObject, Int32)
Initializes a new instance of the NetworkElement class with a GameObject.
Public method NetworkElement(INetworkContainer, GameObject, BehaviorMode, Int32)
Initializes a new instance of the NetworkElement class with a GameObject and specified behavior mode.
Public method NetworkElement(INetworkContainer, MonoBehaviour, Int32)
Initializes a new instance of the NetworkElement class with a MonoBehaviour.
Public method NetworkElement(INetworkContainer, MonoBehaviour, BehaviorMode, Int32)
Initializes a new instance of the NetworkElement class with a MonoBehaviour and specified behavior mode.

Methods


  Name Description
Public method GetDeviceBehavior<(Of <<'(T>)>>)
Retrieves a device behavior of a specific type if it is registered.
Public method HasDeviceBehavior<(Of <<'(T>)>>)
Checks if a device behavior of a specific type is registered.
Public method Process
Processes the network element by first calling the base process method, then processing local and remote inputs.
Public method RegisterDeviceBehavior<(Of <<'(T, E>)>>)
Registers a device behavior to the network entity.
Public method SetToComputeLocalDevice
Sets the flag to determine whether to compute on the local device.
Public method SetToComputeRemoteDevice
Sets the flag to determine whether to compute on the remote device.
Public method UnregisterDeviceBehavior<(Of <<'(T>)>>)
Unregisters a device behavior of a specific type from the network entity.