Files
OldThink/Content.Shared/_Amour/InteractionPanel/InteractionPanelComponent.cs

21 lines
747 B
C#
Raw Permalink Normal View History

2024-02-23 18:52:03 +03:00
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;
2024-02-24 20:54:20 +03:00
[ViewVariables] public TimeSpan EndTime;
2024-02-23 18:52:03 +03:00
[ViewVariables] public Entity<InteractionPanelComponent>? CurrentPartner;
[DataField] public List<ProtoId<InteractionPrototype>> ActionPrototypes = new();
2024-02-26 21:43:11 +03:00
[DataField] public ProtoId<InteractionListPrototype> ActionListPrototype;
2024-02-23 18:52:03 +03:00
}