chore: major cleanup

This commit is contained in:
あかニャン 2024-07-04 21:39:11 +09:00
parent 74ecdf111a
commit 76884216dd
52 changed files with 126 additions and 377 deletions

View File

@ -1,22 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net35</TargetFramework>
<AssemblyName>Assembly-CSharp.BetterGiveUp.mm</AssemblyName>
<Company>7EVENDAYS⇔HOLIDAYS</Company>
<Description>Forfeit and restart in mu3</Description>
<Version>1.6.0</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<Platforms>x64</Platforms>
</PropertyGroup>
<ItemGroup>
<Reference Include="mscorlib"><HintPath>..\Common\mscorlib.dll</HintPath></Reference>
<Reference Include="UnityEngine"><HintPath>..\Common\UnityEngine.dll</HintPath></Reference>
<ProjectReference Include="..\Common\Assembly-CSharp_unpacked\Assembly-CSharp_unpacked.csproj" />
</ItemGroup>
<Target Name="CopyDLLs" AfterTargets="Build">
<Copy SourceFiles="$(TargetDir)$(AssemblyName).dll" DestinationFolder="..\Common\mu3\BepInEx\monomod" />
</Target>
</Project>

View File

@ -0,0 +1,7 @@
<Project>
<PropertyGroup>
<AssemblyName>Assembly-CSharp.BetterGiveUp.mm</AssemblyName>
<Description>Forfeit (red menu) and restart (yellow menu)</Description>
</PropertyGroup>
<Import Project="..\Mu3Mods.csproj" />
</Project>

View File

@ -1,13 +1,8 @@
#pragma warning disable CS0626 using System.Collections.Generic;
#pragma warning disable CS0649
#pragma warning disable IDE0051
#pragma warning disable IDE1006
using System.Collections.Generic;
namespace MU3.Game; namespace MU3.Game;
public class patch_GameLED: GameLED { class patch_GameLED: GameLED {
private patch_ButtonList _buttonList = new(); private patch_ButtonList _buttonList = new();
public extern void orig_initialize(); public extern void orig_initialize();

View File

@ -1,14 +1,9 @@
#pragma warning disable CS0626 using UnityEngine;
#pragma warning disable CS0649
#pragma warning disable IDE0051
#pragma warning disable IDE1006
using UnityEngine;
namespace MU3.Notes; namespace MU3.Notes;
public class patch_FieldObject: FieldObject { class patch_FieldObject: FieldObject {
public class patch_BarNotes { class patch_BarNotes {
public class patch_Bar: BarNotes.Bar { class patch_Bar: BarNotes.Bar {
public extern void orig_update(NotesManager mgr, float width = 1f); public extern void orig_update(NotesManager mgr, float width = 1f);
public new void update(NotesManager mgr, float width = 1f) { public new void update(NotesManager mgr, float width = 1f) {

View File

@ -1,13 +1,8 @@
#pragma warning disable CS0626 using UnityEngine;
#pragma warning disable CS0649
#pragma warning disable IDE0051
#pragma warning disable IDE1006
using UnityEngine;
namespace MU3.Notes; namespace MU3.Notes;
public class patch_NotesManager: NotesManager { class patch_NotesManager: NotesManager {
public extern void orig_reset(); public extern void orig_reset();
public extern Vector3 orig_getEnemyPos(); public extern Vector3 orig_getEnemyPos();

View File

@ -1,9 +1,4 @@
#pragma warning disable CS0626 using MU3.Battle;
#pragma warning disable CS0649
#pragma warning disable IDE0051
#pragma warning disable IDE1006
using MU3.Battle;
using MU3.Game; using MU3.Game;
using MU3.Notes; using MU3.Notes;
using MU3.Util; using MU3.Util;
@ -12,7 +7,7 @@ using UnityEngine;
namespace MU3.Sequence; namespace MU3.Sequence;
public class patch_PlayMusic: PlayMusic { class patch_PlayMusic: PlayMusic {
private static readonly TimeSpan HOLD_DURATION = TimeSpan.FromSeconds(1.0f); private static readonly TimeSpan HOLD_DURATION = TimeSpan.FromSeconds(1.0f);
private static readonly TimeSpan ROLL_DURATION = TimeSpan.FromSeconds(0.5f); private static readonly TimeSpan ROLL_DURATION = TimeSpan.FromSeconds(0.5f);
public static bool QuickSkip = false; public static bool QuickSkip = false;

View File

@ -1,14 +1,8 @@
#pragma warning disable CS0626 using MU3.Sequence;
#pragma warning disable CS0649
#pragma warning disable IDE0051
#pragma warning disable IDE1006
#pragma warning disable CS0414
using MU3.Sequence;
namespace MU3; namespace MU3;
public class patch_Scene_32_PrePlayMusic_MusicSelect: Scene_32_PrePlayMusic_MusicSelect { class patch_Scene_32_PrePlayMusic_MusicSelect: Scene_32_PrePlayMusic_MusicSelect {
private bool _playVoice; private bool _playVoice;
private extern void orig_Enter_Select(); private extern void orig_Enter_Select();
private void Enter_Select() { private void Enter_Select() {

View File

@ -1,14 +1,9 @@
#pragma warning disable CS0626
#pragma warning disable CS0649
#pragma warning disable IDE0051
#pragma warning disable IDE1006
using MU3.Sequence; using MU3.Sequence;
using MU3.Util; using MU3.Util;
namespace MU3; namespace MU3;
public class patch_Scene_37_Result: Scene_37_Result { class patch_Scene_37_Result: Scene_37_Result {
private Mode<Scene_37_Result, State> mode_; private Mode<Scene_37_Result, State> mode_;
private extern void orig_Init_Init(); private extern void orig_Init_Init();
private enum State { private enum State {
@ -25,7 +20,6 @@ public class patch_Scene_37_Result: Scene_37_Result {
CardCharaEnd, CardCharaEnd,
End End
} }
private void Init_Init() { private void Init_Init() {
orig_Init_Init(); orig_Init_Init();
if(patch_PlayMusic.QuickSkip) { if(patch_PlayMusic.QuickSkip) {

View File

@ -1,15 +1,9 @@
#pragma warning disable CS0626
#pragma warning disable CS0649
#pragma warning disable CS0414
#pragma warning disable IDE0051
#pragma warning disable IDE1006
using MU3.Sequence; using MU3.Sequence;
using MU3.Util; using MU3.Util;
namespace MU3; namespace MU3;
public class patch_Scene_38_End: Scene_38_End { class patch_Scene_38_End: Scene_38_End {
private Mode<Scene_38_End, State> mode_; private Mode<Scene_38_End, State> mode_;
private extern void orig_Init_Init(); private extern void orig_Init_Init();
private int result_; private int result_;

View File

@ -1,23 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net35</TargetFramework>
<AssemblyName>Assembly-CSharp.ExportChartData.mm</AssemblyName>
<Company>7EVENDAYS⇔HOLIDAYS</Company>
<Description>Export mu3 chart data</Description>
<Version>1.3.0</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<Platforms>x64</Platforms>
</PropertyGroup>
<ItemGroup>
<Reference Include="mscorlib"><HintPath>..\Common\mscorlib.dll</HintPath></Reference>
<Reference Include="UnityEngine"><HintPath>..\Common\UnityEngine.dll</HintPath></Reference>
<ProjectReference Include="..\Common\Assembly-CSharp_unpacked\Assembly-CSharp_unpacked.csproj" />
</ItemGroup>
<Target Name="CopyDLLs" AfterTargets="Build">
<Copy SourceFiles="$(TargetDir)$(AssemblyName).dll" DestinationFolder="..\Common\mu3\BepInEx\monomod" />
</Target>
</Project>

View File

@ -0,0 +1,7 @@
<Project>
<PropertyGroup>
<AssemblyName>Assembly-CSharp.ExportChartData.mm</AssemblyName>
<Description>Export chart data to charts.csv</Description>
</PropertyGroup>
<Import Project="..\Mu3Mods.csproj" />
</Project>

View File

@ -1,13 +1,8 @@
#pragma warning disable CS0626 using System.IO;
#pragma warning disable CS0649
#pragma warning disable IDE0051
#pragma warning disable IDE1006
using System.IO;
namespace MU3.Data; namespace MU3.Data;
public class patch_DataManager: DataManager { class patch_DataManager: DataManager {
private extern void orig_linkFumenAnalysisData(); private extern void orig_linkFumenAnalysisData();
private const string SEPARATOR = "$"; private const string SEPARATOR = "$";
private string PrintHeader() { private string PrintHeader() {

View File

@ -1,23 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net35</TargetFramework>
<AssemblyName>Assembly-CSharp.InfiniteGP.mm</AssemblyName>
<Company>7EVENDAYS⇔HOLIDAYS</Company>
<Description>Infinite GP in mu3</Description>
<Version>1.6.0</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<Platforms>x64</Platforms>
</PropertyGroup>
<ItemGroup>
<Reference Include="mscorlib"><HintPath>..\Common\mscorlib.dll</HintPath></Reference>
<Reference Include="UnityEngine"><HintPath>..\Common\UnityEngine.dll</HintPath></Reference>
<Reference Include="UnityEngine.UI"><HintPath>..\Common\UnityEngine.UI.dll</HintPath></Reference>
<ProjectReference Include="..\Common\Assembly-CSharp_unpacked\Assembly-CSharp_unpacked.csproj" />
</ItemGroup>
<Target Name="CopyDLLs" AfterTargets="Build">
<Copy SourceFiles="$(TargetDir)$(AssemblyName).dll" DestinationFolder="..\Common\mu3\BepInEx\monomod" />
</Target>
</Project>

View File

@ -0,0 +1,7 @@
<Project>
<PropertyGroup>
<AssemblyName>Assembly-CSharp.InfiniteGP.mm</AssemblyName>
<Description>Remove credits and GP</Description>
</PropertyGroup>
<Import Project="..\Mu3Mods.csproj" />
</Project>

View File

@ -1,9 +1,6 @@
#pragma warning disable CS0649 namespace MU3.User;
#pragma warning disable IDE1006
namespace MU3.User; class patch_UserManager: UserManager {
public class patch_UserManager: UserManager {
public new const int DefaultGP = 666; public new const int DefaultGP = 666;
private int _gp; private int _gp;
private OnUpdate _onUpdateGP; private OnUpdate _onUpdateGP;

View File

@ -1,13 +1,10 @@
#pragma warning disable CS0649
#pragma warning disable CS0626
using MU3.Util; using MU3.Util;
namespace MU3; namespace MU3;
public class patch_Scene_25_Login: Scene_25_Login { class patch_Scene_25_Login: Scene_25_Login {
private enum State { public enum State {
Login = 2 Login = 2
} }
private Mode<Scene_25_Login, State> mode_; private Mode<Scene_25_Login, State> mode_;

View File

@ -1,12 +1,9 @@
#pragma warning disable CS0626
#pragma warning disable CS0649
using MU3.CustomUI; using MU3.CustomUI;
using UnityEngine; using UnityEngine;
namespace MU3; namespace MU3;
public class patch_UICredit: UICredit { class patch_UICredit: UICredit {
private Animator gpAnimator_; private Animator gpAnimator_;
private GameObject creditRoot_; private GameObject creditRoot_;
private MU3UICounter credit_; private MU3UICounter credit_;

View File

@ -1,23 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net35</TargetFramework>
<AssemblyName>Assembly-CSharp.LockSelectionTime.mm</AssemblyName>
<Company>7EVENDAYS⇔HOLIDAYS</Company>
<Description>Lock selection time in mu3</Description>
<Version>1.5.0</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<Platforms>x64</Platforms>
</PropertyGroup>
<ItemGroup>
<Reference Include="mscorlib"><HintPath>..\Common\mscorlib.dll</HintPath></Reference>
<Reference Include="UnityEngine"><HintPath>..\Common\UnityEngine.dll</HintPath></Reference>
<Reference Include="UnityEngine.UI"><HintPath>..\Common\UnityEngine.UI.dll</HintPath></Reference>
<ProjectReference Include="..\Common\Assembly-CSharp_unpacked\Assembly-CSharp_unpacked.csproj" />
</ItemGroup>
<Target Name="CopyDLLs" AfterTargets="Build">
<Copy SourceFiles="$(TargetDir)$(AssemblyName).dll" DestinationFolder="..\Common\mu3\BepInEx\monomod" />
</Target>
</Project>

View File

@ -0,0 +1,7 @@
<Project>
<PropertyGroup>
<AssemblyName>Assembly-CSharp.LockSelectionTime.mm</AssemblyName>
<Description>Disable all timers</Description>
</PropertyGroup>
<Import Project="..\Mu3Mods.csproj" />
</Project>

View File

@ -1,9 +1,7 @@
#pragma warning disable CS0626
namespace MU3; namespace MU3;
public class patch_SystemUI: SystemUI { class patch_SystemUI: SystemUI {
public class patch_Timer: SystemUI.Timer { class patch_Timer: Timer {
public patch_Timer(UITimer timer) : base(timer) { /* nop */ } public patch_Timer(UITimer timer) : base(timer) { /* nop */ }
public new void execute() { /* nop */ } public new void execute() { /* nop */ }
public extern bool orig_get_show(); public extern bool orig_get_show();

View File

@ -1,10 +1,8 @@
#pragma warning disable CS0626
using UnityEngine; using UnityEngine;
namespace MU3; namespace MU3;
public class patch_UITimer: UITimer { class patch_UITimer: UITimer {
public new void update() { /* nop */ } public new void update() { /* nop */ }
public new void update(float externalCounter) { /* nop */ } public new void update(float externalCounter) { /* nop */ }
public extern void orig_initialize(float counter); public extern void orig_initialize(float counter);

View File

@ -1,13 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net35</TargetFramework> <TargetFramework>net35</TargetFramework>
<AssemblyName>Assembly-CSharp.Pause.mm</AssemblyName>
<Company>7EVENDAYS⇔HOLIDAYS</Company> <Company>7EVENDAYS⇔HOLIDAYS</Company>
<Description>Pause in mu3</Description> <Version>1.8.0</Version>
<Version>1.6.0</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion> <LangVersion>latest</LangVersion>
<Platforms>x64</Platforms> <Platforms>x64</Platforms>
<NoWarn>IDE0044,IDE0051,IDE0052,IDE1006,CS0414,CS0649,CS0626</NoWarn>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
@ -15,6 +14,7 @@
<Reference Include="UnityEngine"><HintPath>..\Common\UnityEngine.dll</HintPath></Reference> <Reference Include="UnityEngine"><HintPath>..\Common\UnityEngine.dll</HintPath></Reference>
<Reference Include="UnityEngine.UI"><HintPath>..\Common\UnityEngine.UI.dll</HintPath></Reference> <Reference Include="UnityEngine.UI"><HintPath>..\Common\UnityEngine.UI.dll</HintPath></Reference>
<Reference Include="Assembly-CSharp-firstpass"><HintPath>..\Common\Assembly-CSharp-firstpass.dll</HintPath></Reference> <Reference Include="Assembly-CSharp-firstpass"><HintPath>..\Common\Assembly-CSharp-firstpass.dll</HintPath></Reference>
<PackageReference Include="monomod" Version="22.7.31.1" />
<ProjectReference Include="..\Common\Assembly-CSharp_unpacked\Assembly-CSharp_unpacked.csproj" /> <ProjectReference Include="..\Common\Assembly-CSharp_unpacked\Assembly-CSharp_unpacked.csproj" />
</ItemGroup> </ItemGroup>

View File

@ -3,25 +3,25 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17 # Visual Studio Version 17
VisualStudioVersion = 17.9.34728.123 VisualStudioVersion = 17.9.34728.123
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Assembly-CSharp.BetterGiveUp.mm", "BetterGiveUp\Assembly-CSharp.BetterGiveUp.mm.csproj", "{003AD3C6-07CA-4824-B4BD-4BEF6F3D8997}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BetterGiveUp", "BetterGiveUp\BetterGiveUp.csproj", "{003AD3C6-07CA-4824-B4BD-4BEF6F3D8997}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Assembly-CSharp.NaiveRating.mm", "NaiveRating\Assembly-CSharp.NaiveRating.mm.csproj", "{1FEA698E-DF5E-46CF-8023-F2B2F57885C5}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NaiveRating", "NaiveRating\NaiveRating.csproj", "{1FEA698E-DF5E-46CF-8023-F2B2F57885C5}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Assembly-CSharp.ExportChartData.mm", "ExportChartData\Assembly-CSharp.ExportChartData.mm.csproj", "{8BFC37B1-C6C8-492A-B8DC-99BD1F1B9576}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ExportChartData", "ExportChartData\ExportChartData.csproj", "{8BFC37B1-C6C8-492A-B8DC-99BD1F1B9576}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Assembly-CSharp.SkipNotice.mm", "SkipNotice\Assembly-CSharp.SkipNotice.mm.csproj", "{A1F32CB9-56C2-458A-B369-C61BD3A6AFBB}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SkipNotice", "SkipNotice\SkipNotice.csproj", "{A1F32CB9-56C2-458A-B369-C61BD3A6AFBB}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Assembly-CSharp.SkipPreMusicRitual.mm", "SkipPreMusicRitual\Assembly-CSharp.SkipPreMusicRitual.mm.csproj", "{BB9CB905-9989-466C-9A91-D2F323005237}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SkipPreMusicRitual", "SkipPreMusicRitual\SkipPreMusicRitual.csproj", "{BB9CB905-9989-466C-9A91-D2F323005237}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Assembly-CSharp.InfiniteGP.mm", "InfiniteGP\Assembly-CSharp.InfiniteGP.mm.csproj", "{990DCB96-7A47-45B9-B7CB-A6B2A1B6864A}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "InfiniteGP", "InfiniteGP\InfiniteGP.csproj", "{990DCB96-7A47-45B9-B7CB-A6B2A1B6864A}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Assembly-CSharp.LockSelectionTime.mm", "LockSelectionTime\Assembly-CSharp.LockSelectionTime.mm.csproj", "{66DE85AD-58AD-467C-B1C0-6B98BB27265D}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LockSelectionTime", "LockSelectionTime\LockSelectionTime.csproj", "{66DE85AD-58AD-467C-B1C0-6B98BB27265D}"
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Assembly-CSharp.SkipLoginReward.mm", "SkipLoginReward\Assembly-CSharp.SkipLoginReward.mm.csproj", "{6E078B7E-7965-4CFF-9590-5C27A009BA7A}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SkipLoginReward", "SkipLoginReward\SkipLoginReward.csproj", "{6E078B7E-7965-4CFF-9590-5C27A009BA7A}"
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}") = "Pause", "Pause\Pause.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}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UnlockAndSetJewelBoostNine", "UnlockAndSetJewelBoostNine\UnlockAndSetJewelBoostNine.csproj", "{70C775D7-8C47-4CFE-B91D-6AAEB17389F2}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution

View File

@ -1,24 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net35</TargetFramework>
<AssemblyName>Assembly-CSharp.NaiveRating.mm</AssemblyName>
<Company>7EVENDAYS⇔HOLIDAYS</Company>
<Description>Better rating for mu3</Description>
<Version>1.5.0</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<Platforms>x64</Platforms>
</PropertyGroup>
<ItemGroup>
<Reference Include="mscorlib"><HintPath>..\Common\mscorlib.dll</HintPath></Reference>
<Reference Include="UnityEngine"><HintPath>..\Common\UnityEngine.dll</HintPath></Reference>
<Reference Include="UnityEngine.UI"><HintPath>..\Common\UnityEngine.UI.dll</HintPath></Reference>
<ProjectReference Include="..\Common\Assembly-CSharp_unpacked\Assembly-CSharp_unpacked.csproj" />
<PackageReference Include="monomod" Version="22.7.31.1" />
</ItemGroup>
<Target Name="CopyDLLs" AfterTargets="Build">
<Copy SourceFiles="$(TargetDir)$(AssemblyName).dll" DestinationFolder="..\Common\mu3\BepInEx\monomod" />
</Target>
</Project>

View File

@ -1,13 +1,8 @@
#pragma warning disable CS0626
#pragma warning disable CS0649
#pragma warning disable IDE0051
#pragma warning disable IDE1006
using MU3.DB; using MU3.DB;
namespace MU3.Data; namespace MU3.Data;
public class patch_GameData: GameData { class patch_GameData: GameData {
public extern static RatingColorID orig_getRatingColorIDFromRating100(int rating100); public extern static RatingColorID orig_getRatingColorIDFromRating100(int rating100);
public static new RatingColorID getRatingColorIDFromRating100(int rating100) { public static new RatingColorID getRatingColorIDFromRating100(int rating100) {
return orig_getRatingColorIDFromRating100(NaiveRating.Get()); return orig_getRatingColorIDFromRating100(NaiveRating.Get());

View File

@ -1,13 +1,8 @@
#pragma warning disable CS0626
#pragma warning disable CS0649
#pragma warning disable IDE0051
#pragma warning disable IDE1006
using MU3.Game; using MU3.Game;
namespace MU3.User; namespace MU3.User;
public class patch_UserManager: UserManager { class patch_UserManager: UserManager {
public extern void orig_updateUserRating(SessionInfo sessionInfo, SessionResult result); public extern void orig_updateUserRating(SessionInfo sessionInfo, SessionResult result);
public new void updateUserRating(SessionInfo sessionInfo, SessionResult result) { public new void updateUserRating(SessionInfo sessionInfo, SessionResult result) {
NaiveRating.PrevRating = NaiveRating.Get(); NaiveRating.PrevRating = NaiveRating.Get();

View File

@ -1,8 +1,3 @@
#pragma warning disable CS0626
#pragma warning disable CS0649
#pragma warning disable IDE0051
#pragma warning disable IDE1006
using MonoMod; using MonoMod;
namespace MU3.User; namespace MU3.User;

View File

@ -1,8 +1,3 @@
#pragma warning disable CS0626
#pragma warning disable CS0649
#pragma warning disable IDE0051
#pragma warning disable IDE1006
using MU3.Data; using MU3.Data;
using MU3.DataStudio; using MU3.DataStudio;
using MU3.User; using MU3.User;

View File

@ -1,11 +1,9 @@
#pragma warning disable CS0626
using MU3.User; using MU3.User;
using MU3.Util; using MU3.Util;
namespace MU3; namespace MU3;
public class patch_ANM_SWH_Profile: ANM_SWH_Profile { class patch_ANM_SWH_Profile: ANM_SWH_Profile {
public extern void orig_setUpLogin(); public extern void orig_setUpLogin();
// Fixes login display // Fixes login display

View File

@ -1,13 +1,8 @@
#pragma warning disable CS0626
#pragma warning disable CS0649
#pragma warning disable IDE0051
#pragma warning disable IDE1006
using MU3.Sequence; using MU3.Sequence;
namespace MU3; namespace MU3;
public class patch_Scene_37_Result_Score: Scene_37_Result_Score { class patch_Scene_37_Result_Score: Scene_37_Result_Score {
private PlayInfo playInfo_; private PlayInfo playInfo_;
private extern void orig_TechRating_Init(); private extern void orig_TechRating_Init();

View File

@ -0,0 +1,7 @@
<Project>
<PropertyGroup>
<AssemblyName>Assembly-CSharp.NaiveRating.mm</AssemblyName>
<Description>Best45 rating</Description>
</PropertyGroup>
<Import Project="..\Mu3Mods.csproj" />
</Project>

View File

@ -1,10 +1,8 @@
#pragma warning disable CS0626
using MU3.Sequence; using MU3.Sequence;
namespace MU3.Battle; namespace MU3.Battle;
public class patch_GameEngine: GameEngine { class patch_GameEngine: GameEngine {
public extern void orig_reset(); public extern void orig_reset();
public new void reset() { public new void reset() {
orig_reset(); orig_reset();

View File

@ -1,11 +1,9 @@
#pragma warning disable CS0649
using MU3.Sound; using MU3.Sound;
using MU3.Util; using MU3.Util;
namespace MU3.Game; namespace MU3.Game;
public class patch_GameBGM: GameBGM { class patch_GameBGM: GameBGM {
private patch_SoundManager psm => ((patch_SoundManager)Singleton<SoundManager>.instance); private patch_SoundManager psm => ((patch_SoundManager)Singleton<SoundManager>.instance);
private HandleInfo _handle; private HandleInfo _handle;
public void pause(bool val) { public void pause(bool val) {

View File

@ -1,16 +1,11 @@
#pragma warning disable CS0626 using MU3.Battle;
#pragma warning disable CS0649
#pragma warning disable IDE0051
#pragma warning disable IDE1006
using MU3.Battle;
using MU3.Game; using MU3.Game;
using MU3.Notes; using MU3.Notes;
using MU3.Util; using MU3.Util;
namespace MU3.Sequence; namespace MU3.Sequence;
public class patch_PlayMusic: PlayMusic { class patch_PlayMusic: PlayMusic {
private static readonly float PAUSE_CD = 5f; private static readonly float PAUSE_CD = 5f;
private static readonly float UNPAUSE_CD = 0.5f; private static readonly float UNPAUSE_CD = 0.5f;
private GameEngine _gameEngine; private GameEngine _gameEngine;

View File

@ -1,9 +1,6 @@
#pragma warning disable CS0626
#pragma warning disable CS0649
namespace MU3.Sound; namespace MU3.Sound;
public class patch_SoundManager: SoundManager { class patch_SoundManager: SoundManager {
private extern HandleInfo orig_getHandle(Priority priority); private extern HandleInfo orig_getHandle(Priority priority);
private HandleInfo getHandle(Priority priority) => orig_getHandle(priority); private HandleInfo getHandle(Priority priority) => orig_getHandle(priority);
private patch_SoundPlayer[] _soundPlayers; private patch_SoundPlayer[] _soundPlayers;

View File

@ -1,6 +1,3 @@
#pragma warning disable CS0626
#pragma warning disable CS0649
namespace MU3.Sound; namespace MU3.Sound;
class patch_SoundPlayer: SoundPlayer { class patch_SoundPlayer: SoundPlayer {

7
Pause/Pause.csproj Normal file
View File

@ -0,0 +1,7 @@
<Project>
<PropertyGroup>
<AssemblyName>Assembly-CSharp.Pause.mm</AssemblyName>
<Description>Enables pausing the game with the service button</Description>
</PropertyGroup>
<Import Project="..\Mu3Mods.csproj" />
</Project>

View File

@ -1,8 +1,6 @@
#pragma warning disable CS0626
using MU3.Sequence; using MU3.Sequence;
public class patch_GameDeviceManager: GameDeviceManager { class patch_GameDeviceManager: GameDeviceManager {
private extern void orig_update(); private extern void orig_update();
private void update() { private void update() {
if(!patch_PlayMusic.Paused) { if(!patch_PlayMusic.Paused) {

View File

@ -1,22 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net35</TargetFramework>
<AssemblyName>Assembly-CSharp.SkipLoginReward.mm</AssemblyName>
<Company>7EVENDAYS⇔HOLIDAYS</Company>
<Description>Skip bullshit in mu3 that some individuals may consider useful</Description>
<Version>1.5.1</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<Platforms>x64</Platforms>
</PropertyGroup>
<ItemGroup>
<Reference Include="mscorlib"><HintPath>..\Common\mscorlib.dll</HintPath></Reference>
<Reference Include="UnityEngine"><HintPath>..\Common\UnityEngine.dll</HintPath></Reference>
<ProjectReference Include="..\Common\Assembly-CSharp_unpacked\Assembly-CSharp_unpacked.csproj" />
</ItemGroup>
<Target Name="CopyDLLs" AfterTargets="Build">
<Copy SourceFiles="$(TargetDir)$(AssemblyName).dll" DestinationFolder="..\Common\mu3\BepInEx\monomod" />
</Target>
</Project>

View File

@ -1,12 +1,8 @@
#pragma warning disable CS0649
#pragma warning disable IDE0051
#pragma warning disable IDE1006
using MU3.Util; using MU3.Util;
namespace MU3; namespace MU3;
public class patch_Scene_30_NoticeReward: Scene_30_NoticeReward { class patch_Scene_30_NoticeReward: Scene_30_NoticeReward {
private Mode<Scene_30_NoticeReward, State> _mode; private Mode<Scene_30_NoticeReward, State> _mode;
private enum State { private enum State {
RankingReward = 2, RankingReward = 2,

View File

@ -0,0 +1,7 @@
<Project>
<PropertyGroup>
<AssemblyName>Assembly-CSharp.SkipLoginReward.mm</AssemblyName>
<Description>Skip event/login rewards</Description>
</PropertyGroup>
<Import Project="..\Mu3Mods.csproj" />
</Project>

View File

@ -1,22 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net35</TargetFramework>
<AssemblyName>Assembly-CSharp.SkipNotice.mm</AssemblyName>
<Company>7EVENDAYS⇔HOLIDAYS</Company>
<Description>Skip bullshit in mu3</Description>
<Version>1.5.1</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<Platforms>x64</Platforms>
</PropertyGroup>
<ItemGroup>
<Reference Include="mscorlib"><HintPath>..\Common\mscorlib.dll</HintPath></Reference>
<Reference Include="UnityEngine"><HintPath>..\Common\UnityEngine.dll</HintPath></Reference>
<ProjectReference Include="..\Common\Assembly-CSharp_unpacked\Assembly-CSharp_unpacked.csproj" />
</ItemGroup>
<Target Name="CopyDLLs" AfterTargets="Build">
<Copy SourceFiles="$(TargetDir)$(AssemblyName).dll" DestinationFolder="..\Common\mu3\BepInEx\monomod" />
</Target>
</Project>

View File

@ -1,12 +1,8 @@
#pragma warning disable CS0649
#pragma warning disable IDE0051
#pragma warning disable IDE1006
using MU3.Util; using MU3.Util;
namespace MU3; namespace MU3;
public class patch_Scene_30_NoticeReward: Scene_30_NoticeReward { class patch_Scene_30_NoticeReward: Scene_30_NoticeReward {
private Mode<Scene_30_NoticeReward, State> _mode; private Mode<Scene_30_NoticeReward, State> _mode;
private enum State { private enum State {
RankingReward = 2, RankingReward = 2,

View File

@ -0,0 +1,7 @@
<Project>
<PropertyGroup>
<AssemblyName>Assembly-CSharp.SkipNotice.mm</AssemblyName>
<Description>Skip event/safety notice</Description>
</PropertyGroup>
<Import Project="..\Mu3Mods.csproj" />
</Project>

View File

@ -1,22 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net35</TargetFramework>
<AssemblyName>Assembly-CSharp.SkipPreMusicRitual.mm</AssemblyName>
<Company>7EVENDAYS⇔HOLIDAYS</Company>
<Description>Skip more bullshit in mu3</Description>
<Version>1.3.0</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<Platforms>x64</Platforms>
</PropertyGroup>
<ItemGroup>
<Reference Include="mscorlib"><HintPath>..\Common\mscorlib.dll</HintPath></Reference>
<Reference Include="UnityEngine"><HintPath>..\Common\UnityEngine.dll</HintPath></Reference>
<ProjectReference Include="..\Common\Assembly-CSharp_unpacked\Assembly-CSharp_unpacked.csproj" />
</ItemGroup>
<Target Name="CopyDLLs" AfterTargets="Build">
<Copy SourceFiles="$(TargetDir)$(AssemblyName).dll" DestinationFolder="..\Common\mu3\BepInEx\monomod" />
</Target>
</Project>

View File

@ -1,6 +1,6 @@
namespace MU3.Battle; namespace MU3.Battle;
public class patch_GameEngine: GameEngine { class patch_GameEngine: GameEngine {
public new bool isStartCutsceneFinish() { public new bool isStartCutsceneFinish() {
return true; return true;
} }

View File

@ -1,13 +1,8 @@
#pragma warning disable CS0626
#pragma warning disable CS0649
#pragma warning disable IDE0051
#pragma warning disable IDE1006
using MU3.Battle; using MU3.Battle;
namespace MU3.Sequence; namespace MU3.Sequence;
public class patch_PlayMusic: PlayMusic { class patch_PlayMusic: PlayMusic {
private GameEngine _gameEngine; private GameEngine _gameEngine;
private extern void orig_Execute_StartCutscene(); private extern void orig_Execute_StartCutscene();

View File

@ -4,7 +4,7 @@ using UnityEngine;
namespace MU3; namespace MU3;
public class patch_BattleUI: BattleUI { class patch_BattleUI: BattleUI {
private System.Collections.IEnumerator playReadyProc(Action onFinish) { private System.Collections.IEnumerator playReadyProc(Action onFinish) {
if(!SystemUI.Exists) { if(!SystemUI.Exists) {
onFinish(); onFinish();

View File

@ -0,0 +1,7 @@
<Project>
<PropertyGroup>
<AssemblyName>Assembly-CSharp.SkipPreMusicRitual.mm</AssemblyName>
<Description>Skip "Are you ready? Let's shoot"</Description>
</PropertyGroup>
<Import Project="..\Mu3Mods.csproj" />
</Project>

View File

@ -1,22 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net35</TargetFramework>
<AssemblyName>Assembly-CSharp.UnlockAndSetJewelBoostNine.mm</AssemblyName>
<Company>7EVENDAYS⇔HOLIDAYS</Company>
<Description>Unlock and set the jewel boost to max</Description>
<Version>1.7.0</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<Platforms>x64</Platforms>
</PropertyGroup>
<ItemGroup>
<Reference Include="mscorlib"><HintPath>..\Common\mscorlib.dll</HintPath></Reference>
<Reference Include="UnityEngine"><HintPath>..\Common\UnityEngine.dll</HintPath></Reference>
<ProjectReference Include="..\Common\Assembly-CSharp_unpacked\Assembly-CSharp_unpacked.csproj" />
</ItemGroup>
<Target Name="CopyDLLs" AfterTargets="Build">
<Copy SourceFiles="$(TargetDir)$(AssemblyName).dll" DestinationFolder="..\Common\mu3\BepInEx\monomod" />
</Target>
</Project>

View File

@ -1,15 +1,10 @@
#pragma warning disable CS0626 using MU3.DB;
#pragma warning disable CS0649
#pragma warning disable IDE1006
#pragma warning disable CS0414
using MU3.DB;
using MU3.User; using MU3.User;
using MU3.Util; using MU3.Util;
namespace MU3; namespace MU3;
public class patch_Scene_32_PrePlayMusic_Confirm: Scene_32_PrePlayMusic_Confirm { 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;

View File

@ -0,0 +1,7 @@
<Project>
<PropertyGroup>
<AssemblyName>Assembly-CSharp.UnlockAndSetJewelBoostNine.mm</AssemblyName>
<Description>Unlock and set the jewel boost to max</Description>
</PropertyGroup>
<Import Project="..\Mu3Mods.csproj" />
</Project>