chore: formatting

This commit is contained in:
あかニャン 2024-07-03 05:46:00 +09:00
parent d05112e2f4
commit 1131cff6b5
3 changed files with 11 additions and 11 deletions

View File

@ -21,6 +21,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Assembly-CSharp.SkipLoginRe
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Assembly-CSharp.Pause.mm", "Pause\Assembly-CSharp.Pause.mm.csproj", "{627B3AA0-25E2-4C3E-A211-66BAB0E997E2}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Assembly-CSharp.Pause.mm", "Pause\Assembly-CSharp.Pause.mm.csproj", "{627B3AA0-25E2-4C3E-A211-66BAB0E997E2}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Assembly-CSharp.UnlockAndSetJewelBoostNine.mm", "UnlockAndSetJewelBoostNine\Assembly-CSharp.UnlockAndSetJewelBoostNine.mm.csproj", "{70C775D7-8C47-4CFE-B91D-6AAEB17389F2}"
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64 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}.Debug|x64.Build.0 = Debug|x64
{627B3AA0-25E2-4C3E-A211-66BAB0E997E2}.Release|x64.ActiveCfg = Release|x64 {627B3AA0-25E2-4C3E-A211-66BAB0E997E2}.Release|x64.ActiveCfg = Release|x64
{627B3AA0-25E2-4C3E-A211-66BAB0E997E2}.Release|x64.Build.0 = 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 EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE

View File

@ -4,7 +4,7 @@
<AssemblyName>Assembly-CSharp.UnlockAndSetJewelBoostNine.mm</AssemblyName> <AssemblyName>Assembly-CSharp.UnlockAndSetJewelBoostNine.mm</AssemblyName>
<Company>7EVENDAYS⇔HOLIDAYS</Company> <Company>7EVENDAYS⇔HOLIDAYS</Company>
<Description>Unlock and set the jewel boost to max</Description> <Description>Unlock and set the jewel boost to max</Description>
<Version>1.0.0</Version> <Version>1.7.0</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion> <LangVersion>latest</LangVersion>
<Platforms>x64</Platforms> <Platforms>x64</Platforms>
@ -13,9 +13,7 @@
<ItemGroup> <ItemGroup>
<Reference Include="mscorlib"><HintPath>..\Common\mscorlib.dll</HintPath></Reference> <Reference Include="mscorlib"><HintPath>..\Common\mscorlib.dll</HintPath></Reference>
<Reference Include="UnityEngine"><HintPath>..\Common\UnityEngine.dll</HintPath></Reference> <Reference Include="UnityEngine"><HintPath>..\Common\UnityEngine.dll</HintPath></Reference>
<Reference Include="Mu3Assembly"> <ProjectReference Include="..\Common\Assembly-CSharp_unpacked\Assembly-CSharp_unpacked.csproj" />
<HintPath>..\Common\Assembly-CSharp_unpacked.dll</HintPath>
</Reference>
</ItemGroup> </ItemGroup>
<Target Name="CopyDLLs" AfterTargets="Build"> <Target Name="CopyDLLs" AfterTargets="Build">

View File

@ -1,6 +1,5 @@
#pragma warning disable CS0626 #pragma warning disable CS0626
#pragma warning disable CS0649 #pragma warning disable CS0649
#pragma warning disable IDE0051
#pragma warning disable IDE1006 #pragma warning disable IDE1006
#pragma warning disable CS0414 #pragma warning disable CS0414
@ -10,16 +9,13 @@ using MU3.Util;
namespace MU3; 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 extern void orig_createSelector();
private JewelBoostID getMaxBoost() private JewelBoostID getMaxBoost() {
{
return JewelBoostID.Nine; return JewelBoostID.Nine;
} }
private void createSelector() private void createSelector() {
{
Singleton<UserManager>.instance.userLocal.boost = JewelBoostID.Nine; Singleton<UserManager>.instance.userLocal.boost = JewelBoostID.Nine;
orig_createSelector(); orig_createSelector();
} }