1
0
forked from akanyan/mu3-mods

feat: add the remaining things

* DisableMaintenance
* UnlockAllMusic
* UnlockGameEvents
* UnlockMemoryChapters
This commit is contained in:
2024-07-08 02:10:46 +09:00
parent 42cf65bdb7
commit cc7bc8613b
17 changed files with 263 additions and 1 deletions

View File

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

View File

@ -0,0 +1,27 @@
namespace MU3.Operation;
class patch_ClosingManager: ClosingManager {
public new int getRemainingMinutes() {
return int.MaxValue;
}
public new int getClosedRemainingMinutes() {
return int.MaxValue;
}
public new bool isShowRemainingMinutes() {
return false;
}
public new bool isReceptionClosed() {
return false;
}
public new bool isForceLogout() {
return false;
}
public new CreditUseRestriction getCreditUseRestriction() {
return CreditUseRestriction.None;
}
}

View File

@ -0,0 +1,47 @@
namespace MU3.Operation;
class patch_MaintenanceTimer: MaintenanceTimer {
public new bool isUnderServerMaintenance() {
return false;
}
public new int getServerMaintenanceSec() {
return int.MaxValue;
}
public new int getAutoRebootSec() {
return int.MaxValue;
}
public new bool isAutoRebootNeeded() {
return false;
}
public new int getRemainingMinutes() {
return int.MaxValue;
}
public new int getClosedRemainingMinutes() {
return int.MaxValue;
}
public new bool isShowRemainingMinutes() {
return false;
}
public new bool isClosed() {
return false;
}
public new bool isForceLogout() {
return false;
}
public new ClosingManager.CreditUseRestriction getCreditUseRestriction() {
return ClosingManager.CreditUseRestriction.None;
}
public new bool isCoinAcceptable() {
return true;
}
}