1
0
forked from akanyan/mu3-mods

feat!: NaiveRating -> MoreProfileOptions

This commit is contained in:
2024-12-23 16:20:25 +00:00
parent 1b8f0e617e
commit 57d7be2bfb
24 changed files with 327 additions and 104 deletions

View File

@ -8,7 +8,7 @@ class patch_GameEngine: GameEngine {
public void calcCurrentBattleResult(patch_SessionResult sessionResult) {
orig_calcCurrentBattleResult(sessionResult);
sessionResult.PlatinumFastCount = _counters.PlatinumFastCount;
sessionResult.PlatinumLateCount = _counters.PlatinumLateCount;
sessionResult.platinumFastCount = _counters.PlatinumFastCount;
sessionResult.platinumLateCount = _counters.PlatinumLateCount;
}
}

View File

@ -1,6 +1,9 @@
namespace MU3.Game;
using MonoMod;
namespace MU3.Game;
// This is in SessionResult because BattleResult is a struct
class patch_SessionResult: SessionResult {
public int PlatinumFastCount { get; set; }
public int PlatinumLateCount { get; set; }
public int platinumFastCount;
public int platinumLateCount;
}

View File

@ -40,13 +40,13 @@ class patch_UIResultTechScore: UIResultTechScore {
cloneCounter(
counterFast_,
new Color(0.630f, 0.766f, 0.829f, 1.000f),
sessionResult.PlatinumFastCount
sessionResult.platinumFastCount
);
cloneCounter(
counterLate_,
new Color(0.809f, 0.396f, 0.365f, 1.000f),
sessionResult.PlatinumLateCount
sessionResult.platinumLateCount
);
}