SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
parsed_item_data_t Struct Reference
Inheritance diagram for parsed_item_data_t:
dbc_item_data_t

Public Member Functions

void init (const dbc_item_data_t &raw, const dbc_t &dbc)
 
size_t add_effect (unsigned spell_id, int type)
 
size_t add_effect (const item_effect_t &effect)
 
- Public Member Functions inherited from dbc_item_data_t
bool is_armor ()
 
bool warforged () const
 
bool lfr () const
 
bool normal () const
 
bool heroic () const
 
bool mythic () const
 

Public Attributes

std::array< int, MAX_ITEM_STAT > stat_type_e
 
std::array< int, MAX_ITEM_STAT > stat_alloc
 
std::array< item_effect_t, MAX_ITEM_EFFECT > effects
 
- Public Attributes inherited from dbc_item_data_t
const char * name
 
unsigned id
 
unsigned flags_1
 
unsigned flags_2
 
unsigned type_flags
 
int level
 
int req_level
 
int req_skill
 
int req_skill_level
 
int quality
 
int inventory_type
 
int item_class
 
int item_subclass
 
int bind_type
 
float delay
 
float dmg_range
 
float item_modifier
 
const stats_t_dbc_stats
 
uint8_t _dbc_stats_count
 
unsigned class_mask
 
uint64_t race_mask
 
int socket_color [MAX_ITEM_SOCKET_SLOT]
 
int gem_properties
 
int id_socket_bonus
 
int id_set
 
int id_curve
 
unsigned id_artifact
 

Additional Inherited Members

- Static Public Member Functions inherited from dbc_item_data_t
static const dbc_item_data_tfind (unsigned id, bool ptr)
 
static const dbc_item_data_tnil ()
 
static util::span< const util::span< const dbc_item_data_t > > data (bool ptr)