Skip to main content

TouchButtonScoredActionPicker

We need to handle touch buttons separately because we may have as many of these as we want.

Show raw api
{
    "functions": [
        {
            "name": "_isPreferable",
            "desc": "Touch actions do not compete for a slot the way [ScoredActionPicker] makes keys compete, so being\ndisabled is the only thing that keeps a touch button off the screen.",
            "params": [
                {
                    "name": "_self",
                    "desc": "",
                    "lua_type": "TouchButtonScoredActionPicker"
                },
                {
                    "name": "action",
                    "desc": "",
                    "lua_type": "ScoredAction"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "boolean"
                }
            ],
            "function_type": "static",
            "private": true,
            "source": {
                "line": 69,
                "path": "src/scoredactionservice/src/Client/Picker/TouchButtonScoredActionPicker.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "TouchButtonScoredActionPicker",
    "desc": "We need to handle touch buttons separately because we may have as many of these as we want.",
    "source": {
        "line": 6,
        "path": "src/scoredactionservice/src/Client/Picker/TouchButtonScoredActionPicker.lua"
    }
}