From 2cfd14e348fbaa52c2bfd0b8299b3a132854622e43c37da3bfb9a01ba9be6bd2 Mon Sep 17 00:00:00 2001 From: copecone Date: Thu, 8 Oct 2026 15:32:22 +0900 Subject: [PATCH] Remove `scrDecorationPatch` --- Patch/Game/scrDecorationPatch.cs | 40 -------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 Patch/Game/scrDecorationPatch.cs diff --git a/Patch/Game/scrDecorationPatch.cs b/Patch/Game/scrDecorationPatch.cs deleted file mode 100644 index 85cbe74..0000000 --- a/Patch/Game/scrDecorationPatch.cs +++ /dev/null @@ -1,40 +0,0 @@ -using HarmonyLib; - -namespace ADOFAIRenderer.Patch.Game; - -[HarmonyPatch(typeof(scrDecoration))] -// ReSharper disable once InconsistentNaming -public static class scrDecorationPatch -{ - [HarmonyPrefix] - [HarmonyPatch("SetRotation")] - // ReSharper disable once InconsistentNaming - public static bool SetRotationPrefix(scrDecoration __instance) - { - return __instance != null && __instance && __instance.pivotTrans != null; - } - - [HarmonyPrefix] - [HarmonyPatch("SetScale")] - // ReSharper disable once InconsistentNaming - public static bool SetScalePrefix(scrDecoration __instance) - { - return __instance != null && __instance && __instance.pivotTrans != null; - } - - [HarmonyPrefix] - [HarmonyPatch("SetOpacity")] - // ReSharper disable once InconsistentNaming - public static bool SetOpacityPrefix(scrDecoration __instance) - { - return __instance != null && __instance; - } - - [HarmonyPrefix] - [HarmonyPatch("UpdatePosition")] - // ReSharper disable once InconsistentNaming - public static bool UpdatePositionPrefix(scrDecoration __instance) - { - return __instance != null && __instance && __instance.pivotTrans != null; - } -} \ No newline at end of file