Package l2p.gameserver.serverpackets

Examples of l2p.gameserver.serverpackets.SendTradeDone


      return;
    }
    if(activeChar.getTradeList() != null)
    {
      activeChar.getTradeList().removeAll();
      activeChar.sendPacket(new SendTradeDone(0));
      activeChar.setTradeList(null);
      if(activeChar.isInTransaction())
      {
        activeChar.getTransaction().cancel();
      }
View Full Code Here


      return;
    }
    if(activeChar.getTradeList() != null)
    {
      activeChar.getTradeList().removeAll();
      activeChar.sendPacket(new SendTradeDone(0));
      activeChar.setTradeList(null);
      if(activeChar.isInTransaction())
      {
        activeChar.getTransaction().cancel();
      }
View Full Code Here

          activeChar.getTransaction().cancel();
        }
        if(activeChar.getTradeList() != null)
        {
          activeChar.getTradeList().removeAll();
          activeChar.sendPacket(new SendTradeDone(0));
        }
        else
        {
          activeChar.setTradeList(new L2TradeList(0));
        }
        activeChar.getTradeList().updateSellList(activeChar, activeChar.getSellList());
        activeChar.setPrivateStoreType(L2Player.STORE_PRIVATE_NONE);
        activeChar.standUp();
        activeChar.broadcastUserInfo(true);
        if(!activeChar.checksForShop(false))
        {
          activeChar.sendActionFailed();
          return;
        }
        activeChar.sendPacket(new PrivateStoreManageList(activeChar, _actionId == 61));
        break;
      }
      case 28: // Запрос на создание приватного магазина покупки
      {
        if(activeChar.isInTransaction())
        {
          activeChar.getTransaction().cancel();
        }
        if(activeChar.getTradeList() != null)
        {
          activeChar.getTradeList().removeAll();
          activeChar.sendPacket(new SendTradeDone(0));
        }
        else
        {
          activeChar.setTradeList(new L2TradeList(0));
        }
View Full Code Here

TOP

Related Classes of l2p.gameserver.serverpackets.SendTradeDone

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.