Show / Hide Table of Contents

Class ActivatableUIComponent

Inheritance
System.Object
ActivatableUIComponent
Implements
Robust.Shared.Serialization.ISerializationHooks
Namespace: Content.Server.UserInterface
Assembly: Content.Server.dll
Syntax
public sealed class ActivatableUIComponent : Component, ISerializationHooks

Fields

| Improve this Doc View Source

AllowSpectator

Whether spectators (non-admin ghosts) should be allowed to view this UI.

Declaration
public bool AllowSpectator
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

CloseOnHandDeselect

Whether the UI should close when the item is deselected due to a hand swap or drop

Declaration
public bool CloseOnHandDeselect
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

CurrentSingleUser

The client channel currently using the object, or null if there's none/not single user. NOTE: DO NOT DIRECTLY SET, USE ActivatableUISystem.SetCurrentSingleUser

Declaration
public IPlayerSession CurrentSingleUser
Field Value
Type Description
Robust.Server.Player.IPlayerSession
| Improve this Doc View Source

RequireHands

Declaration
public bool RequireHands
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

rightClickOnly

Whether you can activate this ui with activateinhand or not

Declaration
public bool rightClickOnly
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

VerbText

Declaration
public string VerbText
Field Value
Type Description
System.String

Properties

| Improve this Doc View Source

AdminOnly

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

InHandsOnly

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

Key

Declaration
public Enum? Key { get; set; }
Property Value
Type Description
System.Nullable<Enum>
| Improve this Doc View Source

SingleUser

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

UserInterface

Declaration
public PlayerBoundUserInterface? UserInterface { get; }
Property Value
Type Description
System.Nullable<PlayerBoundUserInterface>

Explicit Interface Implementations

| Improve this Doc View Source

ISerializationHooks.AfterDeserialization()

Declaration
void ISerializationHooks.AfterDeserialization()

Implements

Robust.Shared.Serialization.ISerializationHooks
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾