CatStation/Content.Client/Communications/CommunicationsConsoleComponent.cs
Whatstone 0b2245ff2c
Bugfix: Station AI's Comms Console UI is missing a screen (#45663)
* Add a default screen to the comms console BUI

* Return to Screen, ScreenDummy is dead

* margin adjustment
2026-08-31 19:03:50 +00:00

19 lines
684 B
C#

using Content.Shared.Communications;
using Robust.Shared.Prototypes;
namespace Content.Client.Communications;
/// <inheritdoc/>
[RegisterComponent]
public sealed partial class CommunicationsConsoleComponent : SharedCommunicationsConsoleComponent
{
/// <summary>
/// The prototype ID to use in the UI to show what entities a broadcast will display on.
/// </summary>
/// <remarks>
/// The UI works expecting a screen that's roughly 32x16 pixels, centered in a 32x32 box.
/// If this isn't true, create a dummy entity or adjust the margins/scale in MessagingControls.xaml.
/// </remarks>
[DataField]
public EntProtoId ScreenDisplayId = "Screen";
}