Table of Contents

Class GeneratorActivatedObjective

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

Represents an objective that is completed when a generator is activated.

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

Properties

Base

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

public GeneratorActivatedObjective Base { get; }

Property Value

GeneratorActivatedObjective

Type

Gets the type of objective.

public override ObjectiveType Type { get; }

Property Value

ObjectiveType

Methods

Activate(Generator, Player)

Fakes generator activation and tries to achieve this objective.

public void Activate(Generator generator, Player player = null)

Parameters

generator Generator

Generator that is activated.

player Player

Player that activated the generator.