From ae16f3a03839611cf770c8d8282b6761e5217e38 Mon Sep 17 00:00:00 2001 From: zznty <94796179+zznty@users.noreply.github.com> Date: Tue, 3 Jun 2025 04:23:36 +0700 Subject: [PATCH] cleanup --- CringeLauncher/Patches/IntrospectionPatches.cs | 3 --- CringeLauncher/Patches/RenderHookPatch.cs | 2 -- CringeLauncher/Utils/ExceptionFormatter.cs | 1 - CringePlugins/Config/ConfigHandler.cs | 1 - CringePlugins/Config/PackagesConfig.cs | 1 - CringePlugins/Config/Spec/IConfigurationSpecProvider.cs | 1 - NuGet/NuGetClient.cs | 3 +-- 7 files changed, 1 insertion(+), 11 deletions(-) diff --git a/CringeLauncher/Patches/IntrospectionPatches.cs b/CringeLauncher/Patches/IntrospectionPatches.cs index 20ab470..91e79c2 100644 --- a/CringeLauncher/Patches/IntrospectionPatches.cs +++ b/CringeLauncher/Patches/IntrospectionPatches.cs @@ -13,13 +13,10 @@ using SharedCringe.Loader; using VRage; using VRage.FileSystem; using VRage.Game; -using VRage.Game.Common; using VRage.Game.Components; -using VRage.Game.Definitions; using VRage.Game.Entity.UseObject; using VRage.ModAPI; using VRage.ObjectBuilders; -using VRage.ObjectBuilders.Private; using VRage.Plugins; using CringePlugins.Loader; diff --git a/CringeLauncher/Patches/RenderHookPatch.cs b/CringeLauncher/Patches/RenderHookPatch.cs index edc2641..20c8e70 100644 --- a/CringeLauncher/Patches/RenderHookPatch.cs +++ b/CringeLauncher/Patches/RenderHookPatch.cs @@ -2,8 +2,6 @@ using HarmonyLib; using SharpDX.DXGI; using VRage.Platform.Windows.Forms; -using SharpDX.Windows; -using System.Reflection; namespace CringeLauncher.Patches; diff --git a/CringeLauncher/Utils/ExceptionFormatter.cs b/CringeLauncher/Utils/ExceptionFormatter.cs index a6863a2..57ff115 100644 --- a/CringeLauncher/Utils/ExceptionFormatter.cs +++ b/CringeLauncher/Utils/ExceptionFormatter.cs @@ -1,6 +1,5 @@ using System.Diagnostics; using System.Reflection; -using System.Runtime.ExceptionServices; using System.Runtime.Loader; using System.Text; using HarmonyLib; diff --git a/CringePlugins/Config/ConfigHandler.cs b/CringePlugins/Config/ConfigHandler.cs index 81eac04..415186a 100644 --- a/CringePlugins/Config/ConfigHandler.cs +++ b/CringePlugins/Config/ConfigHandler.cs @@ -2,7 +2,6 @@ using System.Text.Json.Nodes; using CringePlugins.Config.Spec; using Json.Schema; -using Json.Schema.Generation; using NLog; using NuGet; diff --git a/CringePlugins/Config/PackagesConfig.cs b/CringePlugins/Config/PackagesConfig.cs index d3d9a77..718744e 100644 --- a/CringePlugins/Config/PackagesConfig.cs +++ b/CringePlugins/Config/PackagesConfig.cs @@ -1,7 +1,6 @@ using System.Collections.Immutable; using CringePlugins.Resolver; using NuGet; -using NuGet.Models; namespace CringePlugins.Config; diff --git a/CringePlugins/Config/Spec/IConfigurationSpecProvider.cs b/CringePlugins/Config/Spec/IConfigurationSpecProvider.cs index 67a54d8..f283c31 100644 --- a/CringePlugins/Config/Spec/IConfigurationSpecProvider.cs +++ b/CringePlugins/Config/Spec/IConfigurationSpecProvider.cs @@ -1,6 +1,5 @@ using System.Reflection; using Json.Schema; -using Json.Schema.Generation; namespace CringePlugins.Config.Spec; diff --git a/NuGet/NuGetClient.cs b/NuGet/NuGetClient.cs index 16ea945..733bd02 100644 --- a/NuGet/NuGetClient.cs +++ b/NuGet/NuGetClient.cs @@ -1,5 +1,4 @@ -using System.Net; -using System.Net.Http.Json; +using System.Net.Http.Json; using System.Text.Json; using System.Web; using NuGet.Converters;