public static void HandleGameMapNoMovementMessage(Bot bot, GameMapNoMovementMessage message)
    {
      // always check, the client can send bad things :)
      if (!bot.Character.IsMoving())
        return;

      bot.Character.NotifyStopMoving(true, true);
    }
Пример #2
0
 public static void HandleGameMapNoMovementMessage(Bot bot, GameMapNoMovementMessage message)
 {
     if (bot.Character != null)
         if (bot.Character.IsFighting())
             bot.Character.Fighter.Update(message);
         else
             bot.Character.Update(message);
 }
Пример #3
0
 internal void Update(GameMapNoMovementMessage message)
 {
     if (IsMoving())
         NotifyStopMoving(true, true);
 }