Property | Type | Description | |
---|---|---|---|
_INDEX | string>.Dictionary |
Method | Description | |
---|---|---|
DefaultLocalStore ( ) : System |
Initializes a new instance of the DefaultLocalStorage class.
|
|
DeleteAll ( ) : void |
Clears all the data.
|
|
DeleteKey ( string key ) : void |
Deletes the key from storage and INDEX.
|
|
GetFloat ( string key ) : float |
Gets the float value for the key.
|
|
GetInt ( string key ) : int |
Gets an integer value for the key.
|
|
GetSerializedData ( ) : object>.IDictionary |
Gets the serialized data.
|
|
GetString ( string key ) : string |
Gets the string value for the key.
|
|
HasKey ( string key ) : bool |
Checks if the key exists.
|
|
Initialize ( ) : void |
Initialize this instance.
|
|
Save ( ) : void |
Saves currently modified data.
|
|
SetFloat ( string key, float value ) : void |
Sets the float value for a key.
|
|
SetInt ( string key, int value ) : void |
Sets the int value for a key.
|
|
SetString ( string key, string value ) : void |
Sets the string value for a key.
|
|
SetStringWithoutKey ( string key, string value ) : void |
Sets the string value for a key without including it in the INDEX.
|
Method | Description | |
---|---|---|
AddKey ( string key, string type ) : void |
Adds a key to the index.
|
|
DeSerializeKeys ( ) : void |
Deserialize keys from PlayerPerfs and creates a in-memory representation.
|
|
RemoveKey ( string key ) : void |
Removes a key from the index.
|
|
SerializeKeys ( ) : string |
Serializes the keys present in the in-memory representation of the index.
|
protected AddKey ( string key, string type ) : void | ||
key | string | Key. |
type | string | Type. |
return | void |
public GetSerializedData ( ) : object>.IDictionary |
||
return | object>.IDictionary |
public SetFloat ( string key, float value ) : void | ||
key | string | Key. |
value | float | Value. |
return | void |
public SetInt ( string key, int value ) : void | ||
key | string | Key. |
value | int | Value. |
return | void |
public SetString ( string key, string value ) : void | ||
key | string | Key. |
value | string | Value. |
return | void |
public SetStringWithoutKey ( string key, string value ) : void | ||
key | string | Key. |
value | string | Value. |
return | void |