using Content.Shared.Power;
namespace Content.Client.PowerCell;
[RegisterComponent]
[Access(typeof(PowerChargerVisualizerSystem))]
public sealed partial class PowerChargerVisualsComponent : Component
{
///
/// The base sprite state used if the power cell charger does not contain a power cell.
///
[DataField("emptyState")]
[ViewVariables(VVAccess.ReadWrite)]
public string EmptyState = "empty";
///
/// The base sprite state used if the power cell charger contains a power cell.
///
[DataField("occupiedState")]
[ViewVariables(VVAccess.ReadWrite)]
public string OccupiedState = "full";
///
/// A mapping of the indicator light overlays for the power cell charger.
/// Maps to the state used when the charger is out of power/disabled.
/// Maps to the state used when the charger does not contain a power cell.
/// Maps to the state used when the charger is charging a power cell.
/// Maps to the state used when the charger contains a fully charged power cell.
///
[DataField("lightStates")]
[ViewVariables(VVAccess.ReadWrite)]
public Dictionary LightStates = new()
{
[CellChargerStatus.Off] = "light-off",
[CellChargerStatus.Empty] = "light-empty",
[CellChargerStatus.Charging] = "light-charging",
[CellChargerStatus.Charged] = "light-charged",
};
}