IModPersistentDataLoadInt Method |
Attempt to load an integer value from the persistent store.
Namespace:
UMod
Assembly:
UMod-Interface (in UMod-Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax int LoadInt(
string key,
int errorValue = 0
)
Parameters
- key
- Type: SystemString
The key identifier as given when the data was saved - errorValue (Optional)
- Type: SystemInt32
The value to return if the specified key does not exist
Return Value
Type:
Int32A loaded integer value or the specified error value if the key was not found
See Also