PlayerDeathInfo
Defined in: server/api.d.ts:2972
Details reported for a player’s fatal hit.
Properties
Section titled “Properties”bodyPart
Section titled “bodyPart”bodyPart:
number
Defined in: server/api.d.ts:2991
Native hit body-part identifier.
damage
Section titled “damage”damage:
number
Defined in: server/api.d.ts:3001
Raw fatal damage.
damageType
Section titled “damageType”damageType:
number
Defined in: server/api.d.ts:2986
Native damage-type identifier.
direction
Section titled “direction”direction:
Vector3
Defined in: server/api.d.ts:3016
Damage direction.
normal
Section titled “normal”normal:
Vector3
Defined in: server/api.d.ts:3021
Impact surface normal.
position
Section titled “position”position:
Vector3
Defined in: server/api.d.ts:3011
World-space impact position.
power:
number
Defined in: server/api.d.ts:3006
Native impact power.
ultimate
Section titled “ultimate”ultimate:
boolean
Defined in: server/api.d.ts:2996
Whether Mafia II marked the hit as ultimate damage.
vehicle
Section titled “vehicle”vehicle:
Vehicle|null
Defined in: server/api.d.ts:2976
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:2981
Native weapon identifier; 0 when the hit had no weapon, such as a run-over.
