forked from MagicBane/Server
MagicBot
1 year ago
3 changed files with 35 additions and 17 deletions
@ -0,0 +1,28 @@
@@ -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 ItemTableEntry { |
||||
public int minRoll; |
||||
public int maxRoll; |
||||
public int cacheID; |
||||
public int minSpawn; |
||||
public int maxSpawn; |
||||
|
||||
public ItemTableEntry(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"); |
||||
} |
||||
} |
Loading…
Reference in new issue