Package l2p.gameserver.model

Examples of l2p.gameserver.model.L2ManufactureList


                  oldItems.put(key, newItem);
                }
                break;
              case L2Player.STORE_PRIVATE_MANUFACTURE:
                items = info.bestCraftItems;
                L2ManufactureList createList = pl.getCreateList();
                if(createList == null)
                {
                  continue;
                }
                for(L2ManufactureItem mitem : createList.getList())
                {
                  int recipeId = mitem.getRecipeId();
                  L2Recipe recipe = RecipeController.getInstance().getRecipeByRecipeId(recipeId);
                  if(recipe == null)
                  {
View Full Code Here


        {
          activeChar.getTransaction().cancel();
        }
        if(activeChar.getCreateList() == null)
        {
          activeChar.setCreateList(new L2ManufactureList());
        }
        activeChar.setPrivateStoreType(L2Player.STORE_PRIVATE_NONE);
        activeChar.standUp();
        activeChar.broadcastUserInfo(true);
        if(!activeChar.checksForShop(true))
        {
          activeChar.sendActionFailed();
          return;
        }
        activeChar.sendPacket(new RecipeShopManageList(activeChar, true));
        break;
      }
      case 51: // Создание магазина Dwarven Craft
      {
        if(!activeChar.checksForShop(true))
        {
          activeChar.sendActionFailed();
          return;
        }
        if(activeChar.getCreateList() == null)
        {
          activeChar.setCreateList(new L2ManufactureList());
        }
        activeChar.setPrivateStoreType(L2Player.STORE_PRIVATE_NONE);
        activeChar.standUp();
        activeChar.broadcastUserInfo(true);
        activeChar.sendPacket(new RecipeShopManageList(activeChar, false));
View Full Code Here

TOP

Related Classes of l2p.gameserver.model.L2ManufactureList

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.