CloudOnce v2.7.5
Unified Game Services API
|
A currency that is stored in the cloud. More...
Public Member Functions | |
void | Flush () |
Invokes the cloud preference's delegate used to save data. More... | |
void | Load (bool force=false) |
Invokes the cloud preference's delegate used to load data. More... | |
void | Reset () |
Use with caution! Completely resets currency. All additions and subtractions for every registered device are lost. More... | |
void | Flush () |
Invokes the cloud preference's delegate used to save data. More... | |
void | Load (bool force=false) |
Invokes the cloud preference's delegate used to load data. More... | |
void | Reset () |
Resets the IPersistent to default/initial value. More... | |
Protected Member Functions | |
PersistentCurrency (string key, float defaultValue, bool allowNegative) | |
A currency that is stored in the cloud.
|
inline |
Invokes the cloud preference's delegate
used to save data.
Implements CloudOnce.Internal.IPersistent.
|
inline |
Invokes the cloud preference's delegate
used to load data.
force | Force load, ignoring PersistenceType. |
Implements CloudOnce.Internal.IPersistent.
|
inline |
Use with caution! Completely resets currency. All additions and subtractions for every registered device are lost.
Implements CloudOnce.Internal.IPersistent.