PlayerDamageInfo
Defined in: server/api.d.ts:3112
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:3116
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:3126
Native hit body-part identifier; 2 is a headshot.
damage
Section titled “damage”damage:
number
Defined in: server/api.d.ts:3136
Raw reported damage.
direction
Section titled “direction”direction:
Vector3
Defined in: server/api.d.ts:3146
Bullet direction.
normal
Section titled “normal”normal:
Vector3
Defined in: server/api.d.ts:3151
Impact surface normal.
position
Section titled “position”position:
Vector3
Defined in: server/api.d.ts:3141
World-space impact position.
power:
number
Defined in: server/api.d.ts:3131
Native impact power, before the body-part multiplier the victim applies.
weaponId
Section titled “weaponId”weaponId:
number
Defined in: server/api.d.ts:3121
Native weapon identifier.
