Method Get2DA
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
namestringThe name of the 2DA resource.
forceRefreshboolIf true, always reloads the 2DA instead of using a cached version.
Returns
- T
The deserialized 2DA.
Type Parameters
TThe ITwoDimArray type to use to deserialize.