public class ItemDatabase
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ITEM_TABLE |
protected static Queries |
queries |
Constructor and Description |
---|
ItemDatabase(boolean keepAlive) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Having too many connection errors, so adding this function to help cope with it
|
java.util.List<java.lang.Long> |
getCharacterOids()
Searches through the objstore table to get the oids of all player
characters.
|
java.util.HashMap<java.lang.Integer,CraftingRecipe> |
loadCraftingRecipes() |
java.util.HashMap<java.lang.Integer,EnchantProfile> |
loadItemEnchantProfiles() |
java.util.HashMap<java.lang.Integer,QualityInfo> |
loadItemQualitySettings() |
java.util.ArrayList<ItemSetLevel> |
loadItemSetLevals(java.lang.Integer setId) |
java.util.HashMap<java.lang.Integer,ItemSetProfile> |
loadItemSets() |
java.util.ArrayList<Template> |
loadItemTemplates(java.util.LinkedList<java.lang.Integer> storeItems)
Loads in the item templates from the content database.
|
void |
loadMerchantItems(MerchantTable mTbl) |
java.util.HashMap<java.lang.Integer,MerchantTable> |
loadMerchantTables() |
protected static Queries queries
public static final java.lang.String ITEM_TABLE
public java.util.HashMap<java.lang.Integer,ItemSetProfile> loadItemSets()
public java.util.ArrayList<ItemSetLevel> loadItemSetLevals(java.lang.Integer setId)
public java.util.HashMap<java.lang.Integer,QualityInfo> loadItemQualitySettings()
public java.util.HashMap<java.lang.Integer,EnchantProfile> loadItemEnchantProfiles()
public java.util.ArrayList<Template> loadItemTemplates(java.util.LinkedList<java.lang.Integer> storeItems)
public java.util.HashMap<java.lang.Integer,MerchantTable> loadMerchantTables()
public void loadMerchantItems(MerchantTable mTbl)
public java.util.HashMap<java.lang.Integer,CraftingRecipe> loadCraftingRecipes()
public java.util.List<java.lang.Long> getCharacterOids()
public void close()