using Content.Shared.Light.Components; namespace Content.Server.Light.Components { /// /// Component that represents a handheld expendable light which can be activated and eventually dies over time. /// [RegisterComponent] public sealed partial class ExpendableLightComponent : SharedExpendableLightComponent { /// /// Status of light, whether or not it is emitting light. /// [ViewVariables] public bool Activated => CurrentState is ExpendableLightState.Lit or ExpendableLightState.Fading; [ViewVariables] public float StateExpiryTime = default; } }