CloudOnce v2.7.5
Unified Game Services API
All Classes Namespaces Functions Enumerations Properties Events
CloudOnce.Internal.IPersistent Interface Reference

Used by cloud preferences to facilitate loading and saving of data. More...

Inheritance diagram for CloudOnce.Internal.IPersistent:
[legend]

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 ()
 Resets the IPersistent to default/initial value. More...
 

Detailed Description

Used by cloud preferences to facilitate loading and saving of data.

Member Function Documentation

◆ Flush()

void CloudOnce.Internal.IPersistent.Flush ( )

Invokes the cloud preference's delegate used to save data.

Implemented in CloudOnce.Internal.PersistentCurrency, and CloudOnce.Internal.PersistentValue< T >.

◆ Load()

void CloudOnce.Internal.IPersistent.Load ( bool  force = false)

Invokes the cloud preference's delegate used to load data.

Parameters
forceForce load, ignoring PersistenceType.

Implemented in CloudOnce.Internal.PersistentCurrency, and CloudOnce.Internal.PersistentValue< T >.

◆ Reset()

void CloudOnce.Internal.IPersistent.Reset ( )

Resets the IPersistent to default/initial value.

Implemented in CloudOnce.Internal.PersistentCurrency, and CloudOnce.Internal.PersistentValue< T >.


The documentation for this interface was generated from the following file: