Show / Hide Table of Contents

Class StorageWindow

GUI class for client storage component

Inheritance
System.Object
Robust.Client.UserInterface.Control
Robust.Client.UserInterface.CustomControls.BaseWindow
FancyWindow
StorageWindow
Namespace: Content.Client.Storage.UI
Assembly: Content.Client.dll
Syntax
public sealed class StorageWindow : FancyWindow

Constructors

| Improve this Doc View Source

StorageWindow(IEntityManager)

Declaration
public StorageWindow(IEntityManager entityManager)
Parameters
Type Name Description
IEntityManager entityManager

Fields

| Improve this Doc View Source

EntityList

Declaration
public readonly ListContainer EntityList
Field Value
Type Description
ListContainer
| Improve this Doc View Source

StorageContainerButton

Declaration
public readonly ContainerButton StorageContainerButton
Field Value
Type Description
Robust.Client.UserInterface.Controls.ContainerButton

Methods

| Improve this Doc View Source

BuildEntityList(EntityUid, StorageComponent)

Loops through stored entities creating buttons for each, updates information labels

Declaration
public void BuildEntityList(EntityUid entity, StorageComponent component)
Parameters
Type Name Description
EntityUid entity
StorageComponent component
| Improve this Doc View Source

GenerateButton(ListData, ListContainerButton)

Button created for each entity that represents that item in the storage UI, with a texture, and name and size label

Declaration
public void GenerateButton(ListData data, ListContainerButton button)
Parameters
Type Name Description
ListData data
ListContainerButton button

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