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

14 lines
480 B
C#

using MU3.Game;
namespace MU3.Battle;
class patch_GameEngine: GameEngine {
private patch_Counters _counters;
public extern void orig_calcCurrentBattleResult(SessionResult sessionResult);
public void calcCurrentBattleResult(patch_SessionResult sessionResult) {
orig_calcCurrentBattleResult(sessionResult);
sessionResult.PlatinumFastCount = _counters.PlatinumFastCount;
sessionResult.PlatinumLateCount = _counters.PlatinumLateCount;
}
}