using System;
namespace Content.Server.Power.Components
{
///
/// Self-recharging battery.
///
[RegisterComponent]
public sealed partial class BatterySelfRechargerComponent : Component
{
///
/// Does the entity auto recharge?
///
[DataField] public bool AutoRecharge;
///
/// At what rate does the entity automatically recharge?
///
[DataField] public float AutoRechargeRate;
///
/// Should this entity stop automatically recharging if a charge is used?
///
[DataField] public bool AutoRechargePause = false;
///
/// How long should the entity stop automatically recharging if a charge is used?
///
[DataField] public float AutoRechargePauseTime = 0f;
///
/// Do not auto recharge if this timestamp has yet to happen, set for the auto recharge pause system.
///
[DataField] public TimeSpan NextAutoRecharge = TimeSpan.FromSeconds(0f);
}
}