Show / Hide Table of Contents

Class BaseEui

Base class to implement server-side for an EUI.

Inheritance
System.Object
BaseEui
BanListEui
BanPanelEui
AdminLogsEui
AdminMessageEui
AdminNotesEui
UserNotesEui
AdminAnnounceEui
EditSolutionsEui
PermissionsEui
SetOutfitEui
SpawnExplosionEui
AcceptCloningEui
CrewManifestEui
AdminFaxEui
ReturnToBodyEui
GhostRolesEui
MakeGhostRoleEui
NPCEui
StatValuesEui
Namespace: Content.Server.EUI
Assembly: Content.Server.dll
Syntax
public abstract class BaseEui : object
Remarks

An EUI is a system for making a relatively-easy connection between client and server for the purposes of UIs.

Properties

| Improve this Doc View Source

Id

Declaration
public uint Id { get; }
Property Value
Type Description
System.UInt32
| Improve this Doc View Source

IsShutDown

Declaration
public bool IsShutDown { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Manager

Declaration
public EuiManager Manager { get; }
Property Value
Type Description
EuiManager
| Improve this Doc View Source

Player

The player that this EUI is open for.

Declaration
public ICommonSession Player { get; }
Property Value
Type Description
Robust.Shared.Players.ICommonSession

Methods

| Improve this Doc View Source

Close()

Close the EUI, breaking the connection between client and server.

Declaration
public void Close()
| Improve this Doc View Source

Closed()

Called when the UI has been closed.

Declaration
public virtual void Closed()
| Improve this Doc View Source

GetNewState()

Called some time after StateDirty() has been called to get a new UI state that can be sent to the client.

Declaration
public virtual EuiStateBase GetNewState()
Returns
Type Description
EuiStateBase
| Improve this Doc View Source

HandleMessage(EuiMessageBase)

Called when a message comes in from the client.

Declaration
public virtual void HandleMessage(EuiMessageBase msg)
Parameters
Type Name Description
EuiMessageBase msg
| Improve this Doc View Source

Opened()

Called when the UI has been opened. Do initializing logic here.

Declaration
public virtual void Opened()
| Improve this Doc View Source

SendMessage(EuiMessageBase)

Send a message to the client-side EUI.

Declaration
public void SendMessage(EuiMessageBase message)
Parameters
Type Name Description
EuiMessageBase message
| Improve this Doc View Source

StateDirty()

Mark the current UI state as dirty and queue for an update.

Declaration
public void StateDirty()
See Also
GetNewState()
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾