Files
crystall-punk-14/Content.Shared/_CP14/StatusEffect/CP14ApplySpellStatusEffectComponent.cs
2025-07-09 09:16:49 +03:00

25 lines
756 B
C#

using Content.Shared._CP14.MagicSpell.Spells;
using Robust.Shared.GameStates;
namespace Content.Shared._CP14.StatusEffect;
[RegisterComponent, NetworkedComponent, AutoGenerateComponentPause]
[Access(typeof(CP14ApplySpellStatusEffectSystem))]
public sealed partial class CP14ApplySpellStatusEffectComponent : Component
{
[DataField(serverOnly: true)]
public List<CP14SpellEffect> StartEffect = new();
[DataField(serverOnly: true)]
public List<CP14SpellEffect> EndEffect = new();
[DataField(serverOnly: true)]
public List<CP14SpellEffect> UpdateEffect = new();
[DataField]
public TimeSpan UpdateFrequency = TimeSpan.FromSeconds(1f);
[DataField, AutoPausedField]
public TimeSpan NextUpdateTime = TimeSpan.Zero;
}