From 1131cff6b5109a6b1937264e72cdc272ffc3d3b7 Mon Sep 17 00:00:00 2001 From: akanyan Date: Wed, 3 Jul 2024 05:46:00 +0900 Subject: [PATCH] chore: formatting --- MiscMods.sln | 6 ++++++ ...ssembly-CSharp.UnlockAndSetJewelBoostNine.mm.csproj | 6 ++---- .../MU3/patch_Scene_32_PrePlayMusic_Confirm.cs | 10 +++------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/MiscMods.sln b/MiscMods.sln index 656c434..a1043bb 100644 --- a/MiscMods.sln +++ b/MiscMods.sln @@ -21,6 +21,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Assembly-CSharp.SkipLoginRe EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Assembly-CSharp.Pause.mm", "Pause\Assembly-CSharp.Pause.mm.csproj", "{627B3AA0-25E2-4C3E-A211-66BAB0E997E2}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Assembly-CSharp.UnlockAndSetJewelBoostNine.mm", "UnlockAndSetJewelBoostNine\Assembly-CSharp.UnlockAndSetJewelBoostNine.mm.csproj", "{70C775D7-8C47-4CFE-B91D-6AAEB17389F2}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|x64 = Debug|x64 @@ -63,6 +65,10 @@ Global {627B3AA0-25E2-4C3E-A211-66BAB0E997E2}.Debug|x64.Build.0 = Debug|x64 {627B3AA0-25E2-4C3E-A211-66BAB0E997E2}.Release|x64.ActiveCfg = Release|x64 {627B3AA0-25E2-4C3E-A211-66BAB0E997E2}.Release|x64.Build.0 = Release|x64 + {70C775D7-8C47-4CFE-B91D-6AAEB17389F2}.Debug|x64.ActiveCfg = Debug|x64 + {70C775D7-8C47-4CFE-B91D-6AAEB17389F2}.Debug|x64.Build.0 = Debug|x64 + {70C775D7-8C47-4CFE-B91D-6AAEB17389F2}.Release|x64.ActiveCfg = Release|x64 + {70C775D7-8C47-4CFE-B91D-6AAEB17389F2}.Release|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/UnlockAndSetJewelBoostNine/Assembly-CSharp.UnlockAndSetJewelBoostNine.mm.csproj b/UnlockAndSetJewelBoostNine/Assembly-CSharp.UnlockAndSetJewelBoostNine.mm.csproj index 5427f2a..ec7a065 100644 --- a/UnlockAndSetJewelBoostNine/Assembly-CSharp.UnlockAndSetJewelBoostNine.mm.csproj +++ b/UnlockAndSetJewelBoostNine/Assembly-CSharp.UnlockAndSetJewelBoostNine.mm.csproj @@ -4,7 +4,7 @@ Assembly-CSharp.UnlockAndSetJewelBoostNine.mm 7EVENDAYS⇔HOLIDAYS Unlock and set the jewel boost to max - 1.0.0 + 1.7.0 true latest x64 @@ -13,9 +13,7 @@ ..\Common\mscorlib.dll ..\Common\UnityEngine.dll - - ..\Common\Assembly-CSharp_unpacked.dll - + diff --git a/UnlockAndSetJewelBoostNine/MU3/patch_Scene_32_PrePlayMusic_Confirm.cs b/UnlockAndSetJewelBoostNine/MU3/patch_Scene_32_PrePlayMusic_Confirm.cs index 51870c9..ed2b777 100644 --- a/UnlockAndSetJewelBoostNine/MU3/patch_Scene_32_PrePlayMusic_Confirm.cs +++ b/UnlockAndSetJewelBoostNine/MU3/patch_Scene_32_PrePlayMusic_Confirm.cs @@ -1,6 +1,5 @@ #pragma warning disable CS0626 #pragma warning disable CS0649 -#pragma warning disable IDE0051 #pragma warning disable IDE1006 #pragma warning disable CS0414 @@ -10,16 +9,13 @@ using MU3.Util; namespace MU3; -public class patch_Scene_32_PrePlayMusic_Confirm : Scene_32_PrePlayMusic_Confirm -{ +public class patch_Scene_32_PrePlayMusic_Confirm: Scene_32_PrePlayMusic_Confirm { private extern void orig_createSelector(); - private JewelBoostID getMaxBoost() - { + private JewelBoostID getMaxBoost() { return JewelBoostID.Nine; } - private void createSelector() - { + private void createSelector() { Singleton.instance.userLocal.boost = JewelBoostID.Nine; orig_createSelector(); }