Class OnDamageEventArgs
Inherited Members
Namespace: Slipe.Client.Peds.Events
Assembly: SlipeClient.dll
Syntax
public class OnDamageEventArgs
Properties
| Improve this Doc View SourceAttacker
The element who was the attacker.
Declaration
public PhysicalElement Attacker { get; }
Property Value
Type | Description |
---|---|
PhysicalElement |
BodyPart
The bodypart the player was hit on when he got damaged.
Declaration
public BodyPart BodyPart { get; }
Property Value
Type | Description |
---|---|
BodyPart |
DamageType
The attacker weapon or the damage type.
Declaration
public DamageType DamageType { get; }
Property Value
Type | Description |
---|---|
DamageType |
Loss
The percentage of health the player lost.
Declaration
public float Loss { get; }
Property Value
Type | Description |
---|---|
Single |