2021-06-09 22:19:39 +02:00
|
|
|
using Content.Client.Items.Components;
|
|
|
|
|
using Content.Client.Message;
|
|
|
|
|
using Content.Client.Stylesheets;
|
|
|
|
|
using Content.Shared.Chemistry.Components;
|
|
|
|
|
using Content.Shared.Chemistry.Reagent;
|
2021-11-03 16:48:03 -07:00
|
|
|
using Content.Shared.FixedPoint;
|
2020-02-23 19:47:33 -05:00
|
|
|
using Robust.Client.UserInterface;
|
|
|
|
|
using Robust.Client.UserInterface.Controls;
|
|
|
|
|
using Robust.Shared.GameObjects;
|
|
|
|
|
using Robust.Shared.Localization;
|
2020-08-13 14:40:27 +02:00
|
|
|
using Robust.Shared.Timing;
|
2020-02-23 19:47:33 -05:00
|
|
|
using Robust.Shared.ViewVariables;
|
|
|
|
|
|
2021-06-09 22:19:39 +02:00
|
|
|
namespace Content.Client.Chemistry.Components
|
2020-02-23 19:47:33 -05:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Client behavior for injectors & syringes. Used for item status on injectors
|
|
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent]
|
2022-09-11 08:53:17 +02:00
|
|
|
public sealed class InjectorComponent : SharedInjectorComponent
|
2020-02-23 19:47:33 -05:00
|
|
|
{
|
2022-09-11 08:53:17 +02:00
|
|
|
[ViewVariables]
|
|
|
|
|
public FixedPoint2 CurrentVolume;
|
|
|
|
|
[ViewVariables]
|
|
|
|
|
public FixedPoint2 TotalVolume;
|
|
|
|
|
[ViewVariables]
|
|
|
|
|
public InjectorToggleMode CurrentMode;
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
public bool UiUpdateNeeded;
|
2020-02-23 19:47:33 -05:00
|
|
|
}
|
|
|
|
|
}
|