Class HumanDamageObjective
- Namespace
- Exiled.API.Features.Objectives
- Assembly
- Exiled.API.dll
A wrapper for the human damage objective.
public class HumanDamageObjective : HumanObjective<DamageObjectiveFootprint>, IWrapper<FactionObjectiveBase>, IWrapper<HumanObjectiveBase<DamageObjectiveFootprint>>, IWrapper<HumanDamageObjective>- Inheritance
- 
      
      TypeCastObject<FactionObjectiveBase>HumanObjective<DamageObjectiveFootprint>HumanDamageObjective
- Inherited Members
- Extension Methods
Properties
Base
Gets the base Respawning.Objectives.HumanDamageObjective that this class is wrapping.
public HumanDamageObjective Base { get; }Property Value
- HumanDamageObjective
Type
Gets the type of objective.
public override ObjectiveType Type { get; }Property Value
Methods
Damage(AttackerDamageHandler)
Fakes player's damage and tries to achieve this objective.
public void Damage(AttackerDamageHandler damageHandler)Parameters
- damageHandlerAttackerDamageHandler
- An AttackerDamageHandler instance. 
Damage(Player, Player, float, DamageType)
Fakes player's damage and tries to achieve this objective.
public void Damage(Player attacker, Player target, float amount, DamageType type = DamageType.Unknown)Parameters
- attackerPlayer
- Attacker. 
- targetPlayer
- Target to damage. 
- amountfloat
- Amount of damage. 
- typeDamageType
- Type of damage.