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": 23,
"path": "src/deathreport/src/Shared/DeathReportUtils.lua"
}
},
{
"name": "create",
"desc": "Constructs a death report for the adornee that died",
"params": [
{
"name": "adornee",
"desc": "The humanoid or character that died",
"lua_type": "Instance"
},
{
"name": "killerAdornee",
"desc": "The humanoid or character that killed it",
"lua_type": "Instance?"
},
{
"name": "weaponData",
"desc": "",
"lua_type": "WeaponData?"
}
],
"returns": [
{
"desc": "",
"lua_type": "DeathReport"
}
],
"function_type": "static",
"source": {
"line": 53,
"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": 81,
"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": 91,
"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": 102,
"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": 116,
"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": 142,
"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": 154,
"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": 180,
"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": 198,
"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": 216,
"path": "src/deathreport/src/Shared/DeathReportUtils.lua"
}
}
],
"properties": [],
"types": [],
"name": "DeathReportUtils",
"desc": "",
"source": {
"line": 5,
"path": "src/deathreport/src/Shared/DeathReportUtils.lua"
}
}