using Content.Shared.EntityEffects; namespace Content.Server._CP14.StatusEffect; /// /// Applies Entity Effects at a given frequency /// [RegisterComponent, AutoGenerateComponentState, Access(typeof(CP14EntityEffectsStatusEffectSystem))] public sealed partial class CP14EntityEffectsStatusEffectComponent : Component { /// /// List of Effects that will be applied /// [DataField] public List Effects = []; /// /// How often objects will try to apply . In Seconds. /// [DataField] public TimeSpan Frequency = TimeSpan.FromSeconds(5); /// /// The time of the next Effect trigger /// [DataField] public TimeSpan NextUpdateTime { get; set; } = TimeSpan.Zero; }