Package net.sf.l2j.gameserver.serverpackets

Examples of net.sf.l2j.gameserver.serverpackets.PrivateStoreManageListBuy


        if (player.getPrivateStoreType() == L2PcInstance.STORE_PRIVATE_NONE)
        {
      if (player.isSitting()) player.standUp();
      player.setPrivateStoreType(L2PcInstance.STORE_PRIVATE_BUY +1);
      player.sendPacket(new PrivateStoreManageListBuy(player));
        }
  }
View Full Code Here


        }

        // Check maximum number of allowed slots for pvt shops
        if (_count > player.GetPrivateBuyStoreLimit())
        {
          player.sendPacket(new PrivateStoreManageListBuy(player));
          player.sendPacket(new SystemMessage(SystemMessageId.YOU_HAVE_EXCEEDED_QUANTITY_THAT_CAN_BE_INPUTTED));
            return;
        }

        // Check for available funds
        if (cost > player.getAdena() || cost <= 0)
        {
          player.sendPacket(new PrivateStoreManageListBuy(player));
            player.sendPacket(new SystemMessage(SystemMessageId.THE_PURCHASE_PRICE_IS_HIGHER_THAN_MONEY));
            return;
        }

        player.sitDown();
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.serverpackets.PrivateStoreManageListBuy

Copyright © 2018 www.massapicom. 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.