Method | 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.
|
Method | Description | |
---|---|---|
LoadData ( ) : void | ||
SaveData ( ) : void |
public static DeleteKey ( string key ) : void | ||
key | string | Key. |
return | void |
public static GetBool ( string key, bool defaultValue = false ) : bool | ||
key | string | Key. |
defaultValue | bool | Default value. |
return | bool |
public static GetFloat ( string key, float defaultValue = 0f ) : float | ||
key | string | Key. |
defaultValue | float | Default value. |
return | float |
public static GetInt ( string key, int defaultValue ) : int | ||
key | string | Key. |
defaultValue | int | Default value. |
return | int |
public static GetString ( string key, string defaultValue = null ) : string | ||
key | string | Key. |
defaultValue | string | Default value. |
return | string |
public static HasKey ( string key ) : bool | ||
key | string | Key. |
return | bool |
public static SetBool ( string key, bool data ) : void | ||
key | string | Key. |
data | bool | Data. |
return | void |
public static SetFloat ( string key, float data ) : void | ||
key | string | Key. |
data | float | Data. |
return | void |
public static SetInt ( string key, int data ) : void | ||
key | string | Key. |
data | int | Data. |
return | void |
public static SetString ( string key, string data ) : void | ||
key | string | Key. |
data | string | Data. |
return | void |