 | ConfigurationGetString Method |
Gets a string configuration value stored by your mod.
Returns defaultVal if the specified key does not exist for your mod or
the value stored at the specified key is not a string.
Namespace: spaar.ModLoaderAssembly: SpaarModLoader (in SpaarModLoader.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static string GetString(
string key,
string defaultVal
)
Parameters
- key
- Type: SystemString
Key of your value - defaultVal
- Type: SystemString
Default value
Return Value
Type:
StringThe retrieved value
See Also