com.onlineobject.objectnet Namespace

NetworkThreadDispatcher Methods

The NetworkThreadDispatcher type exposes the following members.

Methods


  Name Description
Public method Enqueue(IEnumerator)
Enqueues an IEnumerator action to be executed as a coroutine.
Public method Enqueue(IEnumerator, Single)
Enqueues an IEnumerator action to be executed as a coroutine after a delay.
Public method Enqueue(Action)
Enqueues an Action to be executed, potentially as a coroutine if configured.
Public method Enqueue(Action, Single)
Enqueues an Action to be executed after a delay, potentially as a coroutine if configured.
Public method EnqueueAsync
Enqueues an Action to be executed asynchronously and returns a Task representing the operation.
Public method FixedUpdate
Unity's FixedUpdate method called at a fixed time interval. Handles network clock updates and synchronization.
Public method GetConnection
Abstract method to get the network transport for a specific connection type.
Public method GetNetworkingMode
Abstract method to get the networking mode.
Public method GetSendRate
Abstract method to get the send rate for network synchronization.
Public method HasConnection
Abstract method to check if there is a connection of a specific type.
Public method Update
Unity's Update method called every frame. Handles immediate execution of actions and delayed actions.