Examples of sitDown()


Examples of l2p.gameserver.model.L2Playable.sitDown()

        Integer offset = (Integer) nextAction_arg1;
        clearNextAction();
        actor.moveToLocation(loc, offset, nextAction_arg2);
        break;
      case REST:
        actor.sitDown();
        break;
      case INTERACT:
        if(nextAction_arg0 == null)
        {
          return false;
View Full Code Here

Examples of l2p.gameserver.model.L2Player.sitDown()

    {
      activeChar.setSellList(listsell);
      activeChar.setPrivateStoreType(_package ? L2Player.STORE_PRIVATE_SELL_PACKAGE : L2Player.STORE_PRIVATE_SELL);
      activeChar.broadcastUserInfo(true);
      activeChar.broadcastPacket(new PrivateStoreMsgSell(activeChar));
      activeChar.sitDown();
    }
    else
    {
      L2TradeList.cancelStore(activeChar);
    }
View Full Code Here

Examples of l2p.gameserver.model.L2Player.sitDown()

      activeChar.setBuyList(listbuy);
      activeChar.setPrivateStoreType(L2Player.STORE_PRIVATE_BUY);
      activeChar.broadcastPacket(new ChangeWaitType(activeChar, ChangeWaitType.WT_SITTING));
      activeChar.broadcastUserInfo(true);
      activeChar.broadcastPacket(new PrivateStoreMsgBuy(activeChar));
      activeChar.sitDown();
      return;
    }
    L2TradeList.cancelStore(activeChar);
  }
}
View Full Code Here

Examples of l2p.gameserver.model.L2Player.sitDown()

    L2Player player = (L2Player) _effected;
    if(player.isMoving)
    {
      player.stopMove();
    }
      player.sitDown();
      player.setRelax(true);
  }

  @Override
  public void onExit()
View Full Code Here

Examples of l2p.gameserver.model.L2Player.sitDown()

    createList.setStoreName(activeChar.getCreateList().getStoreName());
    activeChar.setCreateList(createList);
    activeChar.setPrivateStoreType(L2Player.STORE_PRIVATE_MANUFACTURE);
    activeChar.broadcastUserInfo(true);
    activeChar.broadcastPacket(new RecipeShopMsg(activeChar));
    activeChar.sitDown();
  }
}
View Full Code Here

Examples of l2p.gameserver.model.L2Player.sitDown()

        int distance = (int) activeChar.getDistance(activeChar.getTarget());
        if(target != null && !activeChar.isSitting() && target instanceof L2StaticObjectInstance && ((L2StaticObjectInstance) target).getType() == 1 && distance <= L2Character.INTERACTION_DISTANCE)
        {
          ChairSit cs = new ChairSit(activeChar, ((L2StaticObjectInstance) target).getStaticObjectId());
          activeChar.sendPacket(cs);
          activeChar.sitDown();
          activeChar.broadcastPacket(cs);
          break;
        }
        if(activeChar.isFakeDeath())
        {
View Full Code Here

Examples of l2p.gameserver.model.L2Player.sitDown()

        {
          activeChar.standUp();
        }
        else
        {
          activeChar.sitDown();
        }
        break;
      case 1: // Изменить тип передвижения, шаг/бег
        if(activeChar.isRunning())
        {
View Full Code Here

Examples of lineage2.gameserver.model.Playable.sitDown()

        Integer offset = (Integer) nextAction_arg1;
        clearNextAction();
        actor.moveToLocation(loc, offset, nextAction_arg2);
        break;
      case REST:
        actor.sitDown(null);
        break;
      case INTERACT:
        if (nextAction_arg0 == null)
        {
          return false;
View Full Code Here

Examples of lineage2.gameserver.model.Player.sitDown()

    {
      manufacturer.setCreateList(createList);
      manufacturer.saveTradeList();
      manufacturer.setPrivateStoreType(Player.STORE_PRIVATE_MANUFACTURE);
      manufacturer.broadcastPacket(new RecipeShopMsg(manufacturer));
      manufacturer.sitDown(null);
      manufacturer.broadcastCharInfo();
    }
    manufacturer.sendActionFailed();
  }
}
View Full Code Here

Examples of lineage2.gameserver.model.Player.sitDown()

    {
      seller.setSellList(_package, sellList);
      seller.saveTradeList();
      seller.setPrivateStoreType(_package ? Player.STORE_PRIVATE_SELL_PACKAGE : Player.STORE_PRIVATE_SELL);
      seller.broadcastPacket(new PrivateStoreMsgSell(seller));
      seller.sitDown(null);
      seller.broadcastCharInfo();
    }
    seller.sendActionFailed();
  }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.