diff --git a/Content.Client/GameObjects/Components/Instruments/InstrumentComponent.cs b/Content.Client/GameObjects/Components/Instruments/InstrumentComponent.cs index 6182016ea4..29511ceb4d 100644 --- a/Content.Client/GameObjects/Components/Instruments/InstrumentComponent.cs +++ b/Content.Client/GameObjects/Components/Instruments/InstrumentComponent.cs @@ -1,21 +1,11 @@ using System; using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading; using Content.Shared.GameObjects.Components.Instruments; -using OpenTK.Platform.Windows; using Robust.Shared.GameObjects; using Robust.Client.Audio.Midi; -using Robust.Client.GameObjects.EntitySystems; -using Robust.Client.Interfaces.Graphics; -using Robust.Client.Interfaces.UserInterface; -using Robust.Client.Reflection; using Robust.Shared.Audio.Midi; using Robust.Shared.Interfaces.GameObjects; using Robust.Shared.Interfaces.Network; -using Robust.Shared.Interfaces.Reflection; -using Robust.Shared.Interfaces.Serialization; using Robust.Shared.Interfaces.Timing; using Robust.Shared.IoC; using Robust.Shared.Serialization; @@ -35,7 +25,6 @@ namespace Content.Client.GameObjects.Components.Instruments #pragma warning disable 649 [Dependency] private IMidiManager _midiManager; - [Dependency] private IFileDialogManager _fileDialogManager; [Dependency] private readonly IGameTiming _timing; #pragma warning restore 649 diff --git a/Content.Client/UserInterface/Cargo/CargoConsoleMenu.cs b/Content.Client/UserInterface/Cargo/CargoConsoleMenu.cs index cf75374b61..9572a5fc45 100644 --- a/Content.Client/UserInterface/Cargo/CargoConsoleMenu.cs +++ b/Content.Client/UserInterface/Cargo/CargoConsoleMenu.cs @@ -1,20 +1,14 @@ using Content.Client.GameObjects.Components.Cargo; using Content.Shared.Prototypes.Cargo; -using Robust.Client.Graphics; using Robust.Client.Graphics.Drawing; -using Robust.Client.Interfaces.ResourceManagement; -using Robust.Client.ResourceManagement; -using Robust.Client.UserInterface; using Robust.Client.UserInterface.Controls; using Robust.Client.UserInterface.CustomControls; using Robust.Client.Utility; using Robust.Shared.IoC; using Robust.Shared.Localization; using Robust.Shared.Maths; -using Robust.Shared.Utility; using System; using System.Collections.Generic; -using Content.Client.Utility; namespace Content.Client.UserInterface.Cargo { @@ -22,7 +16,6 @@ namespace Content.Client.UserInterface.Cargo { #pragma warning disable 649 [Dependency] private readonly ILocalizationManager _loc; - [Dependency] private readonly IResourceCache _resourceCache; #pragma warning restore 649 protected override Vector2? CustomSize => (400, 600); @@ -389,10 +382,6 @@ namespace Content.Client.UserInterface.Cargo internal class CargoOrderRow : PanelContainer { -#pragma warning disable 649 - [Dependency] readonly IResourceCache _resourceCache; -#pragma warning restore 649 - public CargoOrderData Order { get; set; } public TextureRect Icon { get; private set; } public Label ProductName { get; private set; } diff --git a/Content.Client/UserInterface/HandsGui.cs b/Content.Client/UserInterface/HandsGui.cs index d68d2aed08..f9f4c36aa8 100644 --- a/Content.Client/UserInterface/HandsGui.cs +++ b/Content.Client/UserInterface/HandsGui.cs @@ -15,7 +15,6 @@ using Robust.Shared.Input; using Robust.Shared.Interfaces.GameObjects; using Robust.Shared.Interfaces.Timing; using Robust.Shared.IoC; -using Robust.Shared.Localization; using Robust.Shared.Map; using Robust.Shared.Maths; using Robust.Shared.Timing; @@ -31,7 +30,6 @@ namespace Content.Client.UserInterface #pragma warning disable 0649 [Dependency] private readonly IPlayerManager _playerManager; [Dependency] private readonly IResourceCache _resourceCache; - [Dependency] private readonly ILocalizationManager _loc; [Dependency] private readonly IGameTiming _gameTiming; #pragma warning restore 0649 diff --git a/Content.Server/GameObjects/Components/Explosion/ExplosiveComponent.cs b/Content.Server/GameObjects/Components/Explosion/ExplosiveComponent.cs index f7d5abeea8..f23c611e24 100644 --- a/Content.Server/GameObjects/Components/Explosion/ExplosiveComponent.cs +++ b/Content.Server/GameObjects/Components/Explosion/ExplosiveComponent.cs @@ -1,28 +1,15 @@ using Content.Server.Explosions; using Content.Server.GameObjects.EntitySystems; -using Robust.Server.Interfaces.GameObjects; using Robust.Shared.GameObjects; -using Robust.Shared.Interfaces.GameObjects; -using Robust.Shared.Interfaces.Map; -using Robust.Shared.Interfaces.Random; -using Robust.Shared.IoC; using Robust.Shared.Serialization; -namespace Content.Server.GameObjects.Components.Explosive +namespace Content.Server.GameObjects.Components.Explosion { [RegisterComponent] public class ExplosiveComponent : Component, ITimerTrigger, IDestroyAct { -#pragma warning disable 649 - [Dependency] private readonly ITileDefinitionManager _tileDefinitionManager; - [Dependency] private readonly IMapManager _mapManager; - [Dependency] private readonly IServerEntityManager _serverEntityManager; - [Dependency] private readonly IEntitySystemManager _entitySystemManager; - [Dependency] private readonly IRobustRandom _robustRandom; -#pragma warning restore 649 - public override string Name => "Explosive"; - + public int DevastationRange = 0; public int HeavyImpactRange = 0; public int LightImpactRange = 0; diff --git a/Content.Server/GameObjects/Components/Weapon/Melee/MeleeWeaponComponent.cs b/Content.Server/GameObjects/Components/Weapon/Melee/MeleeWeaponComponent.cs index 5311198222..42191108c0 100644 --- a/Content.Server/GameObjects/Components/Weapon/Melee/MeleeWeaponComponent.cs +++ b/Content.Server/GameObjects/Components/Weapon/Melee/MeleeWeaponComponent.cs @@ -4,7 +4,6 @@ using Content.Server.GameObjects.EntitySystems; using Content.Shared.GameObjects; using Content.Shared.GameObjects.Components.Items; using Robust.Server.GameObjects.EntitySystems; -using Robust.Server.Interfaces.GameObjects; using Robust.Shared.GameObjects; using Robust.Shared.Interfaces.GameObjects; using Robust.Shared.Interfaces.Map; @@ -25,7 +24,6 @@ namespace Content.Server.GameObjects.Components.Weapon.Melee #pragma warning disable 649 [Dependency] private readonly IMapManager _mapManager; - [Dependency] private readonly IServerEntityManager _serverEntityManager; [Dependency] private readonly IEntitySystemManager _entitySystemManager; [Dependency] private readonly IPhysicsManager _physicsManager; #pragma warning restore 649