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

38 lines
1.4 KiB
Java
Raw Normal View History

// • ▌ ▄ ·. ▄▄▄· ▄▄ • ▪ ▄▄· ▄▄▄▄· ▄▄▄· ▐▄▄▄ ▄▄▄ .
// ·██ ▐███▪▐█ ▀█ ▐█ ▀ ▪██ ▐█ ▌▪▐█ ▀█▪▐█ ▀█ •█▌ ▐█▐▌·
// ▐█ ▌▐▌▐█·▄█▀▀█ ▄█ ▀█▄▐█·██ ▄▄▐█▀▀█▄▄█▀▀█ ▐█▐ ▐▌▐▀▀▀
// ██ ██▌▐█▌▐█ ▪▐▌▐█▄▪▐█▐█▌▐███▌██▄▪▐█▐█ ▪▐▌██▐ █▌▐█▄▄▌
// ▀▀ █▪▀▀▀ ▀ ▀ ·▀▀▀▀ ▀▀▀·▀▀▀ ·▀▀▀▀ ▀ ▀ ▀▀ █▪ ▀▀▀
// Magicbane Emulator Project © 2013 - 2022
// www.magicbane.com
2023-08-06 14:04:06 -04:00
package engine.loot;
import java.sql.ResultSet;
import java.sql.SQLException;
public class BootySetEntry {
2023-07-15 09:23:48 -04:00
public String bootyType;
public int lowGold;
public int highGold;
2024-03-15 10:55:49 -04:00
public int templateID;
2023-08-06 07:53:33 -04:00
public int genTable;
2023-07-15 09:23:48 -04:00
public float dropChance;
/**
* ResultSet Constructor
*/
public BootySetEntry(ResultSet rs) throws SQLException {
this.bootyType = (rs.getString("bootyType"));
this.lowGold = (rs.getInt("lowGold"));
this.highGold = (rs.getInt("highGold"));
2024-03-28 04:53:45 -04:00
this.templateID = (rs.getInt("templateID"));
2023-08-06 07:53:33 -04:00
this.genTable = (rs.getInt("genTable"));
2023-07-15 09:23:48 -04:00
this.dropChance = (rs.getFloat("dropChance"));
}
}