Table of Contents

Method CreateUniqueHandler

Namespace
Anvil.Services
Assembly
NWN.Anvil.dll

CreateUniqueHandler(Func<CallInfo, ScriptHandleResult>)

Creates a unique script callback handle for the specified callback method.
The returned handle can be used for certain API functions that take a script name as a parameter.

public ScriptCallbackHandle CreateUniqueHandler(Func<CallInfo, ScriptHandleResult> handler)

Parameters

handler Func<CallInfo, ScriptHandleResult>

The callback function.

Returns

ScriptCallbackHandle

The callback handle.