コード例 #1
0
 public void HandleGameFightSynchronizeMessage(Bot bot, GameFightSynchronizeMessage message)
 {
     bot.Character.Fight.Update(message);
 }
コード例 #2
0
 public static void HandleGameFightSynchronizeMessage(Bot bot, GameFightSynchronizeMessage message)
 {
 }
コード例 #3
0
ファイル: TimeLine.cs プロジェクト: Torf/BehaviorIsManaged
        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);
        }
コード例 #4
0
ファイル: TimeLine.cs プロジェクト: Guiedo/BehaviorIsManaged
 public void Update(GameFightSynchronizeMessage msg)
 {
     if (msg == null) throw new ArgumentNullException("msg");
     RefreshTimeLine(msg.fighters.Select(x => x.contextualId));
 }
コード例 #5
0
 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);
 }