Files
OldThink/Content.Shared/_White/Overlays/NightVisionComponent.cs

21 lines
637 B
C#
Raw Permalink Normal View History

using Content.Shared.Actions;
using Robust.Shared.Audio;
2024-01-26 17:36:10 +07:00
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
2024-01-26 17:36:10 +07:00
namespace Content.Shared._White.Overlays;
2024-01-26 17:36:10 +07:00
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class NightVisionComponent : BaseEnhancedVisionComponent
2024-01-26 17:36:10 +07:00
{
[DataField, ViewVariables(VVAccess.ReadWrite), AutoNetworkedField]
public override Color Color { get; set; } = Color.FromHex("#98FB98");
[DataField]
public override EntProtoId? ToggleAction { get; set; } = "ToggleNightVision";
}
public sealed partial class ToggleNightVisionEvent : InstantActionEvent
{
2024-01-26 17:36:10 +07:00
}