Class ReagentDispenserBoundUserInterface
Initializes a ReagentDispenserWindow and updates it when new server messages are received.
Inheritance
System.Object
ReagentDispenserBoundUserInterface
Namespace: Content.Client.Chemistry.UI
Assembly: Content.Client.dll
Syntax
public sealed class ReagentDispenserBoundUserInterface : BoundUserInterface
Constructors
| Improve this Doc View SourceReagentDispenserBoundUserInterface(EntityUid, Enum)
Declaration
public ReagentDispenserBoundUserInterface(EntityUid owner, Enum uiKey)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | owner | |
Enum | uiKey |
Methods
| Improve this Doc View SourceDispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Open()
Called each time a dispenser UI instance is opened. Generates the dispenser window and fills it with relevant info. Sets the actions for static buttons.
Buttons which can change like reagent dispense buttons have their actions set in
Declaration
protected override void Open()
UpdateState(BoundUserInterfaceState)
Update the UI each time new state data is sent from the server.
Declaration
protected override void UpdateState(BoundUserInterfaceState state)
Parameters
Type | Name | Description |
---|---|---|
BoundUserInterfaceState | state | Data of the |