Get config value.
Namespace:
GeonBit.Managers
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public T Get<T>(
string key,
Nullable<GameFilesFileFormats> forceFormat = null
)
Parameters
- key
- Type: SystemString
Config key. - forceFormat (Optional)
- Type: SystemNullableGameFilesFileFormats
If provided, will use this file format instead of the currently set 'FilesFormat'.
Type Parameters
- T
Return Value
Type:
TConfig value, or null if undefined.
See Also