Package l2p.gameserver.serverpackets

Examples of l2p.gameserver.serverpackets.PrivateStoreMsgBuy


      if(trader != null)
      {
        player.sendPacket(trader.newCharInfo());
        if(trader.getPrivateStoreType() == L2Player.STORE_PRIVATE_BUY)
        {
          player.sendPacket(new PrivateStoreMsgBuy(trader));
        }
        else if(trader.getPrivateStoreType() == L2Player.STORE_PRIVATE_SELL || trader.getPrivateStoreType() == L2Player.STORE_PRIVATE_SELL_PACKAGE)
        {
          player.sendPacket(new PrivateStoreMsgSell(trader));
        }
View Full Code Here


    {
      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

    }
    L2TradeList tradeList = activeChar.getTradeList();
    if(tradeList != null)
    {
      tradeList.setBuyStoreName(_storename);
      sendPacket(new PrivateStoreMsgBuy(activeChar));
    }
  }
View Full Code Here

    }
    if(activeChar.getPrivateStoreType() != L2Player.STORE_PRIVATE_NONE)
    {
      if(activeChar.getPrivateStoreType() == L2Player.STORE_PRIVATE_BUY)
      {
        packets.add(new PrivateStoreMsgBuy(activeChar));
      }
      else if(activeChar.getPrivateStoreType() == L2Player.STORE_PRIVATE_SELL || activeChar.getPrivateStoreType() == L2Player.STORE_PRIVATE_SELL_PACKAGE)
      {
        packets.add(new PrivateStoreMsgSell(activeChar));
      }
View Full Code Here

TOP

Related Classes of l2p.gameserver.serverpackets.PrivateStoreMsgBuy

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.