feat: add LockSelectionTime

This commit is contained in:
あかニャン 2024-06-27 09:41:45 +09:00
parent 8efe0a3a94
commit fe7d0f297f
3 changed files with 38 additions and 1 deletions

View File

@ -0,0 +1,16 @@
#pragma warning disable CS0626
namespace MU3;
public class patch_SystemUI: SystemUI {
public class patch_Timer: SystemUI.Timer {
public patch_Timer(UITimer timer): base(timer) { /* nop */ }
public new void execute() { /* nop */ }
public extern bool orig_get_show();
public extern void orig_set_show(bool value);
public new bool show {
get { return orig_get_show(); }
set { orig_set_show(false); }
}
}
}

View File

@ -0,0 +1,15 @@
#pragma warning disable CS0626
using UnityEngine;
namespace MU3;
public class patch_UITimer: UITimer {
public new void update() { /* nop */ }
public new void update(float externalCounter) { /* nop */ }
public extern void orig_initialize(float counter);
public new void initialize(float counter) {
orig_initialize(counter);
transform.localScale = new Vector3(0, 0, 0);
}
}

View File

@ -21,13 +21,19 @@ Exports some useful chart data into a dollar-separated file (charts.csv) when th
Self-explanatory. Saves you time.
### LockSelectionTime ⚠️
Disables *all* timers. A replacement for the older LockSelectionTime.
⚠️ Requires a clean assembly. Dirty assemblies often hardpatch the older LockSelectionTime.
### NaiveRating
Replaces the in-game rating algorithm (OldBest30+NewBest15+Recent10) with Best45. Client-side and purely cosmetic.
### SkipNotice ⚠️
Skips the safety warning screen, event notices, ⚠login bonuses, event rewards⚠️.
Skips the safety warning screen, event notices, ⚠login bonuses, ⚠️event rewards.
### SkipPreMusicRitual