Examples of PrivateStoreMsgBuy


Examples of com.l2jfrozen.gameserver.network.serverpackets.PrivateStoreMsgBuy

    }
   
    player.sitDown();
    player.setPrivateStoreType(L2PcInstance.STORE_PRIVATE_BUY);
    player.broadcastUserInfo();
    player.broadcastPacket(new PrivateStoreMsgBuy(player));
  }
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.PrivateStoreMsgBuy

      return;
   
    if (_storeMsg.length() < 30)
    {
      player.getBuyList().setTitle(_storeMsg);
      player.sendPacket(new PrivateStoreMsgBuy(player));
    }
  }
View Full Code Here

Examples of com.l2jfrozen.gameserver.network.serverpackets.PrivateStoreMsgBuy

        {
          active_char.sendPacket(new PrivateStoreMsgSell(otherPlayer));
        }
        else if(otherPlayer.getPrivateStoreType() == L2PcInstance.STORE_PRIVATE_BUY)
        {
          active_char.sendPacket(new PrivateStoreMsgBuy(otherPlayer));
        }
        else if(otherPlayer.getPrivateStoreType() == L2PcInstance.STORE_PRIVATE_MANUFACTURE)
        {
          active_char.sendPacket(new RecipeShopMsg(otherPlayer));
        }
View Full Code Here

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

Examples of l2p.gameserver.serverpackets.PrivateStoreMsgBuy

    {
      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.serverpackets.PrivateStoreMsgBuy

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

Examples of l2p.gameserver.serverpackets.PrivateStoreMsgBuy

    }
    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

Examples of lineage2.gameserver.network.serverpackets.PrivateStoreMsgBuy

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

Examples of lineage2.gameserver.network.serverpackets.PrivateStoreMsgBuy

    if (player.getVarB(Player.NO_TRADERS_VAR))
    {
      player.sendPacket(new CharInfo(trader));
      if (trader.getPrivateStoreType() == Player.STORE_PRIVATE_BUY)
      {
        player.sendPacket(new PrivateStoreMsgBuy(trader));
      }
      else if ((trader.getPrivateStoreType() == Player.STORE_PRIVATE_SELL) || (trader.getPrivateStoreType() == Player.STORE_PRIVATE_SELL_PACKAGE))
      {
        player.sendPacket(new PrivateStoreMsgSell(trader));
      }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.PrivateStoreMsgBuy

    if (!buyList.isEmpty())
    {
      buyer.setBuyList(buyList);
      buyer.saveTradeList();
      buyer.setPrivateStoreType(Player.STORE_PRIVATE_BUY);
      buyer.broadcastPacket(new PrivateStoreMsgBuy(buyer));
      buyer.sitDown(null);
      buyer.broadcastCharInfo();
    }
    buyer.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.