Hallway textscreens (#24189)

* hallway screen refactor pending comms console support

* comms console broadcasts

* screen and timer localization
This commit is contained in:
avery
2024-01-27 05:51:24 -08:00
committed by GitHub
parent a923beb21b
commit 7e16ee0b55
23 changed files with 318 additions and 142 deletions

View File

@@ -5,15 +5,15 @@ namespace Content.Shared.TextScreen;
[Serializable, NetSerializable]
public enum TextScreenVisuals : byte
{
// TODO: support for a small image, I think. Probably want to rename textscreen to just screen then.
/// <summary>
/// Should this show any text? <br/>
/// Expects a <see cref="bool"/>.
/// What text to default to after timer completion?
/// Expects a <see cref="string"/>.
/// </summary>
On,
DefaultText,
/// <summary>
/// What text to show? <br/>
/// Expects a <see cref="string?[]"/>.
/// What text to render? <br/>
/// Expects a <see cref="string"/>.
/// </summary>
ScreenText,
@@ -21,5 +21,11 @@ public enum TextScreenVisuals : byte
/// What is the target time? <br/>
/// Expects a <see cref="TimeSpan"/>.
/// </summary>
TargetTime
TargetTime,
/// <summary>
/// Change text color on the entire screen
/// Expects a <see cref="Color"/>.
/// </summary>
Color
}