forked from MagicBane/Server
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
548 B
20 lines
548 B
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"); |
|
} |
|
}
|
|
|