Files
Delta-v/Content.Server/_Impstation/Revenant/Components/RevenantAnimatedComponent.cs
T
2026-06-29 12:44:07 +02:00

32 lines
970 B
C#

using System.Threading;
using Content.Server._Impstation.Revenant.EntitySystems;
using Content.Shared.Revenant.Components;
using Robust.Shared.GameStates;
namespace Content.Server._Impstation.Revenant.Components;
[RegisterComponent, NetworkedComponent]
[Access(typeof(RevenantAnimatedSystem))]
[AutoGenerateComponentPause]
public sealed partial class RevenantAnimatedComponent : Component
{
/// <summary>
/// The revenant that animated this item. Used for initialization.
/// </summary>
[ViewVariables(VVAccess.ReadOnly)]
public Entity<RevenantComponent>? Revenant;
/// <summary>
/// Components added to make this item animated.
/// Removed when the item becomes inanimate.
/// </summary>
public List<Component> AddedComponents = new();
/// <summary>
/// When the item should become inanimate. If null,
/// the item never becomes inanimate.
/// </summary>
[AutoPausedField]
public TimeSpan? EndTime;
}