using Content.Shared.CartridgeLoader.Cartridges; namespace Content.Shared.CartridgeLoader.Cartridges; /// /// Component that indicates a PDA cartridge as containing the NanoTask program /// [RegisterComponent, AutoGenerateComponentPause] public sealed partial class NanoTaskCartridgeComponent : Component { /// /// The list of tasks /// [DataField] public List Tasks = new(); /// /// counter for generating task IDs /// [DataField] public int Counter = 1; /// /// When the user can print again /// [DataField, AutoPausedField] public TimeSpan NextPrintAllowedAfter = TimeSpan.Zero; /// /// How long in between each time the user can print out a task /// [DataField] public TimeSpan PrintDelay = TimeSpan.FromSeconds(5); } /// /// Component attached to the PDA a NanoTask cartridge is inserted into for interaction handling /// [RegisterComponent] public sealed partial class NanoTaskInteractionComponent : Component { }