Table of Contents

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
Implements
IWrapper<FactionObjectiveBase>
IWrapper<HumanObjectiveBase<DamageObjectiveFootprint>>
IWrapper<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

ObjectiveType

Methods

Damage(AttackerDamageHandler)

Fakes player's damage and tries to achieve this objective.

public void Damage(AttackerDamageHandler damageHandler)

Parameters

damageHandler AttackerDamageHandler

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

attacker Player

Attacker.

target Player

Target to damage.

amount float

Amount of damage.

type DamageType

Type of damage.