Package com.l2jfrozen.gameserver.model

Examples of com.l2jfrozen.gameserver.model.L2LvlupData


    try
    {
      con = L2DatabaseFactory.getInstance().getConnection(false);
      final PreparedStatement statement = con.prepareStatement(SELECT_ALL);
      final ResultSet rset = statement.executeQuery();
      L2LvlupData lvlDat;

      while(rset.next())
      {
        lvlDat = new L2LvlupData();
        lvlDat.setClassid(rset.getInt(CLASS_ID));
        lvlDat.setClassLvl(rset.getInt(CLASS_LVL));
        lvlDat.setClassHpBase(rset.getFloat(HP_BASE));
        lvlDat.setClassHpAdd(rset.getFloat(HP_ADD));
        lvlDat.setClassHpModifier(rset.getFloat(HP_MOD));
        lvlDat.setClassCpBase(rset.getFloat(CP_BASE));
        lvlDat.setClassCpAdd(rset.getFloat(CP_ADD));
        lvlDat.setClassCpModifier(rset.getFloat(CP_MOD));
        lvlDat.setClassMpBase(rset.getFloat(MP_BASE));
        lvlDat.setClassMpAdd(rset.getFloat(MP_ADD));
        lvlDat.setClassMpModifier(rset.getFloat(MP_MOD));

        _lvlTable.put(new Integer(lvlDat.getClassid()), lvlDat);
      }

      statement.close();
      rset.close();
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.model.L2LvlupData

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.