Files
OldThink/Content.Shared/_Amour/InteractionPanel/InteractionPanelComponent.cs
2024-02-26 21:43:11 +03:00

21 lines
747 B
C#

using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization;
namespace Content.Shared._Amour.InteractionPanel;
[RegisterComponent]
public sealed partial class InteractionPanelComponent : Component
{
[ViewVariables] public bool IsActive = false;
[ViewVariables] public bool IsBlocked = false;
[ViewVariables] public ProtoId<InteractionPrototype> CurrentAction;
[ViewVariables] public TimeSpan Timeout;
[ViewVariables] public TimeSpan EndTime;
[ViewVariables] public Entity<InteractionPanelComponent>? CurrentPartner;
[DataField] public List<ProtoId<InteractionPrototype>> ActionPrototypes = new();
[DataField] public ProtoId<InteractionListPrototype> ActionListPrototype;
}