PersistenceStorage Class
Works similar to Unity's PlayerPrefs, but stores data in cloud.
Namespace: Alteruna.TrinityAssembly: Alteruna.Trinity (in Alteruna.Trinity.dll) Version: 1.3.4
public class PersistenceStorage
- Inheritance
- Object PersistenceStorage
Delete |
Delete by key.
|
DeleteAll |
Delete all.
|
DeleteAllAsync |
Delete all asynchronously.
|
DeleteAsync |
Delete by key asynchronously.
|
GetFloat |
Get float by key.
If the key does not exist or the request fails, the default value will be returned.
If called on the main thread, consider using GetFloatAsync(String, Single) instead.
|
GetFloatAsync |
Get float by key asynchronously.
If the key does not exist or the request fails, the default value will be returned.
|
GetInt |
Get int32 by key.
If the key does not exist or the request fails, the default value will be returned.
If called on the main thread, consider using GetIntAsync(String, Int32) instead.
|
GetIntAsync |
Get int32 by key asynchronously.
If the key does not exist or the request fails, the default value will be returned.
|
GetString |
Get string by key.
If the key does not exist or the request fails, the default value will be returned.
If called on the main thread, consider using GetStringAsync(String, String) instead.
|
GetStringAsync |
Get string by key asynchronously.
If the key does not exist or the request fails, the default value will be returned.
|
HasKey |
Check if a key exists.
If called on the main thread, consider using HasKeyAsync(String) instead.
|
HasKeyAsync |
Check if a key exists asynchronously.
|
List |
Get a dictionary of all keys and values.
If called on the main thread, consider using ListAsync(PersistenceStorageStorageType) instead.
|
List32 |
Get a dictionary of all 32-bit or lower keys as Int32 and values.
If called on the main thread, consider using List32Async instead.
|
List32Async |
Get a dictionary of all 32-bit or lower keys as Int32 and values asynchronously.
|
ListAsync |
Get a dictionary of all keys and values asynchronously.
|
SetFloat |
Set float by key.
|
SetFloatAsync |
Set float by key asynchronously.
|
SetInt |
Set int by key.
|
SetIntAsync |
Set int by key asynchronously.
|
SetString |
Set string by key.
|
SetStringAsync |
Set string by key asynchronously.
|