forked from MagicBane/Server
MagicBot
1 year ago
2 changed files with 32 additions and 0 deletions
@ -0,0 +1,28 @@ |
|||||||
|
// • ▌ ▄ ·. ▄▄▄· ▄▄ • ▪ ▄▄· ▄▄▄▄· ▄▄▄· ▐▄▄▄ ▄▄▄ .
|
||||||
|
// ·██ ▐███▪▐█ ▀█ ▐█ ▀ ▪██ ▐█ ▌▪▐█ ▀█▪▐█ ▀█ •█▌ ▐█▐▌·
|
||||||
|
// ▐█ ▌▐▌▐█·▄█▀▀█ ▄█ ▀█▄▐█·██ ▄▄▐█▀▀█▄▄█▀▀█ ▐█▐ ▐▌▐▀▀▀
|
||||||
|
// ██ ██▌▐█▌▐█ ▪▐▌▐█▄▪▐█▐█▌▐███▌██▄▪▐█▐█ ▪▐▌██▐ █▌▐█▄▄▌
|
||||||
|
// ▀▀ █▪▀▀▀ ▀ ▀ ·▀▀▀▀ ▀▀▀·▀▀▀ ·▀▀▀▀ ▀ ▀ ▀▀ █▪ ▀▀▀
|
||||||
|
// Magicbane Emulator Project © 2013 - 2022
|
||||||
|
// www.magicbane.com
|
||||||
|
|
||||||
|
package engine.loot; |
||||||
|
|
||||||
|
import java.sql.ResultSet; |
||||||
|
import java.sql.SQLException; |
||||||
|
|
||||||
|
public class GenTableEntry { |
||||||
|
public int minRoll; |
||||||
|
public int maxRoll; |
||||||
|
public int itemTableID; |
||||||
|
public int pModTable; |
||||||
|
public int sModTable; |
||||||
|
|
||||||
|
public GenTableEntry(ResultSet rs) throws SQLException { |
||||||
|
this.minRoll = rs.getInt("minRoll"); |
||||||
|
this.maxRoll = rs.getInt("maxRoll"); |
||||||
|
this.itemTableID = rs.getInt("itemTableID"); |
||||||
|
this.pModTable = rs.getInt("pModTableID"); |
||||||
|
this.sModTable = rs.getInt("sModTableID"); |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue