Table of Contents

Method ParseObject

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

ParseObject(string)

Resolves the specified GameObject ID string to an object.
This is the temporary ID created from ToString(). See ToNwObject(Guid) to parse persistent UUIDs.

public static NwObject? ParseObject(this string objectIdString)

Parameters

objectIdString string

The object ID string to parse.

Returns

NwObject

The NwObject associated with the specified object ID.

ParseObject<T>(string)

Resolves the specified GameObject ID string to an object.
This is the temporary ID created from ToString(). See ToNwObject(Guid) to parse persistent UUIDs.

public static T? ParseObject<T>(this string objectIdString) where T : NwObject

Parameters

objectIdString string

The object ID string to parse.

Returns

T

The NwObject associated with the specified object ID.

Type Parameters

T