Show raw api
{
"functions": [
{
"name": "save",
"desc": "Saves the game state to the current slot\n\n### Options\n| Name | Type | Default | Description |\n|-----------------|-------------|---------|--------------------------------|\n| slot | number | - | Override save slot |\n| pos | bool | true | Save current player position |",
"params": [
{
"name": "options",
"desc": "settings",
"lua_type": "table"
}
],
"returns": [],
"function_type": "static",
"source": {
"line": 39,
"path": "../../res/data/script/lib/system/system.lua"
}
},
{
"name": "load",
"desc": "Loads the game state from the current slot\n\n### Options\n| Name | Type | Default | Description |\n|-----------------|-------------|---------|--------------------------------|\n| slot | number | - | Override save slot |",
"params": [
{
"name": "options",
"desc": "settings",
"lua_type": "table"
}
],
"returns": [],
"function_type": "static",
"source": {
"line": 52,
"path": "../../res/data/script/lib/system/system.lua"
}
},
{
"name": "exit",
"desc": "Exit the game",
"params": [],
"returns": [],
"function_type": "static",
"source": {
"line": 59,
"path": "../../res/data/script/lib/system/system.lua"
}
}
],
"properties": [
{
"name": "debug",
"desc": "Get the system debug flag",
"lua_type": "bool",
"source": {
"line": 13,
"path": "../../res/data/script/lib/system/system.lua"
}
},
{
"name": "arcade",
"desc": "Get the system arcade flag",
"lua_type": "bool",
"source": {
"line": 20,
"path": "../../res/data/script/lib/system/system.lua"
}
},
{
"name": "demo",
"desc": "Get the system demo flag",
"lua_type": "bool",
"source": {
"line": 27,
"path": "../../res/data/script/lib/system/system.lua"
}
}
],
"types": [],
"name": "System",
"desc": "The system interface",
"source": {
"line": 5,
"path": "../../res/data/script/lib/system/system.lua"
}
}