protected void HandleFreezetimeEnded(object sender, FreezetimeEndedEventArgs e) { if (!isMatchStarted) { return; } isFreezetime = false; if (showDetailInfo) { txtResult.AppendText("The Freeze Time is end and the tick is " + parser.IngameTick); txtResult.AppendText(Environment.NewLine); foreach (Player player in parser.PlayingParticipants) { txtResult.AppendText("Player equipments after the freeze time; " + parser.CurrentTick + "; " + parser.CurrentTime + "; " + currentRoundNumber.ToString() + "; " + parser.Map); txtResult.AppendText("; " + player.SteamID + "; " + player.Name); foreach (Equipment weapon in player.Weapons) { txtResult.AppendText("; " + weapon.Weapon.ToString() + ","); } txtResult.AppendText(Environment.NewLine); } } }
private void OnFreezetimeEnded(object sender, FreezetimeEndedEventArgs args) { // Console.WriteLine($"Round {roundNumber} started, tick " + currentTick); roundNumber++; isBombPlanted = false; bombPlantTotalElapsedTicks = 0; isRoundOver = false; }
protected new void HandleFreezetimeEnded(object sender, FreezetimeEndedEventArgs e) { IsFreezetime = false; base.HandleFreezetimeEnded(sender, e); }
protected new void HandleFreezetimeEnded(object sender, FreezetimeEndedEventArgs e) { IsFreezetime = false; _matchStartedCount = 0; base.HandleFreezetimeEnded(sender, e); }
private static void Parser_FreezetimeEnded(object sender, FreezetimeEndedEventArgs e) { _rountTickTimeStart = _parser.CurrentTick; }
protected void HandleFreezetimeEnded(object sender, FreezetimeEndedEventArgs e) { if (!IsMatchStarted) return; IsFreezetime = false; }
private void CurrentDemoParser_FreezetimeEnded(object sender, FreezetimeEndedEventArgs e) { SteamController.LogToConsole("Freeze time ended"); }
protected void HandleFreezetimeEnded(object sender, FreezetimeEndedEventArgs e) { if (!IsMatchStarted) return; IsFreezetime = false; // TODO Players can buy after the end of the freezetime, must find an other way CurrentRound.EquipementValueTeam1 = Parser.Participants.Where(a => a.Team == Team.CounterTerrorist).Sum(a => a.CurrentEquipmentValue); CurrentRound.EquipementValueTeam2 = Parser.Participants.Where(a => a.Team == Team.Terrorist).Sum(a => a.CurrentEquipmentValue); }
void parser_FreezetimeEnded(object sender, FreezetimeEndedEventArgs e) { afterFirstKill = false; roundStartTick = parser.CurrentTick; }
private void HandleFreezetimeEnded(object sender, FreezetimeEndedEventArgs e) { BaseEvent newEvent = new BaseEvent(EventType.FreezetimeEnded); CurrentTick.Events.Add(newEvent); }