mu3-mods/PlatinumTiming/MU3.Battle/patch_Counters.cs
akanyan 946402fa82 feat: implement PlatinumTiming
* Also fix icons in InfiniteGP.
2024-07-21 02:24:09 +09:00

20 lines
610 B
C#

using MU3.Notes;
namespace MU3.Battle;
class patch_Counters: Counters {
public int PlatinumFastCount { get; private set; }
public int PlatinumLateCount { get; private set; }
public extern void orig_addPlatinumScore(Judge judge, Timing timing);
public new void addPlatinumScore(Judge judge, Timing timing) {
orig_addPlatinumScore(judge, timing);
if(judge == Judge.Perfect) {
if(timing == Timing.Fast) {
PlatinumFastCount += 1;
} else if(timing == Timing.Late) {
PlatinumLateCount += 1;
}
}
}
}