Table of Contents

Class EscapeObjective

Namespace
Exiled.API.Features.Objectives
Assembly
Exiled.API.dll

Represents an objective that is completed when a player escapes.

public class EscapeObjective : HumanObjective<EscapeObjectiveFootprint>, IWrapper<FactionObjectiveBase>, IWrapper<HumanObjectiveBase<EscapeObjectiveFootprint>>, IWrapper<EscapeObjective>
Inheritance
TypeCastObject<FactionObjectiveBase>
HumanObjective<EscapeObjectiveFootprint>
EscapeObjective
Implements
IWrapper<FactionObjectiveBase>
IWrapper<HumanObjectiveBase<EscapeObjectiveFootprint>>
IWrapper<EscapeObjective>
Inherited Members
Extension Methods

Properties

Base

Gets the base Respawning.Objectives.EscapeObjective that this class is wrapping.

public EscapeObjective Base { get; }

Property Value

EscapeObjective

Type

Gets the type of objective.

public override ObjectiveType Type { get; }

Property Value

ObjectiveType

Methods

Escape(Player, RoleTypeId)

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

public void Escape(Player player, RoleTypeId newRole)

Parameters

player Player

Target that has escaped.

newRole RoleTypeId

Role that target will get after escaping.