Show / Hide Table of Contents

Class ItemSlotUIContainer<T>

Inheritance
System.Object
Robust.Client.UserInterface.Control
Robust.Client.UserInterface.Controls.Container
Robust.Client.UserInterface.Controls.GridContainer
ItemSlotUIContainer<T>
HandsContainer
ItemSlotButtonContainer
Implements
IItemslotUIContainer
Namespace: Content.Client.UserInterface.Systems.Inventory.Controls
Assembly: Content.Client.dll
Syntax
public abstract class ItemSlotUIContainer<T> : GridContainer, IItemslotUIContainer where T : SlotControl
Type Parameters
Name Description
T

Fields

| Improve this Doc View Source

Buttons

Declaration
protected readonly Dictionary<string, T> Buttons
Field Value
Type Description
Dictionary<System.String, T>

Methods

| Improve this Doc View Source

AddButton(T)

Declaration
public virtual T AddButton(T newButton)
Parameters
Type Name Description
T newButton
Returns
Type Description
T
| Improve this Doc View Source

AddButtonToDict(T)

Declaration
protected virtual T AddButtonToDict(T newButton)
Parameters
Type Name Description
T newButton
Returns
Type Description
T
| Improve this Doc View Source

ClearButtons()

Declaration
public void ClearButtons()
| Improve this Doc View Source

GetButton(String)

Declaration
public virtual T GetButton(string slotName)
Parameters
Type Name Description
System.String slotName
Returns
Type Description
T
| Improve this Doc View Source

RemoveButton(T)

Declaration
public virtual void RemoveButton(T button)
Parameters
Type Name Description
T button
| Improve this Doc View Source

RemoveButton(String)

Declaration
public virtual void RemoveButton(string slotName)
Parameters
Type Name Description
System.String slotName
| Improve this Doc View Source

RemoveButtonFromDict(T)

Declaration
protected virtual void RemoveButtonFromDict(T button)
Parameters
Type Name Description
T button
| Improve this Doc View Source

RemoveButtons(T[])

Declaration
public virtual void RemoveButtons(params T[] buttons)
Parameters
Type Name Description
T[] buttons
| Improve this Doc View Source

RemoveButtons(String[])

Declaration
public virtual void RemoveButtons(params string[] slotNames)
Parameters
Type Name Description
System.String[] slotNames
| Improve this Doc View Source

TryAddButton(T, out T)

Declaration
public virtual bool TryAddButton(T newButton, out T button)
Parameters
Type Name Description
T newButton
T button
Returns
Type Description
System.Boolean
| Improve this Doc View Source

TryAddButton(SlotControl)

Declaration
public bool TryAddButton(SlotControl control)
Parameters
Type Name Description
SlotControl control
Returns
Type Description
System.Boolean
| Improve this Doc View Source

TryGetButton(String, out T)

Declaration
public virtual bool TryGetButton(string slotName, out T button)
Parameters
Type Name Description
System.String slotName
T button
Returns
Type Description
System.Boolean
| Improve this Doc View Source

TryRegisterButton(SlotControl, String)

Declaration
public bool TryRegisterButton(SlotControl control, string newSlotName)
Parameters
Type Name Description
SlotControl control
System.String newSlotName
Returns
Type Description
System.Boolean

Implements

IItemslotUIContainer

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
☀
☾