2022-01-05 17:20:25 +13:00
|
|
|
using Content.Shared.Power;
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.Power.Components
|
|
|
|
|
{
|
|
|
|
|
[RegisterComponent]
|
|
|
|
|
public sealed class ChargerComponent : Component
|
|
|
|
|
{
|
|
|
|
|
[ViewVariables]
|
2022-10-16 03:21:54 -07:00
|
|
|
public CellChargerStatus Status;
|
2022-01-05 17:20:25 +13:00
|
|
|
|
|
|
|
|
[DataField("chargeRate")]
|
2022-06-01 19:59:58 +10:00
|
|
|
public int ChargeRate = 20;
|
2022-01-05 17:20:25 +13:00
|
|
|
|
2022-10-16 03:21:54 -07:00
|
|
|
[DataField("slotId", required: true)]
|
|
|
|
|
public string SlotId = string.Empty;
|
2022-01-05 17:20:25 +13:00
|
|
|
}
|
|
|
|
|
}
|