NetworkEntityHandler
A delegate in Root.Township, Alta.Networking.
Callback that takes a NetworkEntity. Used by events such as Cookable.SwappedToCookedVersion and an entity's InitializationFinished.
- Listed in Networking and servers
- Inherits or implements
MulticastDelegate
Constructors
| Member | What it is |
|---|---|
NetworkEntityHandler(object object, IntPtr method) | Made by the compiler when you assign a method to this delegate; you don't call it directly. |
Methods
| Member | What it is |
|---|---|
virtual IAsyncResult BeginInvoke(NetworkEntity entity, AsyncCallback callback, object object) | Starts the call on another thread; not supported in Unity, so use Invoke. |
virtual void EndInvoke(IAsyncResult result) | Waits for a call started with BeginInvoke; not supported in Unity. |
virtual void Invoke(NetworkEntity entity) | Calls the handler with the entity. |
Used in
Members of other types that take, return or hold a NetworkEntityHandler:
Cookable.SwappedToBurntVersion, Cookable.SwappedToCookedVersion, StewComponent.HandleCookableStateChange, StewComponent.StopHandlingCookableStateChange, NetworkEntity.ChildAdded, NetworkEntity.ChildRemoved, NetworkEntity.InitializationFinished, IPopulationRemovalMethod.RemoveFromPopulation, Pickup.Alta.Populations.IPopulationRemovalMethod.RemoveFromPopulation, Pickup.removeFromPopulation, PlayerController.setEntityOwnerHandler.