public void HandleGameFightUpdateTeamMessage(Bot bot, GameFightUpdateTeamMessage message) { if (bot.Character.Fight.Id == message.fightId) bot.Character.Fight.Update(message); }
public static void HandleGameFightUpdateTeamMessage(Bot bot, GameFightUpdateTeamMessage message) { if (!bot.Character.IsFighting()) logger.Error("Received GameFightUpdateTeamMessage but character is not in fight !"); else bot.Character.Fight.Update(message); }