Show / Hide Table of Contents

Delegate ModEvents.OnEventExecute

Delegate for callbacks registered using RegisterCallback.

Namespace: Modding
Assembly: Assembly-CSharp.dll
Syntax
public delegate void OnEventExecute(LogicChain logic, IDictionary<string, EventProperty> properties);
Parameters
Type Name Description
LogicChain logic

The logic chain the event is a part of.

IDictionary<String, EventProperty> properties

Values of the event's properties.

Remarks

Properties contains the values of all the properties specified in the Event's definition.

Constructors

OnEventExecute(Object, IntPtr)

Declaration
public OnEventExecute(object object, IntPtr method)
Parameters
Type Name Description
Object object
IntPtr method

Methods

BeginInvoke(LogicChain, IDictionary<String, EventProperty>, AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(LogicChain logic, IDictionary<string, EventProperty> properties, AsyncCallback callback, object object)
Parameters
Type Name Description
LogicChain logic
IDictionary<String, EventProperty> properties
AsyncCallback callback
Object object
Returns
Type Description
IAsyncResult

EndInvoke(IAsyncResult)

Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Type Name Description
IAsyncResult result

Invoke(LogicChain, IDictionary<String, EventProperty>)

Declaration
public virtual void Invoke(LogicChain logic, IDictionary<string, EventProperty> properties)
Parameters
Type Name Description
LogicChain logic
IDictionary<String, EventProperty> properties
Back to top Generated by DocFX