Package net.sf.l2j.gameserver.serverpackets

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


  {
    L2PcInstance player = getClient().getActiveChar();
    if (player == null || player.getSellList() == null) return;

    player.getSellList().setTitle(_storeMsg);
    sendPacket(new PrivateStoreMsgSell(player));
  }
View Full Code Here


                  if (otherPlayer.getKnownList().getKnownRelations().get(getActiveChar().getObjectId()) != null && otherPlayer.getKnownList().getKnownRelations().get(getActiveChar().getObjectId()) != relation)
                    getActiveChar().sendPacket(new RelationChanged(otherPlayer, relation, getActiveChar().isAutoAttackable(otherPlayer)));
                }

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

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

TOP

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

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.