| 
|   | CloudLong (string key, PersistenceType persistenceType, long value=0) | 
|   | Used to store longs in the cloud.  More...
  | 
|   | 
|   | CloudLong (string key, PersistenceType persistenceType, long value, long defaultValue) | 
|   | Used to store longs in the cloud.  More...
  | 
|   | 
| 
void  | Load (bool force=false) | 
|   | Invokes the ValueLoader. 
  | 
|   | 
| 
void  | Flush () | 
|   | Invokes the ValueSetter. 
  | 
|   | 
| 
void  | Reset () | 
|   | Resets the value back to it's default value. 
  | 
|   | 
 | 
|   | PersistentValue (string key, PersistenceType type, T value, T defaultValue, ValueLoaderDelegate valueLoader, ValueSetterDelegate valueSetter) | 
|   | A preference that is stored in the cloud. Automatically added to the DataManager.  More...
  | 
|   | 
| 
delegate T  | ValueLoaderDelegate (string key, T defaultValue) | 
|   | 
| 
delegate void  | ValueSetterDelegate (string key, T value, PersistenceType persistenceType) | 
|   | 
| 
string  | Key [get] | 
|   | The unique identifier used to identify this particular value. 
  | 
|   | 
| 
T  | Value [get, set] | 
|   | The current value for this preference. Takes PersistenceType into account when setting. 
  | 
|   | 
| 
PersistenceType  | PersistenceType [get] | 
|   | The method of conflict resolution to be used in case of a data conflict. Can happen if the data is altered by a different device. 
  | 
|   | 
| 
T  | DefaultValue [get] | 
|   | The value the preference will be set to if it is ever reset. 
  | 
|   | 
◆ CloudLong() [1/2]
  
  
      
        
          | CloudOnce.CloudPrefs.CloudLong.CloudLong  | 
          ( | 
          string  | 
          key,  | 
         
        
           | 
           | 
          PersistenceType  | 
          persistenceType,  | 
         
        
           | 
           | 
          long  | 
          value = 0  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Used to store longs in the cloud. 
- Parameters
 - 
  
    | key | A unique identifier used to identify this particular value. | 
    | persistenceType | The method of conflict resolution to be used in case of a data conflict. Can happen if the data is altered by a different device. PersistenceType.Latest will prefer the latest (newest) value. PersistenceType.Highest will prefer the highest value. PersistenceType.Lowest will prefer the lowest value.  | 
    | value | The starting value for this long. | 
  
   
 
 
◆ CloudLong() [2/2]
  
  
      
        
          | CloudOnce.CloudPrefs.CloudLong.CloudLong  | 
          ( | 
          string  | 
          key,  | 
         
        
           | 
           | 
          PersistenceType  | 
          persistenceType,  | 
         
        
           | 
           | 
          long  | 
          value,  | 
         
        
           | 
           | 
          long  | 
          defaultValue  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Used to store longs in the cloud. 
- Parameters
 - 
  
    | key | A unique identifier used to identify this particular value. | 
    | persistenceType | The method of conflict resolution to be used in case of a data conflict. Can happen if the data is altered by a different device. PersistenceType.Latest will prefer the latest (newest) value. PersistenceType.Highest will prefer the highest value. PersistenceType.Lowest will prefer the lowest value.  | 
    | value | The starting value for this long. | 
    | defaultValue | The value the long will be set to if it is ever reset. | 
  
   
 
 
The documentation for this class was generated from the following file:
- Assets/Extensions/CloudOnce/Data/CloudPrefs/CloudLong.cs