Class ChemMasterBoundUserInterface
Initializes a ChemMasterWindow and updates it when new server messages are received.
Inheritance
System.Object
ChemMasterBoundUserInterface
Namespace: Content.Client.Chemistry.UI
Assembly: Content.Client.dll
Syntax
public sealed class ChemMasterBoundUserInterface : BoundUserInterface
Constructors
| Improve this Doc View SourceChemMasterBoundUserInterface(EntityUid, Enum)
Declaration
public ChemMasterBoundUserInterface(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 chem master UI instance is opened. Generates the window and fills it with relevant info. Sets the actions for static buttons.
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 |