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.
21 lines
533 B
21 lines
533 B
2 years ago
|
package engine.loot;
|
||
|
|
||
|
import java.sql.ResultSet;
|
||
|
import java.sql.SQLException;
|
||
|
|
||
|
public class ItemTableRow {
|
||
|
public int minRoll;
|
||
|
public int maxRoll;
|
||
|
public int cacheID;
|
||
|
public int minSpawn;
|
||
|
public int maxSpawn;
|
||
|
|
||
|
public ItemTableRow(ResultSet rs) throws SQLException {
|
||
|
this.minRoll = rs.getInt("minRoll");
|
||
|
this.maxRoll = rs.getInt("maxRoll");
|
||
|
this.cacheID = rs.getInt("itemBaseUUID");
|
||
|
this.minSpawn = rs.getInt("minSpawn");
|
||
|
this.maxSpawn = rs.getInt("maxSpawn");
|
||
|
}
|
||
|
}
|