Interface ISaveServiceProvider
Adapter interface for supporting save service compatible with the plugin.
Assembly: cs.temp.dll.dll
Syntax
public interface ISaveServiceProvider
Methods
GetFloat(String, Single)
Declaration
float GetFloat(string key, float defaultValue = 0F)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Single |
defaultValue |
|
Returns
Type |
Description |
System.Single |
|
GetInt(String, Int32)
Declaration
int GetInt(string key, int defaultValue = 0)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Int32 |
defaultValue |
|
Returns
Type |
Description |
System.Int32 |
|
GetString(String, String)
Declaration
string GetString(string key, string defaultValue = null)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.String |
defaultValue |
|
Returns
Type |
Description |
System.String |
|
GetStringArray(String, String[])
Declaration
string[] GetStringArray(string key, string[] defaultValue = null)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.String[] |
defaultValue |
|
Returns
Type |
Description |
System.String[] |
|
RemoveKey(String)
Declaration
void RemoveKey(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Save()
Declaration
SetFloat(String, Single)
Declaration
void SetFloat(string key, float value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Single |
value |
|
SetInt(String, Int32)
Declaration
void SetInt(string key, int value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Int32 |
value |
|
SetString(String, String)
Declaration
void SetString(string key, string value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.String |
value |
|
SetStringArray(String, String[])
Declaration
void SetStringArray(string key, string[] value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.String[] |
value |
|