|
|
@ -17,14 +17,14 @@ import java.util.List; |
|
|
|
public class ItemTableEntry { |
|
|
|
public class ItemTableEntry { |
|
|
|
public int minRoll; |
|
|
|
public int minRoll; |
|
|
|
public int maxRoll; |
|
|
|
public int maxRoll; |
|
|
|
public int cacheID; |
|
|
|
public int templateID; |
|
|
|
public int minSpawn; |
|
|
|
public int minSpawn; |
|
|
|
public int maxSpawn; |
|
|
|
public int maxSpawn; |
|
|
|
|
|
|
|
|
|
|
|
public ItemTableEntry(ResultSet rs) throws SQLException { |
|
|
|
public ItemTableEntry(ResultSet rs) throws SQLException { |
|
|
|
this.minRoll = rs.getInt("minRoll"); |
|
|
|
this.minRoll = rs.getInt("minRoll"); |
|
|
|
this.maxRoll = rs.getInt("maxRoll"); |
|
|
|
this.maxRoll = rs.getInt("maxRoll"); |
|
|
|
this.cacheID = rs.getInt("itemBaseUUID"); |
|
|
|
this.templateID = rs.getInt("itemBaseUUID"); |
|
|
|
this.minSpawn = rs.getInt("minSpawn"); |
|
|
|
this.minSpawn = rs.getInt("minSpawn"); |
|
|
|
this.maxSpawn = rs.getInt("maxSpawn"); |
|
|
|
this.maxSpawn = rs.getInt("maxSpawn"); |
|
|
|
} |
|
|
|
} |
|
|
|