ClientContentIoC.cs 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. using Content.Client.Administration.Managers;
  2. using Content.Client.Changelog;
  3. using Content.Client.Chat.Managers;
  4. using Content.Client.Clickable;
  5. using Content.Client.DebugMon;
  6. using Content.Client.Eui;
  7. using Content.Client.Fullscreen;
  8. using Content.Client.GameTicking.Managers;
  9. using Content.Client.GhostKick;
  10. using Content.Client.Guidebook;
  11. using Content.Client.Launcher;
  12. using Content.Client.Mapping;
  13. using Content.Client.Parallax.Managers;
  14. using Content.Client.Players.PlayTimeTracking;
  15. using Content.Client.Replay;
  16. using Content.Client.Screenshot;
  17. using Content.Client.Stylesheets;
  18. using Content.Client.Viewport;
  19. using Content.Client.Voting;
  20. using Content.Shared.Administration.Logs;
  21. using Content.Client.Lobby;
  22. using Content.Client.Players.RateLimiting;
  23. using Content.Shared.Administration.Managers;
  24. using Content.Shared.Chat;
  25. using Content.Shared.Players.PlayTimeTracking;
  26. using Content.Shared.Players.RateLimiting;
  27. namespace Content.Client.IoC
  28. {
  29. internal static class ClientContentIoC
  30. {
  31. public static void Register()
  32. {
  33. var collection = IoCManager.Instance!;
  34. collection.Register<IParallaxManager, ParallaxManager>();
  35. collection.Register<IChatManager, ChatManager>();
  36. collection.Register<ISharedChatManager, ChatManager>();
  37. collection.Register<IClientPreferencesManager, ClientPreferencesManager>();
  38. collection.Register<IStylesheetManager, StylesheetManager>();
  39. collection.Register<IScreenshotHook, ScreenshotHook>();
  40. collection.Register<FullscreenHook, FullscreenHook>();
  41. collection.Register<IClickMapManager, ClickMapManager>();
  42. collection.Register<IClientAdminManager, ClientAdminManager>();
  43. collection.Register<ISharedAdminManager, ClientAdminManager>();
  44. collection.Register<EuiManager, EuiManager>();
  45. collection.Register<IVoteManager, VoteManager>();
  46. collection.Register<ChangelogManager, ChangelogManager>();
  47. collection.Register<ViewportManager, ViewportManager>();
  48. collection.Register<ISharedAdminLogManager, SharedAdminLogManager>();
  49. collection.Register<GhostKickManager>();
  50. collection.Register<ExtendedDisconnectInformationManager>();
  51. collection.Register<JobRequirementsManager>();
  52. collection.Register<DocumentParsingManager>();
  53. collection.Register<ContentReplayPlaybackManager>();
  54. collection.Register<ISharedPlaytimeManager, JobRequirementsManager>();
  55. collection.Register<MappingManager>();
  56. collection.Register<DebugMonitorManager>();
  57. collection.Register<PlayerRateLimitManager>();
  58. collection.Register<SharedPlayerRateLimitManager, PlayerRateLimitManager>();
  59. collection.Register<TitleWindowManager>();
  60. }
  61. }
  62. }