Class ActivatableUISystem
Inheritance
System.Object
ActivatableUISystem
Namespace: Content.Server.UserInterface
Assembly: Content.Server.dll
Syntax
public sealed class ActivatableUISystem : EntitySystem
Methods
| Improve this Doc View SourceCheckUsage(EntityUid, ActivatableUIComponent, ActivatableUIRequiresPowerCellComponent, PowerCellDrawComponent)
Call if you want to check if the UI should close due to a recent battery usage.
Declaration
public void CheckUsage(EntityUid uid, ActivatableUIComponent active = null, ActivatableUIRequiresPowerCellComponent component = null, PowerCellDrawComponent draw = null)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | uid | |
ActivatableUIComponent | active | |
ActivatableUIRequiresPowerCellComponent | component | |
PowerCellDrawComponent | draw |
CloseAll(EntityUid, ActivatableUIComponent)
Declaration
public void CloseAll(EntityUid uid, ActivatableUIComponent aui = null)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | uid | |
ActivatableUIComponent | aui |
Initialize()
Declaration
public override void Initialize()
SetCurrentSingleUser(EntityUid, IPlayerSession, ActivatableUIComponent)
Declaration
public void SetCurrentSingleUser(EntityUid uid, IPlayerSession v, ActivatableUIComponent aui = null)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | uid | |
Robust.Server.Player.IPlayerSession | v | |
ActivatableUIComponent | aui |