Removes unused "ModuleManager" (#11918)

This commit is contained in:
Vera Aguilera Puerto
2022-10-14 22:11:19 +02:00
committed by GitHub
parent 6eb1d33e34
commit ebff854c55
5 changed files with 0 additions and 53 deletions

View File

@@ -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<IParallaxManager, ParallaxManager>();
IoCManager.Register<IChatManager, ChatManager>();
IoCManager.Register<IModuleManager, ClientModuleManager>();
IoCManager.Register<IClientPreferencesManager, ClientPreferencesManager>();
IoCManager.Register<IStylesheetManager, StylesheetManager>();
IoCManager.Register<IScreenshotHook, ScreenshotHook>();

View File

@@ -1,15 +0,0 @@
using Content.Shared.Module;
namespace Content.Client.Module
{
/// <summary>
/// Client implementation of IModuleManager.
/// Provides simple way for shared code to check if it's being run by
/// the client of the server.
/// </summary>
public sealed class ClientModuleManager : IModuleManager
{
bool IModuleManager.IsClientModule => true;
bool IModuleManager.IsServerModule => false;
}
}