Show / Hide Table of Contents

Class InventoryDisplay

Inheritance
System.Object
Robust.Client.UserInterface.Control
Robust.Client.UserInterface.Controls.Container
Robust.Client.UserInterface.Controls.LayoutContainer
InventoryDisplay
Namespace: Content.Client.UserInterface.Systems.Inventory.Controls
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
Type Description
SlotControl
| 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
Type Description
SlotControl
| 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

ControlExtension.GetControlOfType<T>(Control)
ControlExtension.GetControlOfType<T>(Control, String)
ControlExtension.GetControlOfType<T>(Control, Boolean)
ControlExtension.GetControlOfType<T>(Control, String, Boolean)
ControlExtension.GetSearchableControls(Control, Boolean)
ControlExtension.ChildrenContainText(Control, String)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾