Files
OldThink/Content.Shared/_White/Overlays/ThermalVisionComponent.cs
2024-07-21 14:30:47 +03:00

21 lines
643 B
C#

using Content.Shared.Actions;
using Robust.Shared.Audio;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared._White.Overlays;
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class ThermalVisionComponent : BaseEnhancedVisionComponent
{
[DataField, ViewVariables(VVAccess.ReadWrite), AutoNetworkedField]
public override Color Color { get; set; } = Color.FromHex("#F84742");
[DataField]
public override EntProtoId? ToggleAction { get; set; } = "ToggleThermalVision";
}
public sealed partial class ToggleThermalVisionEvent : InstantActionEvent
{
}