Delegate ModTriggers.OnTriggerChanged
Used in conjunction with RegisterCallback.
Assembly: Assembly-CSharp.dll
Syntax
public delegate void OnTriggerChanged(Entity entity, Action activate, bool removed);
Parameters
Type |
Name |
Description |
Entity |
entity |
The entity that was modified.
|
Action |
activate |
Callback to activate the trigger on this entity. Null if removed.
|
Boolean |
removed |
Whether the trigger was removed from the entity and not added.
|
Constructors
OnTriggerChanged(Object, IntPtr)
Declaration
public OnTriggerChanged(object object, IntPtr method)
Parameters
Methods
BeginInvoke(Entity, Action, Boolean, AsyncCallback, Object)
Declaration
public virtual IAsyncResult BeginInvoke(Entity entity, Action activate, bool removed, AsyncCallback callback, object object)
Parameters
Returns
EndInvoke(IAsyncResult)
Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Invoke(Entity, Action, Boolean)
Declaration
public virtual void Invoke(Entity entity, Action activate, bool removed)
Parameters