| 123456789101112131415161718192021222324 |
- using Content.Shared.PDA;
- namespace Content.Server.PDA.Ringer;
- /// <summary>
- /// Opens the store ui when the ringstone is set to the secret code.
- /// Traitors are told the code when greeted.
- /// </summary>
- [RegisterComponent, Access(typeof(RingerSystem))]
- public sealed partial class RingerUplinkComponent : Component
- {
- /// <summary>
- /// Notes to set ringtone to in order to lock or unlock the uplink.
- /// Automatically initialized to random notes.
- /// </summary>
- [DataField("code")]
- public Note[] Code = new Note[RingerSystem.RingtoneLength];
- /// <summary>
- /// Whether to show the toggle uplink button in pda settings.
- /// </summary>
- [DataField("unlocked"), ViewVariables(VVAccess.ReadWrite)]
- public bool Unlocked;
- }
|