Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
LoadData ( ) : void | ||
SaveData ( ) : void |
public static DeleteKey ( string key ) : void | ||
key | string | Key. |
Результат | void |
public static GetBool ( string key, bool defaultValue = false ) : bool | ||
key | string | Key. |
defaultValue | bool | Default value. |
Результат | bool |
public static GetFloat ( string key, float defaultValue = 0f ) : float | ||
key | string | Key. |
defaultValue | float | Default value. |
Результат | float |
public static GetInt ( string key, int defaultValue ) : int | ||
key | string | Key. |
defaultValue | int | Default value. |
Результат | int |
public static GetString ( string key, string defaultValue = null ) : string | ||
key | string | Key. |
defaultValue | string | Default value. |
Результат | string |
public static HasKey ( string key ) : bool | ||
key | string | Key. |
Результат | bool |
public static SetBool ( string key, bool data ) : void | ||
key | string | Key. |
data | bool | Data. |
Результат | void |
public static SetFloat ( string key, float data ) : void | ||
key | string | Key. |
data | float | Data. |
Результат | void |
public static SetInt ( string key, int data ) : void | ||
key | string | Key. |
data | int | Data. |
Результат | void |
public static SetString ( string key, string data ) : void | ||
key | string | Key. |
data | string | Data. |
Результат | void |