Class SearchAndSelectInventory
Inheritance
System.Object
SearchAndSelectInventory
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
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
Methods
Add(ItemStack)
Declaration
public void Add(ItemStack stack)
Parameters
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
Extension Methods