Table of Contents

Method Get2DA

Namespace
Anvil.Services
Assembly
NWN.Anvil.dll

Get2DA<T>(string, bool)

Deserializes the given 2da using the specified format.

public T? Get2DA<T>(string name, bool forceRefresh = false) where T : ITwoDimArray, new()

Parameters

name string

The name of the 2DA resource.

forceRefresh bool

If true, always reloads the 2DA instead of using a cached version.

Returns

T

The deserialized 2DA.

Type Parameters

T

The ITwoDimArray type to use to deserialize.