Table of Contents

Operator implicit operator

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

implicit operator Location?(nint)

Converts a native pointer to a Location.

public static implicit operator Location?(nint intPtr)

Parameters

intPtr nint

The native pointer to the location engine structure.

Returns

Location

The wrapped location when intPtr is non-zero; otherwise null.