Click or drag to resize

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
C#
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: Boolean
A loaded boolean value or the specified error value if the key was not found
See Also