PlayerDeathInfo
Defined in: server/api.d.ts:2760
Details reported for a player’s fatal hit.
Properties
Section titled “Properties”bodyPart
Section titled “bodyPart”bodyPart:
number
Defined in: server/api.d.ts:2779
Native hit body-part identifier.
damage
Section titled “damage”damage:
number
Defined in: server/api.d.ts:2789
Raw fatal damage.
damageType
Section titled “damageType”damageType:
number
Defined in: server/api.d.ts:2774
Native damage-type identifier.
direction
Section titled “direction”direction:
Vector3
Defined in: server/api.d.ts:2804
Damage direction.
normal
Section titled “normal”normal:
Vector3
Defined in: server/api.d.ts:2809
Impact surface normal.
position
Section titled “position”position:
Vector3
Defined in: server/api.d.ts:2799
World-space impact position.
power:
number
Defined in: server/api.d.ts:2794
Native impact power.
ultimate
Section titled “ultimate”ultimate:
boolean
Defined in: server/api.d.ts:2784
Whether Mafia II marked the hit as ultimate damage.
vehicle
Section titled “vehicle”vehicle:
Vehicle|null
Defined in: server/api.d.ts:2764
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:2769
Native weapon identifier; 0 when the hit had no weapon, such as a run-over.
