Table of Contents

Method GetTable

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

GetTable<T>(string)

Interprets the specified value as a table index, and returns the associated table entry.

public TwoDimArray<T>? GetTable<T>(string columnName) where T : class, ITwoDimArrayEntry, new()

Parameters

columnName string

The name/label of the column to query.

Returns

TwoDimArray<T>

The associated value, otherwise the default array entry value (typically null)

Type Parameters

T

The type of table entry.

GetTable<T>(int)

Interprets the specified value as a table index, and returns the associated table entry.

public TwoDimArray<T>? GetTable<T>(int columnIndex) where T : class, ITwoDimArrayEntry, new()

Parameters

columnIndex int

The index of the column to query.

Returns

TwoDimArray<T>

The associated value, otherwise the default array entry value (typically null)

Type Parameters

T

The type of table entry.