Class OnDamageEventArgs
Inherited Members
Namespace: Slipe.Server.Peds.Events
Assembly: SlipeServer.dll
Syntax
public class OnDamageEventArgs
Properties
| Improve this Doc View SourceAttacker
The player who was the attacker.
Declaration
public Player Attacker { get; }
Property Value
Type | Description |
---|---|
Player |
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 |