Predict Injector (syringes), cleanup (#25235)
At least the mode/transfer amount logic. Actual transfer logic needs Bloodstream which I didn't wanna move into shared.
This commit is contained in:
committed by
GitHub
parent
d0c24f9aff
commit
6d8be538c9
@@ -1,21 +0,0 @@
|
||||
using Content.Shared.Chemistry.Components;
|
||||
using Content.Shared.FixedPoint;
|
||||
|
||||
namespace Content.Client.Chemistry.Components
|
||||
{
|
||||
/// <summary>
|
||||
/// Client behavior for injectors & syringes. Used for item status on injectors
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed partial class InjectorComponent : SharedInjectorComponent
|
||||
{
|
||||
[ViewVariables]
|
||||
public FixedPoint2 CurrentVolume;
|
||||
[ViewVariables]
|
||||
public FixedPoint2 TotalVolume;
|
||||
[ViewVariables]
|
||||
public InjectorToggleMode CurrentMode;
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public bool UiUpdateNeeded;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user