Nuke ops war anounce sound (#9035)

This commit is contained in:
Morber
2022-07-15 12:16:41 +03:00
committed by GitHub
parent f60b5f545c
commit efb17f1e98
13 changed files with 29 additions and 17 deletions

View File

@@ -1,5 +1,6 @@
using Content.Server.UserInterface;
using Content.Shared.Communications;
using Content.Shared.Sound;
using Robust.Server.GameObjects;
namespace Content.Server.Communications
@@ -50,6 +51,12 @@ namespace Content.Server.Communications
[DataField("global")]
public bool AnnounceGlobal = false;
/// <summary>
/// Announce sound file path
/// </summary>
[DataField("sound")]
public SoundSpecifier AnnouncementSound = new SoundPathSpecifier("/Audio/Announcements/announce.ogg");
public BoundUserInterface? UserInterface => Owner.GetUIOrNull(CommunicationsConsoleUiKey.Key);
}
}