예제 #1
0
 internal void RaiseBotTakeOver(BotTakeOverEventArgs take)
 {
     if (BotTakeOver != null)
     {
         BotTakeOver(this, take);
     }
 }
예제 #2
0
		internal void RaiseBotTakeOver(BotTakeOverEventArgs take)
		{
			if (BotTakeOver != null)
				BotTakeOver(this, take);
		}
예제 #3
0
		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;
		}