Example #1
0
 public void HandleGameFightShowFighterMessage(Bot bot, GameFightShowFighterMessage message)
 {
     bot.Character.Fight.AddFighter(message.informations);
 }
Example #2
0
 public static void HandleGameFightShowFighterMessage(Bot bot, GameFightShowFighterMessage message)
 {
     if (!bot.Character.IsFighting())
         logger.Error("Received GameFightShowFighterMessage but character is not in fight !");
     else
         bot.Character.Fight.AddFighter(message.informations);
 }