OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ItemTable Struct Reference

#include <ItemTable.h>

Public Member Functions

void Initialize (GameResourceManager *resourceManager)
 
void LoadPotions (const Blob &potions)
 
void LoadPotionNotes (const Blob &potionNotes)
 
void generateItem (ItemTreasureLevel treasureLevel, RandomItemType uTreasureType, ItemGen *pItem)
 
void SetSpecialBonus (ItemGen *pItem)
 
bool IsMaterialSpecial (const ItemGen *pItem)
 
bool IsMaterialNonCommon (const ItemGen *pItem)
 

Public Attributes

IndexedArray< ItemDesc, ITEM_FIRST_VALID, ITEM_LAST_VALIDpItems
 
IndexedArray< ItemEnchantmentTable, ATTRIBUTE_FIRST_ENCHANTABLE, ATTRIBUTE_LAST_ENCHANTABLEstandardEnchantments
 
IndexedArray< ItemSpecialEnchantmentTable, ITEM_ENCHANTMENT_FIRST_VALID, ITEM_ENCHANTMENT_LAST_VALIDpSpecialEnchantments
 
char field_9FC4 [5000]
 
char field_B348 [5000]
 
char field_C6D0 [5000]
 
char field_DA58 [5000]
 
char field_EDE0 [384]
 
IndexedArray< IndexedArray< ItemId, ITEM_FIRST_REAL_POTION, ITEM_LAST_REAL_POTION >, ITEM_FIRST_REAL_POTION, ITEM_LAST_REAL_POTIONpotionCombination
 
IndexedArray< IndexedArray< uint16_t, ITEM_FIRST_REAL_POTION, ITEM_LAST_REAL_POTION >, ITEM_FIRST_REAL_POTION, ITEM_LAST_REAL_POTIONpotionNotes
 
IndexedArray< unsigned int, ITEM_TREASURE_LEVEL_FIRST_RANDOM, ITEM_TREASURE_LEVEL_LAST_RANDOMchanceByTreasureLevelSums
 
IndexedArray< unsigned int, ITEM_TREASURE_LEVEL_FIRST_RANDOM, ITEM_TREASURE_LEVEL_LAST_RANDOMuBonusChanceStandart
 
IndexedArray< unsigned int, ITEM_TREASURE_LEVEL_FIRST_RANDOM, ITEM_TREASURE_LEVEL_LAST_RANDOMuBonusChanceSpecial
 
IndexedArray< unsigned int, ITEM_TREASURE_LEVEL_FIRST_RANDOM, ITEM_TREASURE_LEVEL_LAST_RANDOMuBonusChanceWpSpecial
 
IndexedArray< unsigned int, ITEM_TYPE_FIRST_NORMAL_ENCHANTABLE, ITEM_TYPE_LAST_NORMAL_ENCHANTABLEchanceByItemTypeSums
 
IndexedArray< BonusRange, ITEM_TREASURE_LEVEL_FIRST_RANDOM, ITEM_TREASURE_LEVEL_LAST_RANDOMbonusRanges
 
unsigned int pSpecialEnchantments_count
 
char field_1179C
 
char field_1179D
 
char field_1179E
 
char field_1179F
 

Member Function Documentation

◆ generateItem()

void ItemTable::generateItem ( ItemTreasureLevel  treasureLevel,
RandomItemType  uTreasureType,
ItemGen pItem 
)
Original binary offset:
0x456620

◆ Initialize()

void ItemTable::Initialize ( GameResourceManager resourceManager)

◆ IsMaterialNonCommon()

bool ItemTable::IsMaterialNonCommon ( const ItemGen pItem)

◆ IsMaterialSpecial()

bool ItemTable::IsMaterialSpecial ( const ItemGen pItem)

◆ LoadPotionNotes()

void ItemTable::LoadPotionNotes ( const Blob potionNotes)

◆ LoadPotions()

void ItemTable::LoadPotions ( const Blob potions)

◆ SetSpecialBonus()

void ItemTable::SetSpecialBonus ( ItemGen pItem)

Member Data Documentation

◆ bonusRanges

◆ chanceByItemTypeSums

◆ chanceByTreasureLevelSums

IndexedArray<unsigned int, ITEM_TREASURE_LEVEL_FIRST_RANDOM, ITEM_TREASURE_LEVEL_LAST_RANDOM> ItemTable::chanceByTreasureLevelSums

◆ field_1179C

char ItemTable::field_1179C

◆ field_1179D

char ItemTable::field_1179D

◆ field_1179E

char ItemTable::field_1179E

◆ field_1179F

char ItemTable::field_1179F

◆ field_9FC4

char ItemTable::field_9FC4[5000]

◆ field_B348

char ItemTable::field_B348[5000]

◆ field_C6D0

char ItemTable::field_C6D0[5000]

◆ field_DA58

char ItemTable::field_DA58[5000]

◆ field_EDE0

char ItemTable::field_EDE0[384]

◆ pItems

◆ potionCombination

◆ potionNotes

◆ pSpecialEnchantments

◆ pSpecialEnchantments_count

unsigned int ItemTable::pSpecialEnchantments_count

◆ standardEnchantments

◆ uBonusChanceSpecial

IndexedArray<unsigned int, ITEM_TREASURE_LEVEL_FIRST_RANDOM, ITEM_TREASURE_LEVEL_LAST_RANDOM> ItemTable::uBonusChanceSpecial

◆ uBonusChanceStandart

IndexedArray<unsigned int, ITEM_TREASURE_LEVEL_FIRST_RANDOM, ITEM_TREASURE_LEVEL_LAST_RANDOM> ItemTable::uBonusChanceStandart

◆ uBonusChanceWpSpecial

IndexedArray<unsigned int, ITEM_TREASURE_LEVEL_FIRST_RANDOM, ITEM_TREASURE_LEVEL_LAST_RANDOM> ItemTable::uBonusChanceWpSpecial

The documentation for this struct was generated from the following files: