using Robust.Shared.Audio; using Robust.Shared.GameStates; namespace Content.Shared.Intellicard; /// /// Allows this entity to download the station AI onto an AiHolderComponent. /// [RegisterComponent, NetworkedComponent, AutoGenerateComponentState] public sealed partial class IntellicardComponent : Component { /// /// The duration it takes to download the AI from an AiHolder. /// [DataField, AutoNetworkedField] public int DownloadTime = 15; /// /// The duration it takes to upload the AI to an AiHolder. /// [DataField, AutoNetworkedField] public int UploadTime = 3; /// /// The sound that plays for the AI /// when they are being downloaded /// [DataField, AutoNetworkedField] public SoundSpecifier? WarningSound = new SoundPathSpecifier("/Audio/Misc/notice2.ogg"); /// /// The delay before allowing the warning to play again in seconds. /// [DataField, AutoNetworkedField] public TimeSpan WarningDelay = TimeSpan.FromSeconds(8); [ViewVariables] public TimeSpan NextWarningAllowed = TimeSpan.Zero; }