Show raw api
{
"functions": [
{
"name": "Init",
"desc": "Initializes the idle service on the client. Should be done via [ServiceBag].",
"params": [
{
"name": "self",
"desc": "",
"lua_type": "IdleServiceClient"
},
{
"name": "serviceBag",
"desc": "",
"lua_type": "ServiceBag"
}
],
"returns": [],
"function_type": "static",
"source": {
"line": 47,
"path": "src/idleservice/src/Client/IdleServiceClient.lua"
}
},
{
"name": "Start",
"desc": "Starts idle service on the client. Should be done via [ServiceBag].",
"params": [
{
"name": "self",
"desc": "",
"lua_type": "IdleServiceClient"
}
],
"returns": [],
"function_type": "static",
"source": {
"line": 70,
"path": "src/idleservice/src/Client/IdleServiceClient.lua"
}
},
{
"name": "ObserveHumanoidMoveFromCurrentPosition",
"desc": "Observes a humanoid moving from the current position after a set amount of time. Can be used\nto close a UI when the humanoid wanders too far.",
"params": [
{
"name": "self",
"desc": "",
"lua_type": "IdleServiceClient"
},
{
"name": "minimumTimeVisible",
"desc": "",
"lua_type": "number\n"
}
],
"returns": [
{
"desc": "",
"lua_type": "Observable"
}
],
"function_type": "static",
"source": {
"line": 101,
"path": "src/idleservice/src/Client/IdleServiceClient.lua"
}
},
{
"name": "IsHumanoidIdle",
"desc": "Returns whether the humanoid is idle.",
"params": [
{
"name": "self",
"desc": "",
"lua_type": "IdleServiceClient"
}
],
"returns": [
{
"desc": "",
"lua_type": "boolean"
}
],
"function_type": "static",
"source": {
"line": 132,
"path": "src/idleservice/src/Client/IdleServiceClient.lua"
}
},
{
"name": "IsMoving",
"desc": "Returns whether the humanoid is idle.",
"params": [
{
"name": "self",
"desc": "",
"lua_type": "IdleServiceClient"
}
],
"returns": [
{
"desc": "",
"lua_type": "boolean"
}
],
"function_type": "static",
"source": {
"line": 140,
"path": "src/idleservice/src/Client/IdleServiceClient.lua"
}
},
{
"name": "ObserveHumanoidIdle",
"desc": "Observes if the humanoid is idle.",
"params": [
{
"name": "self",
"desc": "",
"lua_type": "IdleServiceClient"
}
],
"returns": [
{
"desc": "",
"lua_type": "Observable<boolean>"
}
],
"function_type": "static",
"source": {
"line": 148,
"path": "src/idleservice/src/Client/IdleServiceClient.lua"
}
},
{
"name": "DoShowIdleUI",
"desc": "Returns whether UI should be shown (if the humanoid is idle)",
"params": [
{
"name": "self",
"desc": "",
"lua_type": "IdleServiceClient"
}
],
"returns": [
{
"desc": "",
"lua_type": "boolean"
}
],
"function_type": "static",
"source": {
"line": 156,
"path": "src/idleservice/src/Client/IdleServiceClient.lua"
}
},
{
"name": "ObserveShowIdleUI",
"desc": "Observes whether to show the idle UI",
"params": [
{
"name": "self",
"desc": "",
"lua_type": "IdleServiceClient"
}
],
"returns": [
{
"desc": "",
"lua_type": "Observable<boolean>"
}
],
"function_type": "static",
"source": {
"line": 164,
"path": "src/idleservice/src/Client/IdleServiceClient.lua"
}
},
{
"name": "GetShowIdleUIBoolValue",
"desc": "Returns a show idle bool value.",
"params": [
{
"name": "self",
"desc": "",
"lua_type": "IdleServiceClient"
}
],
"returns": [
{
"desc": "",
"lua_type": "BoolValue"
}
],
"function_type": "static",
"source": {
"line": 172,
"path": "src/idleservice/src/Client/IdleServiceClient.lua"
}
},
{
"name": "PushDisable",
"desc": "Pushes a disabling function that disables idle UI",
"params": [
{
"name": "self",
"desc": "",
"lua_type": "IdleServiceClient"
}
],
"returns": [
{
"desc": "",
"lua_type": "boolean"
}
],
"function_type": "static",
"source": {
"line": 182,
"path": "src/idleservice/src/Client/IdleServiceClient.lua"
}
}
],
"properties": [],
"types": [],
"name": "IdleServiceClient",
"desc": "Helps track whether or not a player is idle and if so, then can show UI or other cute things.",
"realm": [
"Client"
],
"source": {
"line": 8,
"path": "src/idleservice/src/Client/IdleServiceClient.lua"
}
}