internal void RaiseBotTakeOver(BotTakeOverEventArgs take) { if (BotTakeOver != null) { BotTakeOver(this, take); } }
internal void RaiseBotTakeOver(BotTakeOverEventArgs take) { if (BotTakeOver != null) BotTakeOver(this, take); }
private void HandleBotTakeOver(object sender, BotTakeOverEventArgs e) { if (!IsMatchStarted) return; PlayerExtended player = Demo.Players.FirstOrDefault(p => p.SteamId == e.Taker.SteamID); if (player != null) player.IsControllingBot = true; }