Files
Server/src/engine/objects/BootySetEntry.java
T

38 lines
1.3 KiB
Java
Raw Normal View History

// • ▌ ▄ ·. ▄▄▄· ▄▄ • ▪ ▄▄· ▄▄▄▄· ▄▄▄· ▐▄▄▄ ▄▄▄ .
// ·██ ▐███▪▐█ ▀█ ▐█ ▀ ▪██ ▐█ ▌▪▐█ ▀█▪▐█ ▀█ •█▌ ▐█▐▌·
// ▐█ ▌▐▌▐█·▄█▀▀█ ▄█ ▀█▄▐█·██ ▄▄▐█▀▀█▄▄█▀▀█ ▐█▐ ▐▌▐▀▀▀
// ██ ██▌▐█▌▐█ ▪▐▌▐█▄▪▐█▐█▌▐███▌██▄▪▐█▐█ ▪▐▌██▐ █▌▐█▄▄▌
// ▀▀ █▪▀▀▀ ▀ ▀ ·▀▀▀▀ ▀▀▀·▀▀▀ ·▀▀▀▀ ▀ ▀ ▀▀ █▪ ▀▀▀
// Magicbane Emulator Project © 2013 - 2022
// www.magicbane.com
package engine.objects;
import java.sql.ResultSet;
import java.sql.SQLException;
public class BootySetEntry {
2023-04-06 18:08:01 -04:00
public String bootyType;
public int lowGold;
public int highGold;
2023-03-31 08:01:14 -04:00
public int itemBase;
2023-04-06 18:08:01 -04:00
public int lootTable;
2023-03-31 08:01:14 -04:00
public float dropChance;
2023-04-06 18:08:01 -04:00
/**
* ResultSet Constructor
*/
public BootySetEntry(ResultSet rs) throws SQLException {
2023-04-06 18:08:01 -04:00
this.bootyType = (rs.getString("bootyType"));
this.lowGold = (rs.getInt("lowGold"));
this.highGold = (rs.getInt("highGold"));
this.itemBase = (rs.getInt("itemBase"));
2023-04-06 18:08:01 -04:00
this.lootTable = (rs.getInt("lootTable"));
2023-03-31 08:01:14 -04:00
this.dropChance = (rs.getFloat("dropChance"));
}
}