SwiftlyS2

EventPlayerHurt

Interface EventPlayerHurt

Namespace: SwiftlyS2.Shared.GameEventDefinitions

Assembly: SwiftlyS2.CS2.dll

Event "player_hurt"

public interface EventPlayerHurt : IGameEvent<EventPlayerHurt>

Implements

Properties

Armor

remaining armor points


type: byte

byte Armor { get; set; }
Property Value

Attacker

player who attacked


type: player_controller_and_pawn

int Attacker { 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

Health

remaining health points


type: byte

byte Health { get; set; }
Property Value

HitGroup

hitgroup that was damaged


type: byte

byte HitGroup { get; set; }
Property Value

UserId

player who was hurt


type: player_controller_and_pawn

int UserId { get; set; }
Property Value

UserIdController

player who was hurt


type: player_controller_and_pawn

CCSPlayerController UserIdController { get; }
Property Value

UserIdPawn

player who was hurt


type: player_controller_and_pawn

CCSPlayerPawn UserIdPawn { get; }
Property Value

UserIdPlayer

IPlayer UserIdPlayer { get; }
Property Value

Weapon

weapon name attacker used, if not the world


type: string

string Weapon { get; set; }
Property Value

On this page