Add APC power meter (#14196)

This commit is contained in:
Kevin Zheng
2023-02-21 07:23:38 -08:00
committed by GitHub
parent 322006ab81
commit 32b9a7b781
5 changed files with 14 additions and 2 deletions

View File

@@ -57,12 +57,14 @@ namespace Content.Shared.APC
public sealed class ApcBoundInterfaceState : BoundUserInterfaceState
{
public readonly bool MainBreaker;
public readonly int Power;
public readonly ApcExternalPowerState ApcExternalPower;
public readonly float Charge;
public ApcBoundInterfaceState(bool mainBreaker, ApcExternalPowerState apcExternalPower, float charge)
public ApcBoundInterfaceState(bool mainBreaker, int power, ApcExternalPowerState apcExternalPower, float charge)
{
MainBreaker = mainBreaker;
Power = power;
ApcExternalPower = apcExternalPower;
Charge = charge;
}