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
ActualDmgArmor
damage done to armor
type: int
int ActualDmgArmor { get; set; }ActualDmgHealth
damage done to health
type: int
int ActualDmgHealth { get; set; }ActualHitGroup
hitgroup that was damaged
type: HitGroup_t
HitGroup_t ActualHitGroup { get; set; }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; }AssisterController
player who assisted in the kill
type: player_controller_and_pawn
CCSPlayerController AssisterController { get; }AssisterPawn
player who assisted in the kill
type: player_controller_and_pawn
CCSPlayerPawn AssisterPawn { get; }AssisterPlayer
IPlayer? AssisterPlayer { get; }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; }AttackerController
user ID who killed
type: player_controller_and_pawn
CCSPlayerController AttackerController { get; }AttackerInAir
attacker was in midair
type: bool
bool AttackerInAir { get; set; }AttackerPawn
user ID who killed
type: player_controller_and_pawn
CCSPlayerPawn AttackerPawn { get; }AttackerPlayer
IPlayer? AttackerPlayer { get; }Distance
distance to victim in meters
type: float
float Distance { get; set; }DmgArmor
damage done to armor
type: byte
See SwiftlyS2.Shared.GameEventDefinitions.EventPlayerDeath.ActualDmgArmor.
[Obsolete("The declared type may not match the actual value. Use ActualDmgArmor instead.")]
byte DmgArmor { get; set; }DmgHealth
damage done to health
type: short
See SwiftlyS2.Shared.GameEventDefinitions.EventPlayerDeath.ActualDmgHealth.
[Obsolete("The declared type may not match the actual value. Use ActualDmgHealth instead.")]
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
See SwiftlyS2.Shared.GameEventDefinitions.EventPlayerDeath.ActualHitGroup.
[Obsolete("The declared type may not match the actual value. Use ActualHitGroup instead.")]
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; }