-
Notifications
You must be signed in to change notification settings - Fork 0
Item Data
Niphyr edited this page Oct 2, 2020
·
2 revisions
Generated file is here
https://github.com/simulationcraft/simc/blob/shadowlands/engine/dbc/generated/item_data.inc
note: oldest legion itemid was 157759. oldest bfa itemid was 175010. oldest SL at the moment is 184330.
Contents
- __item_stats_data is an array of Item Stats data
- __item_data is an array of Items and their properties
static const dbc_item_data_t::stats_t __item_stats_data[47461] = {
static const std::array<dbc_item_data_t, 68855> __item_data { {Structure of dbc_item_data_t :
struct dbc_item_data_t {
struct stats_t {
int16_t type_e; // item_mod_type
int16_t alloc;
float socket_mul;
};
const char* name;
unsigned id;
unsigned flags_1;
unsigned flags_2;
unsigned type_flags;
int level; // Ilevel
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]; // item_socket_color
int gem_properties;
int id_socket_bonus;
int id_set;
int id_curve;
unsigned id_artifact;
}