Table of Contents

Class ScpItemPickupObjective

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

Represents an objective that is completed when a SCP item is picked up.

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

Properties

Base

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

public ScpItemPickupObjective Base { get; }

Property Value

ScpItemPickupObjective

Type

Gets the type of objective.

public override ObjectiveType Type { get; }

Property Value

ObjectiveType

Methods

AddItem(Player, Item)

Fakes picking up an item and tries to achieve this objective.

public void AddItem(Player target, Item item)

Parameters

target Player

Target player.

item Item

Item that was picked up.

AddItem(Player, Item, Pickup)

Fakes picking up an item and tries to achieve this objective.

public void AddItem(Player target, Item item, Pickup pickup)

Parameters

target Player

Target player.

item Item

Item that was picked up.

pickup Pickup

Pickup that was picked up.

AddItem(Player, Pickup)

Fakes picking up an item and tries to achieve this objective.

public void AddItem(Player target, Pickup pickup)

Parameters

target Player

Target player.

pickup Pickup

Pickup that was picked up.

AddItem(Player, ItemType)

Fakes picking up an item and tries to achieve this objective.

public void AddItem(Player target, ItemType type)

Parameters

target Player

Target player.

type ItemType

Item that was picked up.