IModPersistentDataLoadBool Method |
Attempts to load a boolean value from the persistent store.
Namespace:
UMod
Assembly:
UMod-Interface (in UMod-Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax bool LoadBool(
string key,
bool errorValue = false
)
Parameters
- key
- Type: SystemString
The key identifier as given when the data was saved - errorValue (Optional)
- Type: SystemBoolean
The value to return if the specified key does not exist
Return Value
Type:
BooleanA loaded boolean value or the specified error value if the key was not found
See Also