Show / Hide Table of Contents

Class PickerObject

A picker that targets objects. Contract clauses use this to determine the target of their operation.

Inheritance
System.Object
Picker
PickerObject
PickerTracker
Implements
IController
IViewController
IHasUniversalID
Inherited Members
Picker.ContainsPropertyAt(Vector2i)
Picker.Authed(User)
Picker.Pick(Player)
Picker.GetView(Player)
Picker.Accepted(String, User)
Picker.Finished()
Picker.UpdateMarks()
Picker.ChoiceChanged()
Picker.Category
Picker.Pos
Picker.PrependMarker
Picker.MarkerUsername
Picker.Description
Picker.OnContentsChanged
Picker.TotalPropertyArea
Picker.ControllerID
Namespace: Eco.Gameplay.Utils
Assembly: Eco.Gameplay.dll
Syntax
public class PickerObject : Picker, IController, IViewController, IHasUniversalID
Remarks

e.g.: "Put 10 Advanced Upgrade 2 to SomeUsers's Storage Chest". This is what's used to select "SomeUser's Storage Chest".

Constructors

PickerObject()

Declaration
public PickerObject()

PickerObject(String, Boolean, String)

Declaration
public PickerObject(string cat, bool positionOnly, string desc)
Parameters
Type Name Description
System.String cat
System.Boolean positionOnly
System.String desc

Fields

SubscribedContainers

Declaration
public ConcurrentBag<Inventory> SubscribedContainers
Field Value
Type Description
System.Collections.Concurrent.ConcurrentBag<Inventory>

Properties

Choice

Declaration
public override string Choice { get; }
Property Value
Type Description
System.String
Overrides
Picker.Choice

ConsolidatedItemsInContainer

Declaration
public IEnumerable<ItemStack> ConsolidatedItemsInContainer { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<ItemStack>

Contents

Declaration
public virtual string Contents { get; }
Property Value
Type Description
System.String

Deed

Declaration
public override Deed Deed { get; }
Property Value
Type Description
Deed
Overrides
Picker.Deed

IsSet

Declaration
public override bool IsSet { get; }
Property Value
Type Description
System.Boolean
Overrides
Picker.IsSet

ItemStacks

Declaration
public IEnumerable<ItemStack> ItemStacks { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<ItemStack>

ObjectChoice

Declaration
public WorldObjectHandle ObjectChoice { get; set; }
Property Value
Type Description
WorldObjectHandle

PickedObj

Declaration
public WorldObject PickedObj { get; }
Property Value
Type Description
WorldObject

Storages

Declaration
protected IEnumerable<StorageComponent> Storages { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<StorageComponent>

Methods

CheckAllCanContain(IEnumerable<ItemStack>)

Declaration
public Result CheckAllCanContain(IEnumerable<ItemStack> stacks)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ItemStack> stacks
Returns
Type Description
Result

CheckAnyCanContain(IEnumerable<ItemStack>)

Declaration
public Result CheckAnyCanContain(IEnumerable<ItemStack> stacks)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ItemStack> stacks
Returns
Type Description
Result

ForceLocation(WorldObject)

Declaration
public void ForceLocation(WorldObject obj)
Parameters
Type Name Description
WorldObject obj

Initialize()

Declaration
public override void Initialize()
Overrides
Picker.Initialize()

SetLocation(Player, PointOfInterest)

Declaration
public override void SetLocation(Player player, PointOfInterest obj)
Parameters
Type Name Description
Player player
PointOfInterest obj
Overrides
Picker.SetLocation(Player, PointOfInterest)

ValidOwnership(String, User)

Declaration
public override Result ValidOwnership(string pickerName, User user)
Parameters
Type Name Description
System.String pickerName
User user
Returns
Type Description
Result
Overrides
Picker.ValidOwnership(String, User)

Implements

IController
IViewController
IHasUniversalID

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾