Table of Contents

Method FromRaceId

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

FromRaceId(ushort?)

Creates a race structure from the specified race id.

public static NwRace? FromRaceId(ushort? raceId)

Parameters

raceId ushort?

The associated race id.

Returns

NwRace

The associated NwRace structure, or null if the race has no matching entry.

FromRaceId(int?)

Resolves a NwRace from a race id.

public static NwRace? FromRaceId(int? raceId)

Parameters

raceId int?

The id of the race to resolve.

Returns

NwRace

The associated NwRace instance. Null if the race id is invalid.