Interface INetworkObject
Interface for objects for network replication to receive additional events.
Namespace: FlaxEngine.Networking
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public interface INetworkObject
Methods
OnNetworkDeserialize()
Event called when network object gets replicated (after reading data).
Declaration
[Unmanaged]
void OnNetworkDeserialize()
OnNetworkDespawn()
Event called when network object gets despawned.
Declaration
[Unmanaged]
void OnNetworkDespawn()
OnNetworkSerialize()
Event called before network object gets replicated (before reading data).
Declaration
[Unmanaged]
void OnNetworkSerialize()
OnNetworkSpawn()
Event called when network object gets spawned.
Declaration
[Unmanaged]
void OnNetworkSpawn()
OnNetworkSync()
Event called when network object gets synced (called only once upon initial sync).
Declaration
[Unmanaged]
void OnNetworkSync()