protected void HandleWinPanelMatch(object sender, WinPanelMatchEventArgs e) { // Add the last round (round_officially_ended isn't raised at the end) Application.Current.Dispatcher.Invoke(delegate { Demo.Rounds.Add(CurrentRound); }); ProcessPlayersRating(); }
protected void HandleWinPanelMatch(object sender, WinPanelMatchEventArgs e) { if (!IsMatchStarted) { return; } if (IsOvertime) { Application.Current.Dispatcher.Invoke(() => Demo.Overtimes.Add(CurrentOvertime)); } }
protected void HandleWinPanelMatch(object sender, WinPanelMatchEventArgs e) { if (!_isRoundOffiallyEndedOccured) { // Update players stats here because some demos doesn't have round_officialy_ended at the last round UpdateKillsCount(); UpdatePlayerScore(); } Application.Current.Dispatcher.Invoke(delegate { if (!IsOvertime || !_isFaceit) Demo.Rounds.Add(CurrentRound); }); IsMatchStarted = false; }
protected void HandleWinPanelMatch(object sender, WinPanelMatchEventArgs e) { if (!IsMatchStarted) { return; } if (IsOvertime) { Application.Current.Dispatcher.Invoke(delegate { Demo.Overtimes.Add(CurrentOvertime); }); } ProcessPlayersRating(); }
protected void HandleWinPanelMatch(object sender, WinPanelMatchEventArgs e) { // Add the last round (round_officially_ended isn't raised at the end) Application.Current.Dispatcher.Invoke(delegate { Demo.Rounds.Add(CurrentRound); }); // Add the last OT if (IsOvertime) { Application.Current.Dispatcher.Invoke(delegate { Demo.Overtimes.Add(CurrentOvertime); }); } ProcessPlayersRating(); }
protected void HandleWinPanelMatch(object sender, WinPanelMatchEventArgs e) { Application.Current.Dispatcher.Invoke(delegate { Demo.Rounds.Add(CurrentRound); }); if (IsMatchStarted && !IsOvertime) { // Stop analyze IsMatchStarted = false; return; } if (CurrentOvertime.ScoreTeam1 != 0 || CurrentOvertime.ScoreTeam2 != 0) { // Add the last overtime Application.Current.Dispatcher.Invoke(delegate { Demo.Overtimes.Add(CurrentOvertime); }); } }
protected void HandleWinPanelMatch(object sender, WinPanelMatchEventArgs e) { IsMatchStarted = false; }
protected void HandleWinPanelMatch(object sender, WinPanelMatchEventArgs e) { if (!IsMatchStarted) return; if (IsOvertime) { Application.Current.Dispatcher.Invoke(delegate { Demo.Overtimes.Add(CurrentOvertime); }); } ProcessPlayersRating(); }
protected void HandleWinPanelMatch(object sender, WinPanelMatchEventArgs e) { if (!_isRoundOffiallyEndedOccured) { // Update players stats here because some demos doesn't have round_officialy_ended at the last round UpdateKillsCount(); UpdatePlayerScore(); } Application.Current.Dispatcher.Invoke(delegate { if (!IsOvertime || !_isFaceit) Demo.Rounds.Add(CurrentRound); if(IsOvertime) Demo.Overtimes.Add(CurrentOvertime); }); }
private void HandleWinPanelMatch(object sender, WinPanelMatchEventArgs e) { BaseEvent newEvent = new BaseEvent(EventType.WinPanelMatch); CurrentTick.Events.Add(newEvent); }