Class PrefabSpawnedEvent
Inheritance
System.Object
PrefabSpawnedEvent
Assembly: Sandbox.Game.dll
Syntax
[VisualScriptingEvent]
public sealed class PrefabSpawnedEvent : MulticastDelegate
Constructors
PrefabSpawnedEvent(Object, IntPtr)
Declaration
public PrefabSpawnedEvent(object object, IntPtr method)
Parameters
Type |
Name |
Description |
System.Object |
object |
|
System.IntPtr |
method |
|
Methods
BeginInvoke(Int64, String, AsyncCallback, Object)
Declaration
public virtual IAsyncResult BeginInvoke(long entityId, string prefabName, AsyncCallback callback, object object)
Parameters
Type |
Name |
Description |
System.Int64 |
entityId |
|
System.String |
prefabName |
|
System.AsyncCallback |
callback |
|
System.Object |
object |
|
Returns
Type |
Description |
System.IAsyncResult |
|
EndInvoke(IAsyncResult)
Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Type |
Name |
Description |
System.IAsyncResult |
result |
|
Invoke(Int64, String)
Declaration
public virtual void Invoke(long entityId, string prefabName)
Parameters
Type |
Name |
Description |
System.Int64 |
entityId |
|
System.String |
prefabName |
|