Table of Contents

Operator implicit operator

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

implicit operator Effect?(nint)

Converts a native pointer to an Effect instance. Returns null if the pointer is zero.

public static implicit operator Effect?(nint intPtr)

Parameters

intPtr nint

The native engine pointer to a game effect.

Returns

Effect

An Effect instance, or null for a null pointer.