public void HandleGameFightSynchronizeMessage(Bot bot, GameFightSynchronizeMessage message) { bot.Character.Fight.Update(message); }
public static void HandleGameFightSynchronizeMessage(Bot bot, GameFightSynchronizeMessage message) { }
public void Update(GameFightSynchronizeMessage msg) { if (msg == null) throw new ArgumentNullException("msg"); var timeLine = msg.fighters.Select(entry => Fight.GetFighter(entry.contextualId)); m_fighters.Clear(); m_fighters.AddRange(timeLine); }
public void Update(GameFightSynchronizeMessage msg) { if (msg == null) throw new ArgumentNullException("msg"); RefreshTimeLine(msg.fighters.Select(x => x.contextualId)); }
public static void HandleGameFightSynchronizeMessage(Bot bot, GameFightSynchronizeMessage message) { if (!bot.Character.IsFighting()) logger.Error("Received GameFightSynchronizeMessage but character is not in fight !"); else bot.Character.Fight.Update(message); }