Méthode | Description | |
---|---|---|
DeleteAll ( ) : void |
Delete all keys.
|
|
DeleteKey ( string key ) : void |
Delete key.
|
|
GetBool ( string key, bool defaultValue = false ) : bool |
Get bool value by key.
|
|
GetFloat ( string key, float defaultValue = 0f ) : float |
Get float value by key.
|
|
GetInt ( string key, int defaultValue ) : int |
Get int value by key.
|
|
GetString ( string key, string defaultValue = null ) : string |
Get string value by key.
|
|
HasKey ( string key ) : bool |
Is key-store contains specified key.
|
|
Reset ( ) : void |
Force reload data.
|
|
SetBool ( string key, bool data ) : void |
Set bool value by key.
|
|
SetFloat ( string key, float data ) : void |
Set float value by key.
|
|
SetInt ( string key, int data ) : void |
Set int value by key.
|
|
SetString ( string key, string data ) : void |
Set string value by key.
|
Méthode | Description | |
---|---|---|
LoadData ( ) : void | ||
SaveData ( ) : void |
public static DeleteKey ( string key ) : void | ||
key | string | Key. |
Résultat | void |
public static GetBool ( string key, bool defaultValue = false ) : bool | ||
key | string | Key. |
defaultValue | bool | Default value. |
Résultat | bool |
public static GetFloat ( string key, float defaultValue = 0f ) : float | ||
key | string | Key. |
defaultValue | float | Default value. |
Résultat | float |
public static GetInt ( string key, int defaultValue ) : int | ||
key | string | Key. |
defaultValue | int | Default value. |
Résultat | int |
public static GetString ( string key, string defaultValue = null ) : string | ||
key | string | Key. |
defaultValue | string | Default value. |
Résultat | string |
public static HasKey ( string key ) : bool | ||
key | string | Key. |
Résultat | bool |
public static SetBool ( string key, bool data ) : void | ||
key | string | Key. |
data | bool | Data. |
Résultat | void |
public static SetFloat ( string key, float data ) : void | ||
key | string | Key. |
data | float | Data. |
Résultat | void |
public static SetInt ( string key, int data ) : void | ||
key | string | Key. |
data | int | Data. |
Résultat | void |
public static SetString ( string key, string data ) : void | ||
key | string | Key. |
data | string | Data. |
Résultat | void |