SwiftlyS2

EventBulletDamage

Interface EventBulletDamage

Namespace: SwiftlyS2.Shared.GameEventDefinitions

Assembly: SwiftlyS2.CS2.dll

Event "bullet_damage"

public interface EventBulletDamage : IGameEvent<EventBulletDamage>

Implements

Properties

AimPunchX

aim punch x


type: float

float AimPunchX { get; set; }
Property Value

AimPunchY

aim punch y


type: float

float AimPunchY { get; set; }
Property Value

AimPunchZ

aim punch z


type: float

float AimPunchZ { get; set; }
Property Value

AttackTickCount

attack tick


type: int

int AttackTickCount { get; set; }
Property Value

AttackTickFrac

attack frac


type: float

float AttackTickFrac { get; set; }
Property Value

Attacker

player index who attacked


type: player_controller_and_pawn

int Attacker { get; set; }
Property Value

DamageDirX

direction vector of the bullet


type: float

float DamageDirX { get; set; }
Property Value

DamageDirY

direction vector of the bullet


type: float

float DamageDirY { get; set; }
Property Value

DamageDirZ

direction vector of the bullet


type: float

float DamageDirZ { get; set; }
Property Value

Distance

how far the bullet travelled before it hit the player


type: float

float Distance { get; set; }
Property Value

InAir

was the shooter jumping?


type: bool

bool InAir { get; set; }
Property Value

InaccuracyAir

air inaccuracy


type: float

float InaccuracyAir { get; set; }
Property Value

InaccuracyMove

move inaccuracy


type: float

float InaccuracyMove { get; set; }
Property Value

InaccuracyTotal

total inaccuracy


type: float

float InaccuracyTotal { get; set; }
Property Value

NoScope

was the shooter noscoped?


type: bool

bool NoScope { get; set; }
Property Value

NumPenetrations

how many surfaces were penetrated


type: byte

byte NumPenetrations { get; set; }
Property Value

RecoilIndex

recoil index. Yes this is really a float.


type: float

float RecoilIndex { get; set; }
Property Value

RenderTickCount

render tick


type: int

int RenderTickCount { get; set; }
Property Value

RenderTickFrac

render frac


type: float

float RenderTickFrac { get; set; }
Property Value

ShootAngX

shoot angle x


type: float

float ShootAngX { get; set; }
Property Value

ShootAngY

shoot angle y


type: float

float ShootAngY { get; set; }
Property Value

ShootAngZ

shoot angle z


type: float

float ShootAngZ { get; set; }
Property Value

Type

lag compensation type


type: int

int Type { get; set; }
Property Value

Victim

player index who was hurt


type: player_controller_and_pawn

int Victim { get; set; }
Property Value

On this page