21 lines
548 B
Java
21 lines
548 B
Java
|
|
package engine.loot;
|
||
|
|
|
||
|
|
import java.sql.ResultSet;
|
||
|
|
import java.sql.SQLException;
|
||
|
|
|
||
|
|
public class GenTableRow {
|
||
|
|
public int minRoll;
|
||
|
|
public int maxRoll;
|
||
|
|
public int itemTableID;
|
||
|
|
public int pModTable;
|
||
|
|
public int sModTable;
|
||
|
|
|
||
|
|
public GenTableRow(ResultSet rs) throws SQLException {
|
||
|
|
this.minRoll = rs.getInt("minRoll");
|
||
|
|
this.maxRoll = rs.getInt("maxRoll");
|
||
|
|
this.itemTableID = rs.getInt("lootTableID");
|
||
|
|
this.pModTable = rs.getInt("pModTableID");
|
||
|
|
this.sModTable = rs.getInt("sModTableID");
|
||
|
|
}
|
||
|
|
}
|