SwiftlyS2

EventPlayerDeath

Interface EventPlayerDeath

Namespace: SwiftlyS2.Shared.GameEventDefinitions

Assembly: SwiftlyS2.CS2.dll

Event "player_death" a game event, name may be 32 charaters long

public interface EventPlayerDeath : IGameEvent<EventPlayerDeath>

Implements

Properties

AssistedFlash

assister helped with a flash


type: bool

bool AssistedFlash { get; set; }
Property Value

Assister

player who assisted in the kill


type: player_controller_and_pawn

int Assister { get; set; }
Property Value

Attacker

user ID who killed


type: player_controller_and_pawn

int Attacker { get; set; }
Property Value

AttackerBlind

attacker was blind from flashbang


type: bool

bool AttackerBlind { get; set; }
Property Value

AttackerInAir

attacker was in midair


type: bool

bool AttackerInAir { get; set; }
Property Value

Distance

distance to victim in meters


type: float

float Distance { get; set; }
Property Value

DmgArmor

damage done to armor


type: byte

byte DmgArmor { get; set; }
Property Value

DmgHealth

damage done to health


type: short

short DmgHealth { get; set; }
Property Value

Dominated

did killer dominate victim with this kill


type: short

short Dominated { get; set; }
Property Value

Headshot

singals a headshot


type: bool

bool Headshot { get; set; }
Property Value

HitGroup

hitgroup that was damaged


type: byte

byte HitGroup { get; set; }
Property Value

NoReplay

if replay data is unavailable, this will be present and set to false


type: bool

bool NoReplay { get; set; }
Property Value

NoScope

kill happened without a scope, used for death notice icon


type: bool

bool NoScope { get; set; }
Property Value

Penetrated

number of objects shot penetrated before killing target


type: short

short Penetrated { get; set; }
Property Value

Revenge

did killer get revenge on victim with this kill


type: short

short Revenge { get; set; }
Property Value

ThruSmoke

hitscan weapon went through smoke grenade


type: bool

bool ThruSmoke { get; set; }
Property Value

UserId

user ID who died


type: player_controller_and_pawn

int UserId { get; set; }
Property Value

UserIdController

user ID who died


type: player_controller_and_pawn

CCSPlayerController UserIdController { get; }
Property Value

UserIdPawn

user ID who died


type: player_controller_and_pawn

CCSPlayerPawn UserIdPawn { get; }
Property Value

UserIdPlayer

IPlayer UserIdPlayer { get; }
Property Value

Weapon

weapon name killer used


type: string

string Weapon { get; set; }
Property Value

WeaponFauxitemid

faux item id of weapon killer used


type: string

string WeaponFauxitemid { get; set; }
Property Value

WeaponItemid

inventory item id of weapon killer used


type: string

string WeaponItemid { get; set; }
Property Value

WeaponOriginalownerXuid

type: string

string WeaponOriginalownerXuid { get; set; }
Property Value

Wipe

is the kill resulting in squad wipe


type: short

short Wipe { get; set; }
Property Value

On this page