Table of Contents

Method GetTable

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

GetTable<T>(int, string)

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

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

Parameters

rowIndex int

The index of the row to query.

columnName string

The name/label of the column to query.

Returns

TwoDimArray<T>

The associated value, otherwise null.

Type Parameters

T

The type of table entry.

GetTable<T>(int, int)

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

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

Parameters

rowIndex int

The index of the row to query.

columnIndex int

The index of the column to query.

Returns

TwoDimArray<T>

The associated value, otherwise null.

Type Parameters

T

The type of table entry.