Files
crystall-punk-14/Content.Server/Lathe/Components/LatheAnnouncingComponent.cs
2025-04-16 21:29:25 +02:00

18 lines
542 B
C#

using Content.Shared.Radio;
using Robust.Shared.Prototypes;
namespace Content.Server.Lathe.Components;
/// <summary>
/// Causes this entity to announce onto the provided channels when it receives new recipes from its server
/// </summary>
[RegisterComponent]
public sealed partial class LatheAnnouncingComponent : Component
{
/// <summary>
/// Radio channels to broadcast to when a new set of recipes is received
/// </summary>
[DataField(required: true)]
public List<ProtoId<RadioChannelPrototype>> Channels = new();
}