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
- 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
Methods
Escape(Player, RoleTypeId)
Fakes player's escape and tries to achieve this objective.
public void Escape(Player player, RoleTypeId newRole)
Parameters
player
PlayerTarget that has escaped.
newRole
RoleTypeIdRole that target will get after escaping.