Class DamageHandler
- Namespace
- Exiled.API.Features.DamageHandlers
- Assembly
- Exiled.API.dll
A wrapper to easily manipulate the behavior of the PlayerStatsSystem.DamageHandlerBase.
public class DamageHandler : DamageHandlerBase- Inheritance
- 
      
      
      DamageHandler
- Derived
- Inherited Members
- Extension Methods
Constructors
DamageHandler()
Initializes a new instance of the DamageHandler class.
public DamageHandler()DamageHandler(Player, Player)
Initializes a new instance of the DamageHandler class.
public DamageHandler(Player target, Player attacker)Parameters
DamageHandler(Player, DamageHandlerBase)
Initializes a new instance of the DamageHandler class.
public DamageHandler(Player target, DamageHandlerBase baseHandler)Parameters
- targetPlayer
- The target to be set. 
- baseHandlerDamageHandlerBase
Properties
AbsorbedAhpDamage
Gets or sets the damage absorbed by AHP processes.
public float AbsorbedAhpDamage { get; set; }Property Value
Attacker
Gets or sets the Player attacker. CAN BE NULL!.
public Player Attacker { get; set; }Property Value
AttackerFootprint
Gets or sets the attacker's Footprinting.Footprint.
public Footprint AttackerFootprint { get; protected set; }Property Value
- Footprint
Damage
Gets or sets the amount of damage to be dealt.
public virtual float Damage { get; set; }Property Value
DealtHealthDamage
Gets or sets the direct damage.
public float DealtHealthDamage { get; set; }Property Value
StartVelocity
Gets or sets the start velocity.
public Vector3 StartVelocity { get; set; }Property Value
- Vector3
Target
Gets or sets the Player target.
public Player Target { get; protected set; }Property Value
TargetFootprint
Gets or sets the target's Footprinting.Footprint.
public Footprint TargetFootprint { get; protected set; }Property Value
- Footprint
Methods
ApplyDamage(Player)
Applies the damage to the specified Player.
public override DamageHandlerBase.Action ApplyDamage(Player player)Parameters
Returns
- DamageHandlerBase.Action
- The DamageHandlerBase.Action of the call to this method. 
ToString()
Returns a string that represents the current object.
public override string ToString()Returns
- string
- A string that represents the current object.