Package net.sf.l2j.gameserver.serverpackets

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


    RecipeItemMaker maker = null;
    if (Config.ALT_GAME_CREATION) maker = _activeMakers.get(player);

    if (maker == null)
    {
      RecipeBookItemList response = new RecipeBookItemList(isDwarvenCraft, player.getMaxMp());
      response.addRecipes(isDwarvenCraft  ? player.getDwarvenRecipeBook()
                                          : player.getCommonRecipeBook());
      player.sendPacket(response);
      return;
    }
View Full Code Here


          L2RecipeList rp = RecipeController.getInstance().getRecipeList(_recipeID-1);
           if (rp == null)
             return;
            activeChar.unregisterRecipeList(_recipeID);

            RecipeBookItemList response = new RecipeBookItemList(rp.isDwarvenRecipe(),activeChar.getMaxMp());
           if (rp.isDwarvenRecipe())
             response.addRecipes(activeChar.getDwarvenRecipeBook());
           else
             response.addRecipes(activeChar.getCommonRecipeBook());

            activeChar.sendPacket(response);
        }
    }
View Full Code Here

TOP

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

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.