using Robust.Shared.Prototypes;
namespace Content.Shared.Radio;
[Prototype("radioChannel")]
public sealed partial class RadioChannelPrototype : IPrototype
{
///
/// Human-readable name for the channel.
///
[DataField("name")]
public string Name { get; private set; } = string.Empty;
[ViewVariables(VVAccess.ReadOnly)]
public string LocalizedName => Loc.GetString(Name);
///
/// Single-character prefix to determine what channel a message should be sent to.
///
[DataField("keycode")]
public char KeyCode { get; private set; } = '\0';
[DataField("frequency")]
public int Frequency { get; private set; } = 0;
[DataField("color")]
public Color Color { get; private set; } = Color.Lime;
[IdDataField, ViewVariables]
public string ID { get; } = default!;
///
/// If channel is long range it doesn't require telecommunication server
/// and messages can be sent across different stations
///
[DataField("longRange"), ViewVariables]
public bool LongRange = false;
}