Skip to main content
Show raw api
{
    "functions": [
        {
            "name": "new",
            "desc": "Returns a new PlayerBinder",
            "params": [
                {
                    "name": "tag",
                    "desc": "",
                    "lua_type": "string"
                },
                {
                    "name": "class",
                    "desc": "",
                    "lua_type": "BinderContructor"
                },
                {
                    "name": "...",
                    "desc": "",
                    "lua_type": "any"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "PlayerBinder<T>"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 23,
                "path": "src/playerbinder/src/Server/PlayerBinder.lua"
            }
        },
        {
            "name": "Start",
            "desc": "Starts the binder. See [Binder.Start].\nShould be done via a [ServiceBag].",
            "params": [],
            "returns": [],
            "function_type": "method",
            "source": {
                "line": 33,
                "path": "src/playerbinder/src/Server/PlayerBinder.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "PlayerBinder",
    "desc": "Binds the given class to each player in the game",
    "source": {
        "line": 5,
        "path": "src/playerbinder/src/Server/PlayerBinder.lua"
    }
}