Show raw api
{
"functions": [
{
"name": "level_get",
"desc": "Get the deck level associated with an item",
"params": [
{
"name": "item",
"desc": "item type identifier",
"lua_type": "string"
}
],
"returns": [
{
"desc": "level",
"lua_type": "number"
}
],
"function_type": "method",
"source": {
"line": 34,
"path": "../../res/data/script/lib/system/deck_ref.lua"
}
},
{
"name": "suggest_random_all",
"desc": "Suggest a random selection from all items in all decks",
"params": [],
"returns": [
{
"desc": "item identifier",
"lua_type": "string"
}
],
"function_type": "method",
"source": {
"line": 43,
"path": "../../res/data/script/lib/system/deck_ref.lua"
}
},
{
"name": "suggest_random",
"desc": "Suggest a random selection from all items in the deck",
"params": [],
"returns": [
{
"desc": "item identifier",
"lua_type": "string"
}
],
"function_type": "method",
"source": {
"line": 51,
"path": "../../res/data/script/lib/system/deck_ref.lua"
}
},
{
"name": "suggest_count_high",
"desc": "Suggest a item with a high inventory count in the deck",
"params": [],
"returns": [
{
"desc": "item identifier",
"lua_type": "string"
}
],
"function_type": "method",
"source": {
"line": 59,
"path": "../../res/data/script/lib/system/deck_ref.lua"
}
},
{
"name": "suggest_count_low",
"desc": "Suggest a item with a low inventory count in the deck",
"params": [],
"returns": [
{
"desc": "item identifier",
"lua_type": "string"
}
],
"function_type": "method",
"source": {
"line": 67,
"path": "../../res/data/script/lib/system/deck_ref.lua"
}
},
{
"name": "suggest_swap_category",
"desc": "Suggest a item to swap with from a same inventory category from all decks",
"params": [],
"returns": [
{
"desc": "item identifier",
"lua_type": "string"
}
],
"function_type": "method",
"source": {
"line": 75,
"path": "../../res/data/script/lib/system/deck_ref.lua"
}
}
],
"properties": [
{
"name": "items",
"desc": "Get all items contained in the deck",
"lua_type": "table",
"source": {
"line": 13,
"path": "../../res/data/script/lib/system/deck_ref.lua"
}
},
{
"name": "core",
"desc": "Get all core items contained in the deck",
"lua_type": "table",
"source": {
"line": 20,
"path": "../../res/data/script/lib/system/deck_ref.lua"
}
},
{
"name": "normal",
"desc": "Get all normal items contained in the deck",
"lua_type": "table",
"source": {
"line": 27,
"path": "../../res/data/script/lib/system/deck_ref.lua"
}
}
],
"types": [],
"name": "DeckRef",
"desc": "Proxy class representing a skill deck",
"source": {
"line": 5,
"path": "../../res/data/script/lib/system/deck_ref.lua"
}
}