protected void HandlePlayerTeam(object sender, PlayerTeamEventArgs e) { if (!IsMatchStarted && !IsOvertime) return; if (e.Silent) _playerTeamCount++; }
internal void RaisePlayerTeam(PlayerTeamEventArgs args) { if (PlayerTeam != null) PlayerTeam(this, args); }
protected void HandlePlayerTeam(object sender, PlayerTeamEventArgs e) { if (!IsMatchStarted) return; if (e.Silent) _playerTeamCount++; if (IsOvertime && e.Silent && _playerTeamCount == 10) IsHalfMatch = !IsHalfMatch; }