com.onlineobject.objectnet Namespace

NetworkBehaviour Members

The NetworkBehaviour type exposes the following members.

Methods


  Name Description
Public method InitializeSynchonizedFields
Initializes all synchronized fields based on their types.
Public method InternalNetworkAwake
Called when the network object is awakened. Executes different initialization methods based on the current behavior mode (Active or Passive).
Public method InternalNetworkFixedUpdate
Called every fixed framerate frame. Executes different fixed update methods based on the current behavior mode (Active or Passive).
Public method InternalNetworkLateUpdate
Called after all Update functions have been called. Executes different late update methods based on the current behavior mode (Active or Passive).
Public method InternalNetworkStart
Called when the network object is started. Executes different start methods based on the current behavior mode (Active or Passive).
Public method InternalNetworkUpdate
Called every frame to update the network object. Executes different update methods based on the current behavior mode (Active or Passive).
Public method OnDespawned
Called when the network object is despawned. Invokes the corresponding method.
Public method OnMessageReceived
Called when a message is received from the network.
Public method OnNetworkStarted
Virtual method to be overridden by derived classes to perform actions when the network starts.
Public method OnSpawned
Called when the network object is spawned. Invokes the corresponding method and triggers the network start event for passive execution.
Public method RegisterSynchonizedField
Registers a field to be synchronized if it is not already registered.
Public method StartNetwork
Starts the network behavior and collects method implementations.