internal static void Update() { // rating is only updated after we have passed the menu if (!InBgMenu("Update")) { return; } int latestRating = Core.Game.BattlegroundsRatingInfo.Rating; if (_isStart) { _ratingStart = latestRating; _isStart = false; } else { int mmrChange = latestRating - _ratingStart; Overlay.UpdateMmrChangeValue(mmrChange); } _rating = latestRating; _record.Rating = _rating; Overlay.UpdateMMR(latestRating); }
internal static void SetMMRChange() { _roundCounter = _lastRoundNr; int latestRating = Core.Game.BattlegroundsRatingInfo.Rating; int mmrChange = latestRating - _ratingStart; _overlay.UpdateMmrChangeValue(mmrChange); _rating = latestRating; _overlay.UpdateMMR(latestRating); }