Package l2p.gameserver.templates

Examples of l2p.gameserver.templates.L2Armor


    {
      DatabaseUtils.closeDatabaseCSR(con, statement, rset);
    }
    for(Entry<Integer, Item> e : armorData.entrySet())
    {
      _armors.put(e.getKey(), new L2Armor((ArmorType) e.getValue().type, e.getValue().set));
    }
    _log.info("ItemTable: Loaded " + _armors.size() + " Armors.");
    for(Entry<Integer, Item> e : itemData.entrySet())
    {
      _etcItems.put(e.getKey(), new L2EtcItem((EtcItemType) e.getValue().type, e.getValue().set));
View Full Code Here


    }
    // Create a FastLookUp Table called _allTemplates of size : value of the highest item ID
    _allTemplates = new L2Item[highestId + 1];
    for(Integer id : _armors.keySet())
    {
      L2Armor item = _armors.get(id);
      assert _allTemplates[id.intValue()] == null;
      _allTemplates[id.intValue()] = item;
    }
    for(Integer id : _weapons.keySet())
    {
View Full Code Here

TOP

Related Classes of l2p.gameserver.templates.L2Armor

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.