SpawnHelper.SpawningCallback
A delegate in Root.Township, the global namespace.
Callback used by SpawnHelper.Spawn. One is called just after the entity is created (to position it), the other after server initialization and before it is put in a chunk.
- Listed in Global namespace: S
- Nested in
SpawnHelper - Inherits or implements
MulticastDelegate
Constructors
| Member | What it is |
|---|---|
SpawningCallback(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 networkEntity, 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 networkEntity) | Calls the callback with the new entity. |
Used in
Members of other types that take, return or hold a SpawningCallback: