EntityDespawnedHandler
A delegate in Root.Township, Alta.Networking.
Handler for an entity being removed by the scene, with isUnload telling whether it was unloaded rather than destroyed. Used by NetworkEntity.DestroyedByScene.
- Listed in Networking and servers
- Inherits or implements
MulticastDelegate
Constructors
| Member | What it is |
|---|---|
EntityDespawnedHandler(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, bool isUnload, 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, bool isUnload) | Calls every method on this delegate with these arguments. |
Used in
Members of other types that take, return or hold a EntityDespawnedHandler: