diff --git a/Content.Client/IoC/ClientContentIoC.cs b/Content.Client/IoC/ClientContentIoC.cs index 54e40f2995..811432f897 100644 --- a/Content.Client/IoC/ClientContentIoC.cs +++ b/Content.Client/IoC/ClientContentIoC.cs @@ -7,7 +7,6 @@ using Content.Client.Eui; using Content.Client.GhostKick; using Content.Client.Info; using Content.Client.Launcher; -using Content.Client.Module; using Content.Client.Parallax.Managers; using Content.Client.Players.PlayTimeTracking; using Content.Client.Preferences; @@ -27,7 +26,6 @@ namespace Content.Client.IoC { IoCManager.Register(); IoCManager.Register(); - IoCManager.Register(); IoCManager.Register(); IoCManager.Register(); IoCManager.Register(); diff --git a/Content.Client/Module/ClientModuleManager.cs b/Content.Client/Module/ClientModuleManager.cs deleted file mode 100644 index 477514495d..0000000000 --- a/Content.Client/Module/ClientModuleManager.cs +++ /dev/null @@ -1,15 +0,0 @@ -using Content.Shared.Module; - -namespace Content.Client.Module -{ - /// - /// Client implementation of IModuleManager. - /// Provides simple way for shared code to check if it's being run by - /// the client of the server. - /// - public sealed class ClientModuleManager : IModuleManager - { - bool IModuleManager.IsClientModule => true; - bool IModuleManager.IsServerModule => false; - } -} diff --git a/Content.Server/IoC/ServerContentIoC.cs b/Content.Server/IoC/ServerContentIoC.cs index 498fb589c9..8e48a9562a 100644 --- a/Content.Server/IoC/ServerContentIoC.cs +++ b/Content.Server/IoC/ServerContentIoC.cs @@ -10,7 +10,6 @@ using Content.Server.EUI; using Content.Server.GhostKick; using Content.Server.Info; using Content.Server.Maps; -using Content.Server.Module; using Content.Server.MoMMI; using Content.Server.NodeContainer.NodeGroups; using Content.Server.Objectives; @@ -33,7 +32,6 @@ namespace Content.Server.IoC IoCManager.Register(); IoCManager.Register(); IoCManager.Register(); - IoCManager.Register(); IoCManager.Register(); IoCManager.Register(); IoCManager.Register(); diff --git a/Content.Server/Module/ServerModuleManager.cs b/Content.Server/Module/ServerModuleManager.cs deleted file mode 100644 index e5ad391c9c..0000000000 --- a/Content.Server/Module/ServerModuleManager.cs +++ /dev/null @@ -1,15 +0,0 @@ -using Content.Shared.Module; - -namespace Content.Server.Module -{ - /// - /// Server implementation of IModuleManager. - /// Provides simple way for shared code to check if it's being run by - /// the client of the server. - /// - public sealed class ServerModuleManager : IModuleManager - { - bool IModuleManager.IsClientModule => false; - bool IModuleManager.IsServerModule => true; - } -} diff --git a/Content.Shared/Module/IModuleManager.cs b/Content.Shared/Module/IModuleManager.cs deleted file mode 100644 index 9644c9cd2e..0000000000 --- a/Content.Shared/Module/IModuleManager.cs +++ /dev/null @@ -1,19 +0,0 @@ -namespace Content.Shared.Module -{ - /// - /// Provides a simple way to check whether calling code is being run by - /// Robust.Client, or Robust.Server. Useful for code in Content.Shared - /// that wants different behavior depending on if client or server is using it. - /// - public interface IModuleManager - { - /// - /// Returns true if the code is being run by the client, returns false otherwise. - /// - bool IsClientModule { get; } - /// - /// Returns true if the code is being run by the server, returns false otherwise. - /// - bool IsServerModule { get; } - } -}