Table of Contents

Class CallInfo

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

Meta information for script calls, consumed by ScriptHandler attributed methods in service classes.

public sealed class CallInfo
Inheritance
CallInfo
Inherited Members
Extension Methods

Constructors

CallInfo(string, NwObject?)

Meta information for script calls, consumed by ScriptHandler attributed methods in service classes.

Properties

ObjectSelf

Gets the object that is currently running on this script.

ScriptName

Gets the name of the script that is being executing.

ScriptParams

Gets the parameters set for this script call.
NOTE: variable values are NOT guaranteed outside of this script context, and must be read before any async method/lambda is invoked.

ScriptType

Gets the event that triggered the execution of this script.

Methods

TryGetEvent<TEvent>(out TEvent?)

Attempts to get the current running event.