PlayerDeathInfo
Defined in: server/api.d.ts:1764
Details reported for a player’s fatal hit.
Properties
Section titled “Properties”bodyPart
Section titled “bodyPart”bodyPart:
number
Defined in: server/api.d.ts:1783
Native hit body-part identifier.
damage
Section titled “damage”damage:
number
Defined in: server/api.d.ts:1793
Raw fatal damage.
damageType
Section titled “damageType”damageType:
number
Defined in: server/api.d.ts:1778
Native damage-type identifier.
direction
Section titled “direction”direction:
Vector3
Defined in: server/api.d.ts:1808
Damage direction.
normal
Section titled “normal”normal:
Vector3
Defined in: server/api.d.ts:1813
Impact surface normal.
position
Section titled “position”position:
Vector3
Defined in: server/api.d.ts:1803
World-space impact position.
power:
number
Defined in: server/api.d.ts:1798
Native impact power.
ultimate
Section titled “ultimate”ultimate:
boolean
Defined in: server/api.d.ts:1788
Whether Mafia II marked the hit as ultimate damage.
vehicle
Section titled “vehicle”vehicle:
Vehicle|null
Defined in: server/api.d.ts:1768
Car the killer ran the victim over with, or null when the death was not a run-over.
weaponId
Section titled “weaponId”weaponId:
number
Defined in: server/api.d.ts:1773
Native weapon identifier; 0 when the hit had no weapon, such as a run-over.
