Show / Hide Table of Contents

Class SearchAndSelectInventory

Inheritance
System.Object
SearchAndSelectInventory
Implements
IHasClientControlledContainers
IController
IViewController
IHasUniversalID
Namespace: Eco.Gameplay.Items.SearchAndSelect
Assembly: Eco.Gameplay.dll
Syntax
public class SearchAndSelectInventory : Object, IHasClientControlledContainers, IController, IViewController, IHasUniversalID

Constructors

SearchAndSelectInventory()

Declaration
protected SearchAndSelectInventory()

SearchAndSelectInventory(Int32, String, String, Boolean)

Declaration
public SearchAndSelectInventory(int maxStacks, string searchTag, string searchTitle, bool limitQuantityTo1)
Parameters
Type Name Description
System.Int32 maxStacks
System.String searchTag
System.String searchTitle
System.Boolean limitQuantityTo1

Properties

ControllerID

Declaration
public ref int ControllerID { get; }
Property Value
Type Description
System.Int32

LimitQuantityTo1

Declaration
public bool LimitQuantityTo1 { get; }
Property Value
Type Description
System.Boolean

MaxStacks

Declaration
public int MaxStacks { get; }
Property Value
Type Description
System.Int32

OnSelectionChanged

Declaration
public ThreadSafeAction OnSelectionChanged { get; }
Property Value
Type Description
ThreadSafeAction

SearchTag

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

SearchTitle

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

Stacks

Declaration
public ControllerList<SearchAndSelectItem> Stacks { get; }
Property Value
Type Description
ControllerList<SearchAndSelectItem>

Methods

Add(ItemStack)

Declaration
public void Add(ItemStack stack)
Parameters
Type Name Description
ItemStack stack

AddStack(Player)

Declaration
public void AddStack(Player player)
Parameters
Type Name Description
Player player

GetSelection()

Declaration
public IEnumerable<ItemStack> GetSelection()
Returns
Type Description
System.Collections.Generic.IEnumerable<ItemStack>

Implements

IHasClientControlledContainers
IController
IViewController
IHasUniversalID

Extension Methods

InventoryUtils.ApplyRandomInventory(SearchAndSelectInventory, Int32, Nullable<Boolean>, Int32)
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
☀
☾