Class InventoryDisplay
Inheritance
System.Object
Robust.Client.UserInterface.Control
Robust.Client.UserInterface.Controls.Container
Robust.Client.UserInterface.Controls.LayoutContainer
InventoryDisplay
Assembly: Content.Client.dll
Syntax
public sealed class InventoryDisplay : LayoutContainer
Constructors
|
Improve this Doc
View Source
InventoryDisplay()
Declaration
public InventoryDisplay()
Methods
|
Improve this Doc
View Source
AddButton(SlotControl, Vector2i)
Declaration
public SlotControl AddButton(SlotControl newButton, Vector2i buttonOffset)
Parameters
Type |
Name |
Description |
SlotControl |
newButton |
|
Vector2i |
buttonOffset |
|
Returns
|
Improve this Doc
View Source
ClearButtons()
Declaration
public void ClearButtons()
|
Improve this Doc
View Source
GetButton(String)
Declaration
public SlotControl GetButton(string slotName)
Parameters
Type |
Name |
Description |
System.String |
slotName |
|
Returns
|
Improve this Doc
View Source
RemoveButton(String)
Declaration
public void RemoveButton(string slotName)
Parameters
Type |
Name |
Description |
System.String |
slotName |
|
|
Improve this Doc
View Source
TryGetButton(String, out SlotControl)
Declaration
public bool TryGetButton(string slotName, out SlotControl button)
Parameters
Type |
Name |
Description |
System.String |
slotName |
|
SlotControl |
button |
|
Returns
Type |
Description |
System.Boolean |
|
Extension Methods