đžConfig
Built-in Config library. (Scripts\Configs\{script_name}.ini)
Last updated
Built-in Config library. (Scripts\Configs\{script_name}.ini)
Last updated
Config.IsEmpty()
: boolean
Returns true if there is no section/key.
Config.KeyExists(section: string, key: string)
: boolean
Argument | Type | Description |
---|---|---|
Returns true if section & key exists otherwise false.
Config.GetAllSections()
: array[string]
Returns array of strings with all sections.
Config.GetAllKeys(section: string)
: array[string]
Argument | Type | Description |
---|---|---|
Returns array of strings with all keys inside requested section.
Config.GetBoolean(section: string, key: string, default: boolean)
: boolean
Config.SetBoolean(section: string, key: string, value: boolean)
Config.GetInteger(section: string, key: string, default: integer)
: integer
Config.SetInteger(section: string, key: string, value: integer)
Config.GetHexadecimal(section: string, key: string, default: hexadecimal)
: hexadecimal
Config.SetHexadecimal(section: string, key: string, value: hexadecimal)
Config.GetFloat(section: string, key: string, default: float)
: float
Config.SetFloat(section: string, key: string, value: float)
Config.GetString(section: string, key: string, default: string)
: string
Config.SetString(section: string, key: string, value: string)
Config.Delete(section: string, key: string)
: boolean
Returns true if key inside section was successfully deleted.
The section will be automatically deleted when there is no key left.
Argument | Type | Description |
---|---|---|
Argument | Type | Description |
---|---|---|
Argument | Type | Description |
---|---|---|
Argument | Type | Description |
---|---|---|
Argument | Type | Description |
---|---|---|
Argument | Type | Description |
---|---|---|
Argument | Type | Description |
---|---|---|
Argument | Type | Description |
---|---|---|
Argument | Type | Description |
---|---|---|
Argument | Type | Description |
---|---|---|
Argument | Type | Description |
---|---|---|
section
string
-
key
string
-
section
string
-
section
string
-
key
string
-
default
boolean
-
section
string
-
key
string
-
value
boolean
-
section
string
-
key
string
-
default
integer
-
section
string
-
key
string
-
value
integer
-
section
string
-
key
string
-
default
hexadecimal
-
section
string
-
key
string
-
value
hexadecimal
-
section
string
-
key
string
-
default
float
-
section
string
-
key
string
-
value
float
-
section
string
-
key
string
-
default
string
-
section
string
-
key
string
-
value
string
-
section
string
-
key
string
-