forked from akanyan/mu3-mods
feat: add the remaining things
* DisableMaintenance * UnlockAllMusic * UnlockGameEvents * UnlockMemoryChapters
This commit is contained in:
7
DisableMaintenance/DisableMaintenance.csproj
Normal file
7
DisableMaintenance/DisableMaintenance.csproj
Normal file
@ -0,0 +1,7 @@
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<AssemblyName>Assembly-CSharp.DisableMaintenance.mm</AssemblyName>
|
||||
<Description>Disable maintenance</Description>
|
||||
</PropertyGroup>
|
||||
<Import Project="..\Mu3Mods.csproj" />
|
||||
</Project>
|
27
DisableMaintenance/MU3.Operation/patch_ClosingManager.cs
Normal file
27
DisableMaintenance/MU3.Operation/patch_ClosingManager.cs
Normal 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;
|
||||
}
|
||||
}
|
47
DisableMaintenance/MU3.Operation/patch_MaintenanceTimer.cs
Normal file
47
DisableMaintenance/MU3.Operation/patch_MaintenanceTimer.cs
Normal 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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user