feat: implement skipnotice
This commit is contained in:
parent
6b4022cbbe
commit
63453d5e5f
@ -9,7 +9,9 @@ Enables these buttons in music play:
|
||||
* Red menu: instant return to song select
|
||||
* Yellow menu: instant restart
|
||||
|
||||
To avoid misclicks, you have to hold the button down for 1 second. Based on GiveUp, but Better.
|
||||
To avoid misclicks, you have to hold the button down for 1 second.
|
||||
|
||||
Based on GiveUp, but Better.
|
||||
|
||||
### ExportChartData
|
||||
|
||||
@ -19,3 +21,7 @@ Exports some useful chart data into a dollar-separated file (charts.csv) when th
|
||||
|
||||
Replaces the in-game rating algorithm (OldBest30+NewBest15+Recent10) with Best45.
|
||||
This change is client-side and immediate, but the server **will** acknowledge it. I host my own server and don't care, but you have been warned.
|
||||
|
||||
### SkipNotice
|
||||
|
||||
Skips the safety warning screen, notices, login bonuses, etc.
|
32
SkipNotice/MU3/patch_Scene_30_NoticeReward.cs
Normal file
32
SkipNotice/MU3/patch_Scene_30_NoticeReward.cs
Normal file
@ -0,0 +1,32 @@
|
||||
#pragma warning disable CS0626
|
||||
#pragma warning disable CS0649
|
||||
#pragma warning disable IDE0051
|
||||
#pragma warning disable IDE1006
|
||||
|
||||
using MU3.Sequence;
|
||||
using MU3.Util;
|
||||
|
||||
namespace MU3;
|
||||
|
||||
public class patch_Scene_30_NoticeReward : Scene_30_NoticeReward {
|
||||
private Mode<Scene_30_NoticeReward, State> _mode;
|
||||
private enum State
|
||||
{
|
||||
Attention,
|
||||
Notice,
|
||||
RankingReward,
|
||||
TechnicalChallengeReward,
|
||||
DailyBonus,
|
||||
AimeCollab,
|
||||
Present,
|
||||
TrainingRoom,
|
||||
FadeOut,
|
||||
End
|
||||
}
|
||||
|
||||
private void Start() {
|
||||
_mode = new Mode<Scene_30_NoticeReward, State>(this);
|
||||
_mode.set(State.FadeOut);
|
||||
SingletonMonoBehaviour<SystemUI>.instance.Panel.pushState(0, show: true);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user