Table of Contents

Delegate GameEventHandler<TArgs>

Namespace
SkyrimForge
Assembly
SkyrimForge.dll

Handles a game event. The game waits for the handler to return.

public delegate void GameEventHandler<TArgs>(TArgs args) where TArgs : struct

Parameters

args TArgs
Handles a game event. The game waits for the handler to return.

Type Parameters

TArgs

Remarks

A thrown exception is logged, and the handler's subscription is removed.

Constructors

GameEventHandler(object, nint)

public GameEventHandler(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(TArgs, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(TArgs args, AsyncCallback callback, object @object)

Parameters

args TArgs
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(TArgs)

public virtual void Invoke(TArgs args)

Parameters

args TArgs