forked from akanyan/mu3-mods
feat: add LockSelectionTime
This commit is contained in:
parent
8efe0a3a94
commit
fe7d0f297f
16
LockSelectionTime/MU3/patch_SystemUI.cs
Normal file
16
LockSelectionTime/MU3/patch_SystemUI.cs
Normal 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); }
|
||||
}
|
||||
}
|
||||
}
|
15
LockSelectionTime/MU3/patch_UITimer.cs
Normal file
15
LockSelectionTime/MU3/patch_UITimer.cs
Normal 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);
|
||||
}
|
||||
}
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user