public class ItemDatabase
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ITEM_TABLE |
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.
|
int |
getCountItems()
Get count of the Item definitions
|
java.util.HashMap<java.lang.String,java.io.Serializable> |
getItemAudioProfilePrefabData()
Load Item Audio profile Data
|
java.util.HashMap<java.lang.String,java.io.Serializable> |
getSlotsProfilePrefabData() |
java.util.HashMap<java.lang.Integer,CraftingRecipe> |
loadCraftingRecipes() |
java.util.Map<java.lang.String,java.io.Serializable> |
loadIconCraftingRecipesPrefabData(int id,
int c) |
java.util.HashMap<java.lang.Integer,EnchantProfile> |
loadItemEnchantProfiles() |
java.util.HashMap<java.lang.String,java.io.Serializable> |
loadItemPrefabData() |
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() |
void |
LoadSlotsDefinition() |
void |
LoadSlotsGroupDefinition() |
void |
LoadSlotsGroupsSlots(int id,
AgisEquipInfo aesg) |
void |
LoadSlotsInProfile(int id,
AgisEquipInfoProfile aesg)
Function to load slots for slots profile
|
void |
LoadSlotsInProfilePrefabData(int c,
int profileId,
java.util.Map<java.lang.String,java.io.Serializable> props)
Loading slots for prefab data of the slots profile
|
void |
LoadSlotsProfileDefinition()
Function to load slots profiles
|
void |
LoadSlotsSets() |
java.util.HashMap<java.lang.Integer,VipLevel> |
loadVipLevels() |
java.util.HashMap<java.lang.String,java.io.Serializable> |
loadWeaponProfilePrefabData()
Loading Weapon Profile Prefab Data
|
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.HashMap<java.lang.Integer,VipLevel> loadVipLevels()
public java.util.HashMap<java.lang.String,java.io.Serializable> loadItemPrefabData()
public java.util.HashMap<java.lang.String,java.io.Serializable> getItemAudioProfilePrefabData()
public java.util.HashMap<java.lang.String,java.io.Serializable> loadWeaponProfilePrefabData()
public int getCountItems()
public java.util.ArrayList<Template> loadItemTemplates(java.util.LinkedList<java.lang.Integer> storeItems)
public void LoadSlotsDefinition()
public void LoadSlotsGroupDefinition()
public void LoadSlotsGroupsSlots(int id, AgisEquipInfo aesg)
public void LoadSlotsSets()
public void LoadSlotsProfileDefinition()
public void LoadSlotsInProfile(int id, AgisEquipInfoProfile aesg)
id
- aesg
- public java.util.HashMap<java.lang.String,java.io.Serializable> getSlotsProfilePrefabData()
public void LoadSlotsInProfilePrefabData(int c, int profileId, java.util.Map<java.lang.String,java.io.Serializable> props)
c
- profileId
- props
- public java.util.HashMap<java.lang.Integer,MerchantTable> loadMerchantTables()
public void loadMerchantItems(MerchantTable mTbl)
public java.util.Map<java.lang.String,java.io.Serializable> loadIconCraftingRecipesPrefabData(int id, int c)
public java.util.HashMap<java.lang.Integer,CraftingRecipe> loadCraftingRecipes()
public java.util.List<java.lang.Long> getCharacterOids()
public void close()