Examples of PrivateStoreMsgSell


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

    else
    {
      player.setPrivateStoreType(L2PcInstance.STORE_PRIVATE_SELL);
    }
    player.broadcastUserInfo();
    player.broadcastPacket(new PrivateStoreMsgSell(player));
  }
View Full Code Here

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

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

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

          }
        }

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

Examples of l2p.gameserver.serverpackets.PrivateStoreMsgSell

        {
          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));
        }
        else if(trader.getPrivateStoreType() == L2Player.STORE_PRIVATE_MANUFACTURE)
        {
          player.sendPacket(new RecipeShopMsg(trader));
        }
View Full Code Here

Examples of l2p.gameserver.serverpackets.PrivateStoreMsgSell

    if(count != 0)
    {
      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.serverpackets.PrivateStoreMsgSell

      {
        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));
      }
      else if(activeChar.getPrivateStoreType() == L2Player.STORE_PRIVATE_MANUFACTURE)
      {
        packets.add(new RecipeShopMsg(activeChar));
      }
View Full Code Here

Examples of l2p.gameserver.serverpackets.PrivateStoreMsgSell

    }
    L2TradeList tradeList = activeChar.getTradeList();
    if(tradeList != null)
    {
      tradeList.setSellStoreName(_storename);
      sendPacket(new PrivateStoreMsgSell(activeChar, false));
    }
  }
View Full Code Here

Examples of l2p.gameserver.serverpackets.PrivateStoreMsgSell

    }
    L2TradeList tradeList = activeChar.getTradeList();
    if(tradeList != null)
    {
      tradeList.setSellStoreName(_storename);
      sendPacket(new PrivateStoreMsgSell(activeChar, true));
    }
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.PrivateStoreMsgSell

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

Examples of lineage2.gameserver.network.serverpackets.PrivateStoreMsgSell

    if (!sellList.isEmpty())
    {
      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.