forked from MagicBane/Server
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							37 lines
						
					
					
						
							1.4 KiB
						
					
					
				
			
		
		
	
	
							37 lines
						
					
					
						
							1.4 KiB
						
					
					
				// • ▌ ▄ ·.  ▄▄▄·  ▄▄ • ▪   ▄▄· ▄▄▄▄·  ▄▄▄·  ▐▄▄▄  ▄▄▄ . | 
						|
// ·██ ▐███▪▐█ ▀█ ▐█ ▀ ▪██ ▐█ ▌▪▐█ ▀█▪▐█ ▀█ •█▌ ▐█▐▌· | 
						|
// ▐█ ▌▐▌▐█·▄█▀▀█ ▄█ ▀█▄▐█·██ ▄▄▐█▀▀█▄▄█▀▀█ ▐█▐ ▐▌▐▀▀▀ | 
						|
// ██ ██▌▐█▌▐█ ▪▐▌▐█▄▪▐█▐█▌▐███▌██▄▪▐█▐█ ▪▐▌██▐ █▌▐█▄▄▌ | 
						|
// ▀▀  █▪▀▀▀ ▀  ▀ ·▀▀▀▀ ▀▀▀·▀▀▀ ·▀▀▀▀  ▀  ▀ ▀▀  █▪ ▀▀▀ | 
						|
//      Magicbane Emulator Project © 2013 - 2022 | 
						|
//                www.magicbane.com | 
						|
 | 
						|
 | 
						|
package engine.objects; | 
						|
 | 
						|
import java.sql.ResultSet; | 
						|
import java.sql.SQLException; | 
						|
 | 
						|
public class BootySetEntry { | 
						|
 | 
						|
    public String bootyType; | 
						|
    public int lowGold; | 
						|
    public int highGold; | 
						|
    public int itemBase; | 
						|
    public int lootTable; | 
						|
    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")); | 
						|
        this.itemBase = (rs.getInt("itemBase")); | 
						|
        this.lootTable = (rs.getInt("lootTable")); | 
						|
        this.dropChance = (rs.getFloat("dropChance")); | 
						|
    } | 
						|
 | 
						|
}
 | 
						|
 |