コード例 #1
0
		protected void HandlePlayerTeam(object sender, PlayerTeamEventArgs e)
		{
			if (!IsMatchStarted && !IsOvertime) return;
			if (e.Silent) _playerTeamCount++;
		}
コード例 #2
0
ファイル: DemoParser.cs プロジェクト: steinn/demoinfo
		internal void RaisePlayerTeam(PlayerTeamEventArgs args)
		{
			if (PlayerTeam != null)
				PlayerTeam(this, args);
		}
コード例 #3
0
		protected void HandlePlayerTeam(object sender, PlayerTeamEventArgs e)
		{
			if (!IsMatchStarted) return;
			if (e.Silent) _playerTeamCount++;
			if (IsOvertime && e.Silent && _playerTeamCount == 10) IsHalfMatch = !IsHalfMatch;
		}