mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-02 17:17:25 +00:00
32 lines
970 B
C#
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;
|
|
}
|