Class SearchAndSelectItem
Inheritance
System.Object
SearchAndSelectItem
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public class SearchAndSelectItem : Object, IController, IViewController, IHasUniversalID, INotifyPropertyChanged
Constructors
SearchAndSelectItem()
Declaration
public SearchAndSelectItem()
SearchAndSelectItem(String, String, Boolean)
Declaration
public SearchAndSelectItem(string searchTag, string searchTitle, bool limitQuantityTo1)
Parameters
Type |
Name |
Description |
System.String |
searchTag |
|
System.String |
searchTitle |
|
System.Boolean |
limitQuantityTo1 |
|
Properties
ControllerID
Declaration
public ref int ControllerID { get; }
Property Value
Type |
Description |
System.Int32 |
|
Item
Declaration
[NewTooltipChildren]
public Item Item { get; }
Property Value
LimitQuantityTo1
Declaration
public bool LimitQuantityTo1 { get; }
Property Value
Type |
Description |
System.Boolean |
|
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; set; }
Property Value
Type |
Description |
System.String |
|
Stack
Declaration
public ItemStack Stack { get; set; }
Property Value
Methods
OnClick(Player)
Declaration
public void OnClick(Player player)
Parameters
Type |
Name |
Description |
Player |
player |
|
ReplaceStack(Player, Int32, Int32)
Declaration
public void ReplaceStack(Player player, int itemTypeID, int count)
Parameters
Type |
Name |
Description |
Player |
player |
|
System.Int32 |
itemTypeID |
|
System.Int32 |
count |
|
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods