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; }Assister
player who assisted in the kill
type: player_controller_and_pawn
int Assister { get; set; }Attacker
user ID who killed
type: player_controller_and_pawn
int Attacker { get; set; }AttackerBlind
attacker was blind from flashbang
type: bool
bool AttackerBlind { get; set; }AttackerInAir
attacker was in midair
type: bool
bool AttackerInAir { get; set; }Distance
distance to victim in meters
type: float
float Distance { get; set; }DmgArmor
damage done to armor
type: byte
byte DmgArmor { get; set; }DmgHealth
damage done to health
type: short
short DmgHealth { get; set; }Dominated
did killer dominate victim with this kill
type: short
short Dominated { get; set; }Headshot
singals a headshot
type: bool
bool Headshot { get; set; }HitGroup
hitgroup that was damaged
type: byte
byte HitGroup { get; set; }NoReplay
if replay data is unavailable, this will be present and set to false
type: bool
bool NoReplay { get; set; }NoScope
kill happened without a scope, used for death notice icon
type: bool
bool NoScope { get; set; }Penetrated
number of objects shot penetrated before killing target
type: short
short Penetrated { get; set; }Revenge
did killer get revenge on victim with this kill
type: short
short Revenge { get; set; }ThruSmoke
hitscan weapon went through smoke grenade
type: bool
bool ThruSmoke { get; set; }UserId
user ID who died
type: player_controller_and_pawn
int UserId { get; set; }UserIdController
user ID who died
type: player_controller_and_pawn
CCSPlayerController UserIdController { get; }UserIdPawn
user ID who died
type: player_controller_and_pawn
CCSPlayerPawn UserIdPawn { get; }UserIdPlayer
IPlayer UserIdPlayer { get; }Weapon
weapon name killer used
type: string
string Weapon { get; set; }WeaponFauxitemid
faux item id of weapon killer used
type: string
string WeaponFauxitemid { get; set; }WeaponItemid
inventory item id of weapon killer used
type: string
string WeaponItemid { get; set; }WeaponOriginalownerXuid
type: string
string WeaponOriginalownerXuid { get; set; }Wipe
is the kill resulting in squad wipe
type: short
short Wipe { get; set; }