PlayerBinder
Binds the given class to each player in the game
Functions
new
Returns a new PlayerBinder
Start
PlayerBinder:Start() → ()Starts the binder. See Binder.Start. Should be done via a ServiceBag.
Binds the given class to each player in the game
newReturns a new PlayerBinder
StartPlayerBinder:Start() → ()Starts the binder. See Binder.Start. Should be done via a ServiceBag.
{
"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"
}
}