Show raw api
{
"functions": [
{
"name": "fromDeceasedHumanoid",
"desc": "Constructs a new DeathReport from a humanoid",
"params": [
{
"name": "humanoid",
"desc": "",
"lua_type": "Humanomid"
},
{
"name": "weaponData",
"desc": "",
"lua_type": "WeaponData"
}
],
"returns": [
{
"desc": "",
"lua_type": "DeathReport"
}
],
"function_type": "static",
"source": {
"line": 21,
"path": "src/deathreport/src/Shared/DeathReportUtils.lua"
}
},
{
"name": "isDeathReport",
"desc": "Returns true if a DeathReport",
"params": [
{
"name": "deathReport",
"desc": "",
"lua_type": "any"
}
],
"returns": [
{
"desc": "",
"lua_type": "boolean"
}
],
"function_type": "static",
"source": {
"line": 56,
"path": "src/deathreport/src/Shared/DeathReportUtils.lua"
}
},
{
"name": "isWeaponData",
"desc": "Returns true if a WeaponData",
"params": [
{
"name": "weaponData",
"desc": "",
"lua_type": "any"
}
],
"returns": [
{
"desc": "",
"lua_type": "boolean"
}
],
"function_type": "static",
"source": {
"line": 67,
"path": "src/deathreport/src/Shared/DeathReportUtils.lua"
}
},
{
"name": "createWeaponData",
"desc": "Creates weapon data information",
"params": [
{
"name": "weaponInstance",
"desc": "",
"lua_type": "Instance?"
}
],
"returns": [
{
"desc": "",
"lua_type": "WeaponData"
}
],
"function_type": "static",
"source": {
"line": 77,
"path": "src/deathreport/src/Shared/DeathReportUtils.lua"
}
},
{
"name": "getDeadDisplayName",
"desc": "Gets the dead display name for the player who died.",
"params": [
{
"name": "deathReport",
"desc": "",
"lua_type": "DeathReport"
}
],
"returns": [
{
"desc": "",
"lua_type": "string"
}
],
"function_type": "static",
"source": {
"line": 91,
"path": "src/deathreport/src/Shared/DeathReportUtils.lua"
}
},
{
"name": "involvesPlayer",
"desc": "Returns true if the death involves another player",
"params": [
{
"name": "deathReport",
"desc": "",
"lua_type": "DeathReport"
},
{
"name": "player",
"desc": "",
"lua_type": "Player"
}
],
"returns": [
{
"desc": "",
"lua_type": "string"
}
],
"function_type": "static",
"source": {
"line": 116,
"path": "src/deathreport/src/Shared/DeathReportUtils.lua"
}
},
{
"name": "getKillerDisplayName",
"desc": "Gets the killer display name for the player who died.",
"params": [
{
"name": "deathReport",
"desc": "",
"lua_type": "DeathReport"
}
],
"returns": [
{
"desc": "",
"lua_type": "string?"
}
],
"function_type": "static",
"source": {
"line": 128,
"path": "src/deathreport/src/Shared/DeathReportUtils.lua"
}
},
{
"name": "getDeadColor",
"desc": "Returns the dead's color",
"params": [
{
"name": "deathReport",
"desc": "",
"lua_type": "DeathReport"
}
],
"returns": [
{
"desc": "",
"lua_type": "Color3?"
}
],
"function_type": "static",
"source": {
"line": 151,
"path": "src/deathreport/src/Shared/DeathReportUtils.lua"
}
},
{
"name": "getKillerColor",
"desc": "Returns the killer's color",
"params": [
{
"name": "deathReport",
"desc": "",
"lua_type": "DeathReport"
}
],
"returns": [
{
"desc": "",
"lua_type": "Color3?"
}
],
"function_type": "static",
"source": {
"line": 168,
"path": "src/deathreport/src/Shared/DeathReportUtils.lua"
}
},
{
"name": "getDefaultColor",
"desc": "Gets the default color of a death report to use.",
"params": [],
"returns": [
{
"desc": "",
"lua_type": "Color3"
}
],
"function_type": "static",
"source": {
"line": 183,
"path": "src/deathreport/src/Shared/DeathReportUtils.lua"
}
}
],
"properties": [],
"types": [],
"name": "DeathReportUtils",
"desc": "",
"source": {
"line": 4,
"path": "src/deathreport/src/Shared/DeathReportUtils.lua"
}
}