Class IniFile
Assembly: RedLoader.dll
Syntax
Constructors
IniFile(string)
Declaration
public IniFile(string INIPath)
Parameters
Type |
Name |
Description |
string |
INIPath |
|
Properties
Path
Declaration
public string Path { get; }
Property Value
Methods
GetBool(string, string, bool, bool)
Declaration
public bool GetBool(string section, string name, bool defaultValue = false, bool autoSave = false)
Parameters
Returns
GetFloat(string, string, float, bool)
Declaration
public float GetFloat(string section, string name, float defaultValue = 0, bool autoSave = false)
Parameters
Returns
GetInt(string, string, int, bool)
Declaration
public int GetInt(string section, string name, int defaultValue = 0, bool autoSave = false)
Parameters
Returns
GetString(string, string, string, bool)
Declaration
public string GetString(string section, string name, string defaultValue = "", bool autoSave = false)
Parameters
Returns
HasKey(string, string)
Declaration
public bool HasKey(string section, string name)
Parameters
Returns
SetBool(string, string, bool)
Declaration
public void SetBool(string section, string name, bool value)
Parameters
SetFloat(string, string, float)
Declaration
public void SetFloat(string section, string name, float value)
Parameters
SetInt(string, string, int)
Declaration
public void SetInt(string section, string name, int value)
Parameters
SetString(string, string, string)
Declaration
public void SetString(string section, string name, string value)
Parameters