Add UsedImplicitly to visualizers and entity systems (#2592)

This commit is contained in:
DrSmugleaf
2020-12-08 11:56:10 +01:00
committed by GitHub
parent d75c22d5e1
commit 2dc05b2275
48 changed files with 102 additions and 45 deletions

View File

@@ -1,4 +1,5 @@
using Content.Shared.GameObjects.Components.Atmos;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Interfaces.GameObjects.Components;
using Robust.Shared.Utility;
@@ -6,6 +7,7 @@ using YamlDotNet.RepresentationModel;
namespace Content.Client.GameObjects.Components.Atmos
{
[UsedImplicitly]
public class GasAnalyzerVisualizer : AppearanceVisualizer
{
private string _stateOff;

View File

@@ -1,4 +1,5 @@
using System;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Interfaces.GameObjects.Components;
using static Content.Shared.GameObjects.Components.Medical.SharedCloningPodComponent;
@@ -6,6 +7,7 @@ using static Content.Shared.GameObjects.Components.Medical.SharedCloningPodCompo
namespace Content.Client.GameObjects.Components.CloningPod
{
[UsedImplicitly]
public class CloningPodVisualizer : AppearanceVisualizer
{
public override void OnChangeData(AppearanceComponent component)

View File

@@ -1,4 +1,5 @@
using Content.Shared.GameObjects.Components;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Interfaces.GameObjects.Components;
using Robust.Shared.Interfaces.GameObjects;
@@ -7,6 +8,7 @@ using YamlDotNet.RepresentationModel;
namespace Content.Client.GameObjects.Components
{
[UsedImplicitly]
public sealed class ComputerVisualizer : AppearanceVisualizer
{
private string KeyboardState = "generic_key";

View File

@@ -1,10 +1,12 @@
using Content.Shared.GameObjects.Components;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Interfaces.GameObjects.Components;
using Robust.Shared.Maths;
namespace Content.Client.GameObjects.Components.Crayon
{
[UsedImplicitly]
public class CrayonDecalVisualizer : AppearanceVisualizer
{
public override void OnChangeData(AppearanceComponent component)

View File

@@ -1,9 +1,11 @@
using Content.Shared.GameObjects.Components;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Interfaces.GameObjects.Components;
namespace Content.Client.GameObjects.Components
{
[UsedImplicitly]
public class ExtinguisherCabinetVisualizer : AppearanceVisualizer
{
public override void OnChangeData(AppearanceComponent component)

View File

@@ -1,4 +1,5 @@
using Content.Shared.GameObjects.Components.Fluids;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Interfaces.GameObjects.Components;
using Robust.Shared.Utility;
@@ -6,6 +7,7 @@ using YamlDotNet.RepresentationModel;
namespace Content.Client.GameObjects.Components.Fluids
{
[UsedImplicitly]
public class SprayVisualizer : AppearanceVisualizer
{
private string _safetyOnState;

View File

@@ -5,10 +5,12 @@ using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.Utility;
using System;
using System.Collections.Generic;
using JetBrains.Annotations;
using YamlDotNet.RepresentationModel;
namespace Content.Client.GameObjects.Components.Gravity
{
[UsedImplicitly]
public class GravityGeneratorVisualizer : AppearanceVisualizer
{
private readonly Dictionary<GravityGeneratorStatus, string> _spriteMap = new();

View File

@@ -2,6 +2,7 @@
using System.Collections.Generic;
using Content.Shared.Chemistry;
using Content.Shared.Kitchen;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.GameObjects.Components.UserInterface;
using Robust.Client.Graphics;
@@ -19,6 +20,7 @@ using Robust.Shared.Prototypes;
namespace Content.Client.GameObjects.Components.Kitchen
{
[UsedImplicitly]
public class MicrowaveBoundUserInterface : BoundUserInterface
{
[Dependency] private readonly IEntityManager _entityManager = default!;

View File

@@ -3,6 +3,7 @@ using Content.Client.GameObjects.Components.Sound;
using Content.Shared.GameObjects.Components.Power;
using Content.Shared.GameObjects.Components.Sound;
using Content.Shared.Kitchen;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Interfaces.GameObjects.Components;
using Robust.Shared.Audio;
@@ -10,6 +11,7 @@ using Robust.Shared.Log;
namespace Content.Client.GameObjects.Components.Kitchen
{
[UsedImplicitly]
public sealed class MicrowaveVisualizer : AppearanceVisualizer
{
public override void OnChangeData(AppearanceComponent component)

View File

@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Linq;
using Content.Shared.GameObjects.Components;
using JetBrains.Annotations;
using Robust.Client.Animations;
using Robust.Client.GameObjects;
using Robust.Client.GameObjects.Components.Animations;
@@ -119,7 +120,8 @@ namespace Content.Client.GameObjects.Components
/// <summary>
/// A light behaviour that alternates between StartValue and EndValue
/// </summary>
public class PulseBehaviour: LightBehaviourAnimationTrack
[UsedImplicitly]
public class PulseBehaviour : LightBehaviourAnimationTrack
{
public override (int KeyFrameIndex, float FramePlayingTime) AdvancePlayback(
object context, int prevKeyFrameIndex, float prevPlayingTime, float frameTime)
@@ -173,6 +175,7 @@ namespace Content.Client.GameObjects.Components
/// <summary>
/// A light behaviour that interpolates from StartValue to EndValue
/// </summary>
[UsedImplicitly]
public class FadeBehaviour : LightBehaviourAnimationTrack
{
public override (int KeyFrameIndex, float FramePlayingTime) AdvancePlayback(
@@ -208,6 +211,7 @@ namespace Content.Client.GameObjects.Components
/// <summary>
/// A light behaviour that interpolates using random values chosen between StartValue and EndValue.
/// </summary>
[UsedImplicitly]
public class RandomizeBehaviour : LightBehaviourAnimationTrack
{
private object _randomValue1 = default;
@@ -272,6 +276,7 @@ namespace Content.Client.GameObjects.Components
/// <summary>
/// A light behaviour that cycles through a list of colors.
/// </summary>
[UsedImplicitly]
public class ColorCycleBehaviour : LightBehaviourAnimationTrack
{
public List<Color> ColorsToCycle { get; set; }

View File

@@ -1,4 +1,5 @@
using System;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Interfaces.GameObjects.Components;
using static Content.Shared.GameObjects.Components.Medical.SharedMedicalScannerComponent;
@@ -6,6 +7,7 @@ using static Content.Shared.GameObjects.Components.Medical.SharedMedicalScannerC
namespace Content.Client.GameObjects.Components.MedicalScanner
{
[UsedImplicitly]
public class MedicalScannerVisualizer : AppearanceVisualizer
{
public override void OnChangeData(AppearanceComponent component)

View File

@@ -1,10 +1,12 @@
#nullable enable
using Content.Shared.GameObjects.Components.Morgue;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Interfaces.GameObjects.Components;
namespace Content.Client.GameObjects.Components.Morgue
{
[UsedImplicitly]
public sealed class BodyBagVisualizer : AppearanceVisualizer
{
public override void OnChangeData(AppearanceComponent component)

View File

@@ -1,12 +1,14 @@
#nullable enable
using Content.Shared.GameObjects.Components.Morgue;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Interfaces.GameObjects.Components;
using Robust.Shared.Utility;
using YamlDotNet.RepresentationModel;
namespace Content.Client.GameObjects.Components.Storage
namespace Content.Client.GameObjects.Components.Morgue
{
[UsedImplicitly]
public sealed class CrematoriumVisualizer : AppearanceVisualizer
{
private string _stateOpen = "";

View File

@@ -2,6 +2,7 @@
using Content.Client.GameObjects.EntitySystems;
using Content.Client.Utility;
using Content.Shared.GameObjects.Components.PDA;
using JetBrains.Annotations;
using Robust.Client.GameObjects.Components.UserInterface;
using Robust.Client.Graphics.Drawing;
using Robust.Client.Interfaces.UserInterface;
@@ -17,6 +18,7 @@ using Robust.Shared.Utility;
namespace Content.Client.GameObjects.Components.PDA
{
[UsedImplicitly]
public class PDABoundUserInterface : BoundUserInterface
{
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;

View File

@@ -1,10 +1,12 @@
using Content.Shared.GameObjects.Components;
using JetBrains.Annotations;
using Robust.Client.GameObjects.Components.UserInterface;
using Robust.Client.UserInterface.Controls;
using Robust.Shared.GameObjects.Components.UserInterface;
namespace Content.Client.GameObjects.Components.Paper
{
[UsedImplicitly]
public class PaperBoundUserInterface : BoundUserInterface
{
private PaperWindow _window;

View File

@@ -1,24 +1,18 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using Content.Shared.GameObjects.Components;
using Content.Shared.GameObjects.Components.Singularity;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Graphics;
using Robust.Client.Interfaces.GameObjects.Components;
using Robust.Shared.GameObjects;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.Interfaces.Reflection;
using Robust.Shared.Interfaces.Serialization;
using Robust.Shared.IoC;
using Robust.Shared.Log;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization;
using Robust.Shared.Utility;
using YamlDotNet.RepresentationModel;
namespace Content.Client.GameObjects.Components
{
[UsedImplicitly]
public class ParticleAcceleratorPartVisualizer : AppearanceVisualizer
{
private readonly Dictionary<ParticleAcceleratorVisualState, string> _states = new();

View File

@@ -1,9 +1,12 @@
using Robust.Client.GameObjects.Components.UserInterface;
using Content.Shared.GameObjects.Components.Chemistry.ReagentDispenser;
using JetBrains.Annotations;
using Robust.Client.GameObjects.Components.UserInterface;
using Robust.Shared.GameObjects.Components.UserInterface;
using static Content.Shared.GameObjects.Components.Power.AME.SharedAMEControllerComponent;
namespace Content.Client.GameObjects.Components.Power.AME
{
[UsedImplicitly]
public class AMEControllerBoundUserInterface : BoundUserInterface
{
private AMEWindow _window;

View File

@@ -1,10 +1,12 @@
using Robust.Client.GameObjects;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Interfaces.GameObjects.Components;
using Robust.Shared.Interfaces.GameObjects;
using static Content.Shared.GameObjects.Components.Power.AME.SharedAMEControllerComponent;
namespace Content.Client.GameObjects.Components.Power.AME
{
[UsedImplicitly]
public class AMEControllerVisualizer : AppearanceVisualizer
{
public override void InitializeEntity(IEntity entity)

View File

@@ -1,10 +1,12 @@
using Robust.Client.GameObjects;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Interfaces.GameObjects.Components;
using Robust.Shared.Interfaces.GameObjects;
using static Content.Shared.GameObjects.Components.Power.AME.SharedAMEShieldComponent;
namespace Content.Client.GameObjects.Components.Power.AME
{
[UsedImplicitly]
public class AMEVisualizer : AppearanceVisualizer
{
public override void InitializeEntity(IEntity entity)

View File

@@ -1,6 +1,7 @@
using System;
using Content.Client.UserInterface.Stylesheets;
using Content.Shared.GameObjects.Components.Power;
using JetBrains.Annotations;
using Robust.Client.GameObjects.Components.UserInterface;
using Robust.Client.Graphics.Drawing;
using Robust.Client.UserInterface.Controls;
@@ -10,6 +11,7 @@ using Robust.Shared.Maths;
namespace Content.Client.GameObjects.Components.Power
{
[UsedImplicitly]
public class ApcBoundUserInterface : BoundUserInterface
{
private ApcWindow _window;

View File

@@ -1,4 +1,5 @@
using Content.Shared.GameObjects.Components.Power;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Interfaces.GameObjects.Components;
using Robust.Shared.Interfaces.GameObjects;
@@ -7,6 +8,7 @@ namespace Content.Client.GameObjects.Components.Power
{
public class ApcVisualizer : AppearanceVisualizer
{
[UsedImplicitly]
public override void InitializeEntity(IEntity entity)
{
base.InitializeEntity(entity);

View File

@@ -1,5 +1,6 @@
using System;
using Content.Shared.GameObjects.Components.Power;
using JetBrains.Annotations;
using Robust.Client.Animations;
using Robust.Client.GameObjects;
using Robust.Client.GameObjects.Components.Animations;
@@ -9,6 +10,7 @@ using YamlDotNet.RepresentationModel;
namespace Content.Client.GameObjects.Components.Power
{
[UsedImplicitly]
public class AutolatheVisualizer : AppearanceVisualizer
{
private const string AnimationKey = "autolathe_animation";

View File

@@ -1,5 +1,6 @@
using Content.Shared.GameObjects.Components.Power;
using Content.Shared.Utility;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Interfaces.GameObjects.Components;
using Robust.Shared.Interfaces.GameObjects;
@@ -8,6 +9,7 @@ using YamlDotNet.RepresentationModel;
namespace Content.Client.GameObjects.Components.Power
{
[UsedImplicitly]
public class PowerCellVisualizer : AppearanceVisualizer
{
private string _prefix;

View File

@@ -1,5 +1,6 @@
using System;
using Content.Shared.GameObjects.Components.Power;
using JetBrains.Annotations;
using Robust.Client.Animations;
using Robust.Client.GameObjects;
using Robust.Client.GameObjects.Components.Animations;
@@ -9,6 +10,7 @@ using YamlDotNet.RepresentationModel;
namespace Content.Client.GameObjects.Components.Power
{
[UsedImplicitly]
public class ProtolatheVisualizer : AppearanceVisualizer
{
private const string AnimationKey = "protolathe_animation";

View File

@@ -1,10 +1,12 @@
using Content.Shared.GameObjects.Components.Power;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Interfaces.GameObjects.Components;
using Robust.Shared.Interfaces.GameObjects;
namespace Content.Client.GameObjects.Components.Power
{
[UsedImplicitly]
public class SmesVisualizer : AppearanceVisualizer
{
public override void InitializeEntity(IEntity entity)

View File

@@ -1,5 +1,6 @@
using System;
using Content.Shared.GameObjects.Components.Power;
using JetBrains.Annotations;
using Robust.Client.GameObjects.Components.UserInterface;
using Robust.Client.Graphics.Drawing;
using Robust.Client.UserInterface;
@@ -12,6 +13,7 @@ using Robust.Shared.Maths;
namespace Content.Client.GameObjects.Components.Power
{
[UsedImplicitly]
public class SolarControlConsoleBoundUserInterface : BoundUserInterface
{
[Dependency] private readonly IGameTiming _gameTiming = default;

View File

@@ -1,8 +1,6 @@
using System;
using Content.Client.GameObjects.Components.Doors;
using Content.Client.GameObjects.Components.Wires;
using Content.Shared.GameObjects.Components.Doors;
using Content.Shared.GameObjects.Components.Singularity;
using JetBrains.Annotations;
using Robust.Client.Animations;
using Robust.Client.GameObjects;
using Robust.Client.GameObjects.Components.Animations;
@@ -12,6 +10,7 @@ using YamlDotNet.RepresentationModel;
namespace Content.Client.GameObjects.Components
{
[UsedImplicitly]
public class RadiationCollectorVisualizer : AppearanceVisualizer
{
private const string AnimationKey = "radiationcollector_animation";

View File

@@ -1,3 +1,4 @@
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Interfaces.GameObjects.Components;
using Robust.Shared.GameObjects;
@@ -5,6 +6,7 @@ using Robust.Shared.Log;
namespace Content.Client.GameObjects.Components.Singularity
{
[UsedImplicitly]
public class ContainmentFieldComponent : Component
{
public override string Name => "Containment Field";

View File

@@ -1,10 +1,12 @@
using System;
using Content.Shared.GameObjects.Components.Singularity;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Interfaces.GameObjects.Components;
namespace Content.Client.GameObjects.Components.Singularity
{
[UsedImplicitly]
public class EmitterVisualizer : AppearanceVisualizer
{
private const string OverlayBeam = "emitter-beam";

View File

@@ -1,4 +1,5 @@
using Content.Shared.GameObjects.Components.Storage;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Interfaces.GameObjects.Components;
using Robust.Shared.Interfaces.GameObjects;
@@ -8,6 +9,7 @@ using YamlDotNet.RepresentationModel;
namespace Content.Client.GameObjects.Components.Storage
{
[UsedImplicitly]
public sealed class StorageVisualizer : AppearanceVisualizer
{
private string _stateBase;

View File

@@ -1,5 +1,6 @@
using System;
using Content.Shared.GameObjects.Components.Trigger;
using JetBrains.Annotations;
using Robust.Client.Animations;
using Robust.Client.GameObjects;
using Robust.Client.GameObjects.Components.Animations;
@@ -10,6 +11,7 @@ using YamlDotNet.RepresentationModel;
namespace Content.Client.GameObjects.Components.Trigger
{
[UsedImplicitly]
public class TimerTriggerVisualizer : AppearanceVisualizer
{
private const string AnimationKey = "priming_animation";

View File

@@ -1,10 +1,12 @@
using Content.Client.GameObjects.Components.Mobs;
using JetBrains.Annotations;
using Robust.Shared.GameObjects.Systems;
using Robust.Shared.Interfaces.Timing;
using Robust.Shared.IoC;
namespace Content.Client.GameObjects.EntitySystems
{
[UsedImplicitly]
public class AlertsSystem : EntitySystem
{
[Dependency] private readonly IGameTiming _gameTiming = default!;

View File

@@ -1,8 +1,10 @@
using Content.Client.GameObjects.Components.Mobs;
using JetBrains.Annotations;
using Robust.Shared.GameObjects.Systems;
namespace Content.Client.GameObjects.EntitySystems
{
[UsedImplicitly]
public sealed class CameraRecoilSystem : EntitySystem
{
public override void FrameUpdate(float frameTime)

View File

@@ -1,6 +1,7 @@
using Content.Client.GameObjects.Components.Actor;
using Content.Client.UserInterface;
using Content.Shared.Input;
using JetBrains.Annotations;
using Robust.Client.Player;
using Robust.Client.UserInterface.CustomControls;
using Robust.Shared.GameObjects.Systems;
@@ -9,6 +10,7 @@ using Robust.Shared.IoC;
namespace Content.Client.GameObjects.EntitySystems
{
[UsedImplicitly]
public sealed class CharacterInterfaceSystem : EntitySystem
{
[Dependency] private readonly IGameHud _gameHud = default!;

View File

@@ -1,6 +1,7 @@
using Content.Client.GameObjects.Components.HUD.Inventory;
using Content.Client.UserInterface;
using Content.Shared.Input;
using JetBrains.Annotations;
using Robust.Client.Player;
using Robust.Client.UserInterface.CustomControls;
using Robust.Shared.GameObjects.Systems;
@@ -9,6 +10,7 @@ using Robust.Shared.IoC;
namespace Content.Client.GameObjects.EntitySystems
{
[UsedImplicitly]
public sealed class ClientInventorySystem : EntitySystem
{
[Dependency] private readonly IGameHud _gameHud = default!;

View File

@@ -1,7 +0,0 @@
namespace Content.Client.GameObjects.EntitySystems
{
public class ClientNotifySystem
{
}
}

View File

@@ -2,6 +2,7 @@
using Content.Client.GameObjects.Components.Items;
using Content.Client.GameObjects.Components.Weapons.Ranged;
using Content.Shared.GameObjects.Components.Weapons.Ranged;
using JetBrains.Annotations;
using Robust.Client.GameObjects.EntitySystems;
using Robust.Client.Interfaces.Graphics.ClientEye;
using Robust.Client.Interfaces.Input;
@@ -15,6 +16,7 @@ using Robust.Shared.Map;
namespace Content.Client.GameObjects.EntitySystems
{
[UsedImplicitly]
public class RangedWeaponSystem : EntitySystem
{
[Dependency] private readonly IPlayerManager _playerManager = default!;

View File

@@ -26,12 +26,6 @@ namespace Content.Server.GameObjects.Components.Stack
{
private bool _throwIndividually = false;
public override int Count
{
get => base.Count;
set => base.Count = value;
}
[ViewVariables(VVAccess.ReadWrite)]
public bool ThrowIndividually
{

View File

@@ -26,11 +26,6 @@ namespace Content.Server.GameObjects.Components.Trigger.TimerTrigger
serializer.DataField(ref _delay, "delay", 0f);
}
public override void Initialize()
{
base.Initialize();
}
bool IUse.UseEntity(UseEntityEventArgs eventArgs)
{
var triggerSystem = _entitySystemManager.GetEntitySystem<TriggerSystem>();

View File

@@ -9,11 +9,6 @@ namespace Content.Server.GameObjects.EntitySystems
{
private float _accumulatedFrameTime;
public override void Initialize()
{
base.Initialize();
}
public override void Update(float frameTime)
{
base.Update(frameTime);

View File

@@ -1,5 +1,6 @@
using Content.Shared.GameObjects.EntitySystemMessages;
using Content.Shared.GameObjects.EntitySystems;
using JetBrains.Annotations;
using Robust.Server.Interfaces.Player;
using Robust.Shared.GameObjects;
using Robust.Shared.Interfaces.GameObjects;
@@ -9,6 +10,7 @@ using Robust.Shared.Utility;
namespace Content.Server.GameObjects.EntitySystems.Click
{
[UsedImplicitly]
public class ExamineSystem : ExamineSystemShared
{
private static readonly FormattedMessage _entityNotFoundMessage;

View File

@@ -1,9 +1,11 @@
using Content.Server.Interfaces;
using JetBrains.Annotations;
using Robust.Shared.GameObjects.Systems;
using Robust.Shared.IoC;
namespace Content.Server.GameObjects.EntitySystems.DeviceNetwork
namespace Content.Server.GameObjects.EntitySystems
{
[UsedImplicitly]
internal sealed class DeviceNetworkSystem : EntitySystem
{
[Dependency] private readonly IDeviceNetwork _network = default!;

View File

@@ -1,9 +1,10 @@

using Content.Server.GameObjects.Components.Interactable;
using Content.Server.GameObjects.Components.Interactable;
using JetBrains.Annotations;
using Robust.Shared.GameObjects.Systems;
namespace Content.Server.GameObjects.EntitySystems
{
[UsedImplicitly]
public class ExpendableLightSystem : EntitySystem
{
public override void Update(float frameTime)

View File

@@ -1,8 +1,10 @@
using Content.Server.GameObjects.Components.Atmos;
using JetBrains.Annotations;
using Robust.Shared.GameObjects.Systems;
namespace Content.Server.GameObjects.EntitySystems
{
[UsedImplicitly]
public class GasAnalyzerSystem : EntitySystem
{
public override void Update(float frameTime)

View File

@@ -1,9 +1,11 @@
using Content.Server.GameObjects.Components.NodeContainer.NodeGroups;
using JetBrains.Annotations;
using Robust.Shared.GameObjects.Systems;
using Robust.Shared.IoC;
namespace Content.Server.GameObjects.EntitySystems
{
[UsedImplicitly]
public class NodeGroupSystem : EntitySystem
{
[Dependency] private readonly INodeGroupManager _groupManager = default!;

View File

@@ -1,9 +1,11 @@
using Content.Server.GameObjects.Components.Power.PowerNetComponents;
using JetBrains.Annotations;
using Robust.Shared.GameObjects.Systems;
using Robust.Shared.IoC;
namespace Content.Server.GameObjects.EntitySystems
{
[UsedImplicitly]
public class PowerNetSystem : EntitySystem
{
[Dependency] private readonly IPowerNetManager _powerNetManager = default!;

View File

@@ -1,12 +1,15 @@
using Content.Server.GameObjects.Components.Singularity;
using JetBrains.Annotations;
using Robust.Shared.GameObjects.Systems;
namespace Content.Server.GameObjects.EntitySystems
{
[UsedImplicitly]
public class SingularitySystem : EntitySystem
{
private float curTimeSingulo;
private float curTimePull;
public override void Update(float frameTime)
{
base.Update(frameTime);

View File

@@ -1,11 +1,12 @@
using Content.Server.GameObjects.Components.Chemistry;
using JetBrains.Annotations;
using Robust.Shared.GameObjects.Systems;
namespace Content.Server.GameObjects.EntitySystems
{
[UsedImplicitly]
public class VaporSystem : EntitySystem
{
/// <inheritdoc />
public override void Update(float frameTime)
{
foreach (var vaporComp in ComponentManager.EntityQuery<VaporComponent>())