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
- 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
Methods
AddItem(Player, Item)
Fakes picking up an item and tries to achieve this objective.
public void AddItem(Player target, Item item)
Parameters
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
PlayerTarget player.
item
ItemItem that was picked up.
pickup
PickupPickup 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
AddItem(Player, ItemType)
Fakes picking up an item and tries to achieve this objective.
public void AddItem(Player target, ItemType type)
Parameters
target
PlayerTarget player.
type
ItemTypeItem that was picked up.