Show / Hide Table of Contents

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 Source

ReagentDispenserBoundUserInterface(EntityUid, Enum)

Declaration
public ReagentDispenserBoundUserInterface(EntityUid owner, Enum uiKey)
Parameters
Type Name Description
EntityUid owner
Enum uiKey

Methods

| Improve this Doc View Source

Dispose(Boolean)

Declaration
protected override void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing
| Improve this Doc View Source

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()
| Improve this Doc View Source

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 that this UI represents. Sent from the server.

  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾