chore: cleanup
This commit is contained in:
parent
cc6f7657c7
commit
470d2acae4
@ -4,7 +4,7 @@ namespace MU3;
|
||||
|
||||
public class patch_SystemUI: SystemUI {
|
||||
public class patch_Timer: SystemUI.Timer {
|
||||
public patch_Timer(UITimer timer): base(timer) { /* nop */ }
|
||||
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);
|
||||
|
@ -6,7 +6,7 @@ namespace MU3;
|
||||
|
||||
public class patch_UITimer: UITimer {
|
||||
public new void update() { /* nop */ }
|
||||
public new void update(float externalCounter) { /* nop */ }
|
||||
public new void update(float externalCounter) { /* nop */ }
|
||||
public extern void orig_initialize(float counter);
|
||||
public new void initialize(float counter) {
|
||||
orig_initialize(counter);
|
||||
|
@ -3,12 +3,12 @@
|
||||
#pragma warning disable IDE0051
|
||||
#pragma warning disable IDE1006
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using MU3.Data;
|
||||
using MU3.DataStudio;
|
||||
using MU3.User;
|
||||
using MU3.Util;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace MU3;
|
||||
|
||||
|
@ -5,17 +5,17 @@ using MU3.Util;
|
||||
|
||||
namespace MU3;
|
||||
|
||||
public class patch_ANM_SWH_Profile : ANM_SWH_Profile {
|
||||
public class patch_ANM_SWH_Profile: ANM_SWH_Profile {
|
||||
public extern void orig_setUpLogin();
|
||||
|
||||
// Fixes login display
|
||||
public new void setUpLogin() {
|
||||
UserManager instance = Singleton<UserManager>.instance;
|
||||
UserManager instance = Singleton<UserManager>.instance;
|
||||
var prev = instance.userPreview;
|
||||
var temp = prev;
|
||||
temp.dispRating = 0;
|
||||
instance.userPreview = temp;
|
||||
orig_setUpLogin();
|
||||
instance.userPreview = prev;
|
||||
}
|
||||
}
|
||||
}
|
@ -13,7 +13,7 @@ public class patch_Scene_37_Result_Score: Scene_37_Result_Score {
|
||||
|
||||
// Fixes rating+/rating- display
|
||||
private void TechRating_Init() {
|
||||
var origRating = playInfo_.sessionResult.rating_;
|
||||
var origRating = playInfo_.sessionResult.rating_;
|
||||
var origPrevRating = playInfo_.sessionResult.prevRating_;
|
||||
|
||||
playInfo_.sessionResult.rating_ = NaiveRating.Get();
|
||||
@ -23,5 +23,5 @@ public class patch_Scene_37_Result_Score: Scene_37_Result_Score {
|
||||
|
||||
playInfo_.sessionResult.rating_ = origRating;
|
||||
playInfo_.sessionResult.prevRating_ = origPrevRating;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,9 +1,7 @@
|
||||
#pragma warning disable CS0108
|
||||
|
||||
namespace MU3.Battle;
|
||||
namespace MU3.Battle;
|
||||
|
||||
public class patch_GameEngine: GameEngine {
|
||||
public bool isStartCutsceneFinish() {
|
||||
public new bool isStartCutsceneFinish() {
|
||||
return true;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user