Show raw api
{
"functions": [
{
"name": "ValidateDamageBrick",
"desc": "Function internally used to validate a damage brick's damage value.\nThis also checks whether the damage brick is deactivated or not.",
"params": [
{
"name": "brick",
"desc": "",
"lua_type": "BasePart"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 97,
"path": "mirror/Kit.Managers.CharacterManager.luau"
}
},
{
"name": "Damage",
"desc": "Fires the DamageEvent with the given `damage` value.\n`damage` can be either a `number`, or a `string` representing a key in the\n`VALID_DAMAGEBRICKS` table.",
"params": [
{
"name": "damage",
"desc": "",
"lua_type": "BasePart | string | number"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 129,
"path": "mirror/Kit.Managers.CharacterManager.luau"
}
},
{
"name": "GetHumanoid",
"desc": "Returns the `player`'s `Humanoid` if it exists.",
"params": [
{
"name": "player",
"desc": "",
"lua_type": "Player"
}
],
"returns": [
{
"desc": "",
"lua_type": "Humanoid?\n"
}
],
"function_type": "method",
"source": {
"line": 160,
"path": "mirror/Kit.Managers.CharacterManager.luau"
}
},
{
"name": "ChangeHumanoidProperty",
"desc": "Changes the given `property` on the Humanoid to the given `value`.\nA `TweenInfo` can be provided to tween the value.",
"params": [
{
"name": "property",
"desc": "",
"lua_type": "string"
},
{
"name": "value",
"desc": "",
"lua_type": "any"
},
{
"name": "tweenInfo",
"desc": "",
"lua_type": "TweenInfo?"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 175,
"path": "mirror/Kit.Managers.CharacterManager.luau"
}
},
{
"name": "GetActiveBoost",
"desc": "Get a currently active boost with the given `boostType`.\nIf `isPad` is true, it will return the currently active boost pad. Otherwise,\nit will return the currently active regular boost.",
"params": [
{
"name": "boostType",
"desc": "",
"lua_type": "string"
},
{
"name": "isPad",
"desc": "",
"lua_type": "boolean?"
}
],
"returns": [
{
"desc": "",
"lua_type": "_TDefs.BoostData?\n"
}
],
"function_type": "method",
"source": {
"line": 195,
"path": "mirror/Kit.Managers.CharacterManager.luau"
}
},
{
"name": "IsBoostInfinite",
"desc": "Returns whether a given boost should be infinite or not. Boosts with a duration\nof 0 or below, or higher than 10^10 are considered infinite and\nwill never run out unless removed by a boost remover.",
"params": [
{
"name": "boostData",
"desc": "",
"lua_type": "_TDefs.BoostData"
}
],
"returns": [
{
"desc": "",
"lua_type": "boolean\n"
}
],
"function_type": "method",
"source": {
"line": 216,
"path": "mirror/Kit.Managers.CharacterManager.luau"
}
},
{
"name": "GetBoostModule",
"desc": "Gets the boost module for the specified boost type.",
"params": [
{
"name": "boostType",
"desc": "",
"lua_type": "string"
}
],
"returns": [
{
"desc": "",
"lua_type": "_TDefs.Boost?\n"
}
],
"function_type": "method",
"source": {
"line": 225,
"path": "mirror/Kit.Managers.CharacterManager.luau"
}
},
{
"name": "StartBoost",
"desc": "Starts a boost with the given boost data.\nIf a boost with the given type is already active, the already active boost will be\nrefreshed instead of a new boost being started.",
"params": [
{
"name": "boostData",
"desc": "",
"lua_type": "_TDefs.BoostData"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 236,
"path": "mirror/Kit.Managers.CharacterManager.luau"
}
},
{
"name": "RemoveBoost",
"desc": "Ends the given boost.",
"params": [
{
"name": "boostData",
"desc": "",
"lua_type": "_TDefs.BoostData"
}
],
"returns": [],
"function_type": "method",
"source": {
"line": 300,
"path": "mirror/Kit.Managers.CharacterManager.luau"
}
},
{
"name": "GetActiveBoosts",
"desc": "Returns a table containing the currently active boosts.",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "{ _TDefs.BoostData }\n"
}
],
"function_type": "method",
"source": {
"line": 314,
"path": "mirror/Kit.Managers.CharacterManager.luau"
}
}
],
"properties": [],
"types": [
{
"name": "BoostData",
"desc": "",
"fields": [
{
"name": "startTime",
"lua_type": "number",
"desc": ""
},
{
"name": "mode",
"lua_type": "string",
"desc": ""
},
{
"name": "type",
"lua_type": "string",
"desc": ""
},
{
"name": "power",
"lua_type": "number",
"desc": ""
},
{
"name": "duration",
"lua_type": "number",
"desc": ""
},
{
"name": "timerDecimals",
"lua_type": "boolean",
"desc": ""
},
{
"name": "hideGUI",
"lua_type": "boolean",
"desc": ""
},
{
"name": "startTweenInfo",
"lua_type": "TweenInfo",
"desc": ""
},
{
"name": "endtweenInfo",
"lua_type": "TweenInfo",
"desc": ""
},
{
"name": "infinite",
"lua_type": "boolean",
"desc": ""
},
{
"name": "multiplier",
"lua_type": "number",
"desc": ""
},
{
"name": "timeLeft",
"lua_type": "number",
"desc": ""
}
],
"source": {
"line": 46,
"path": "mirror/Kit.Managers.CharacterManager.TypeDefs.luau"
}
}
],
"name": "CharacterManager",
"desc": "Manager module for character-related things such as collisions, damage\nbricks, and boosts.",
"realm": [
"Client"
],
"source": {
"line": 14,
"path": "mirror/Kit.Managers.CharacterManager.luau"
}
}