PlayerDamageInfo
Defined in: server/api.d.ts:1849
Details reported for a bullet that hit a player.
Properties
Section titled “Properties”attacker
Section titled “attacker”attacker:
Player|null
Defined in: server/api.d.ts:1853
Player whose bullet resolved the hit, or null when the shooter is gone.
bodyPart
Section titled “bodyPart”bodyPart:
number
Defined in: server/api.d.ts:1863
Native hit body-part identifier; 2 is a headshot.
damage
Section titled “damage”damage:
number
Defined in: server/api.d.ts:1873
Raw reported damage.
direction
Section titled “direction”direction:
Vector3
Defined in: server/api.d.ts:1883
Bullet direction.
normal
Section titled “normal”normal:
Vector3
Defined in: server/api.d.ts:1888
Impact surface normal.
position
Section titled “position”position:
Vector3
Defined in: server/api.d.ts:1878
World-space impact position.
power:
number
Defined in: server/api.d.ts:1868
Native impact power, before the body-part multiplier the victim applies.
weaponId
Section titled “weaponId”weaponId:
number
Defined in: server/api.d.ts:1858
Native weapon identifier.
