Class StorageWindow
GUI class for client storage component
Inheritance
System.Object
Robust.Client.UserInterface.Control
Robust.Client.UserInterface.CustomControls.BaseWindow
StorageWindow
Namespace: Content.Client.Storage.UI
Assembly: Content.Client.dll
Syntax
public sealed class StorageWindow : FancyWindow
Constructors
| Improve this Doc View SourceStorageWindow(IEntityManager)
Declaration
public StorageWindow(IEntityManager entityManager)
Parameters
Type | Name | Description |
---|---|---|
IEntityManager | entityManager |
Fields
| Improve this Doc View SourceEntityList
Declaration
public readonly ListContainer EntityList
Field Value
Type | Description |
---|---|
ListContainer |
StorageContainerButton
Declaration
public readonly ContainerButton StorageContainerButton
Field Value
Type | Description |
---|---|
Robust.Client.UserInterface.Controls.ContainerButton |
Methods
| Improve this Doc View SourceBuildEntityList(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 |
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 |