CloudOnce v2.7.5
Unified Game Services API
CloudOnce.Internal.GameData Class Reference

Container class for the data the DataManager manages ;) More...

Public Member Functions

 GameData (string serializedData)
 
string[] GetAllKeys ()
 
string Serialize ()
 
string[] MergeWith (GameData otherData)
 Merges this GameData with another. More...
 

Properties

Dictionary< string, SyncableItemSyncableItems [get, set]
 
Dictionary< string, SyncableCurrencySyncableCurrencies [get, set]
 
bool IsDirty [get, set]
 

Detailed Description

Container class for the data the DataManager manages ;)

Member Function Documentation

◆ MergeWith()

string[] CloudOnce.Internal.GameData.MergeWith ( GameData  otherData)
inline

Merges this GameData with another.

Parameters
otherDataThe GameData to merge into this one.
Returns
A string array of the changed keys. Will be empty if no data changed.

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