Method GetTable
GetTable<T>(string?, bool, bool)
Gets the specified 2d array table.
public static TwoDimArray<T>? GetTable<T>(string? twoDimArrayName, bool useCache = true, bool checkCacheType = true) where T : class, ITwoDimArrayEntry, new()
Parameters
twoDimArrayNamestringThe table name to query.
useCacheboolEnables/disables caching of the decoded 2da for future use.
checkCacheTypeboolWhen using the cache, if the return type should be checked.
Returns
- TwoDimArray<T>
Type Parameters
TThe type of entries contained in this 2da.
Exceptions
- InvalidOperationException
Thrown if the entry type specified does not match the existing cache type and checkCacheType is set to true.
GetTable(string)
Gets the specified 2d array table.
public static TwoDimArray? GetTable(string twoDimArrayName)
Parameters
twoDimArrayNamestringThe table name to query.