diff options
Diffstat (limited to 'src/server/shared')
| -rw-r--r-- | src/server/shared/DataStores/DBCStructure.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/server/shared/DataStores/DBCStructure.h b/src/server/shared/DataStores/DBCStructure.h index e3b67d43703..753067043b6 100644 --- a/src/server/shared/DataStores/DBCStructure.h +++ b/src/server/shared/DataStores/DBCStructure.h @@ -951,24 +951,24 @@ struct ItemLimitCategoryEntry struct ItemRandomPropertiesEntry { - uint32 ID; // 0 - //char const* InternalName; // 1 - uint32 Enchantment[MAX_ITEM_ENCHANTMENT_EFFECTS]; // 2-4 - //uint32 UnusedEnchantment[2]; // 5-6 - char const* Name[16]; // 7-22 - //uint32 Name_lang_mask; // 23 + uint32 ID; // 0 + //char const* InternalName; // 1 + std::array<uint32, MAX_ITEM_ENCHANTMENT_EFFECTS> Enchantment; // 2-4 + //std::array<uint32, 2> UnusedEnchantment; // 5-6 + std::array<char const*, 16> Name; // 7-22 + //uint32 Name_lang_mask; // 23 }; struct ItemRandomSuffixEntry { - uint32 ID; // 0 - char const* Name[16]; // 1-16 - //uint32 Name_lang_mask; // 17 - //char const* InternalName; // 18 - uint32 Enchantment[MAX_ITEM_ENCHANTMENT_EFFECTS]; // 19-21 - //uint32 UnusedEnchantment[2] // 22-23 - uint32 AllocationPct[MAX_ITEM_ENCHANTMENT_EFFECTS]; // 24-26 - //uint32 UnusedAllocationPct[2] // 27-28 + uint32 ID; // 0 + std::array<char const*, 16> Name; // 1-16 + //uint32 Name_lang_mask; // 17 + //char const* InternalName; // 18 + std::array<uint32, MAX_ITEM_ENCHANTMENT_EFFECTS> Enchantment; // 19-21 + //std::array<uint32, 2> UnusedEnchantment; // 22-23 + std::array<uint32, MAX_ITEM_ENCHANTMENT_EFFECTS> AllocationPct; // 24-26 + //std::array<uint32, 2> UnusedAllocationPct; // 27-28 }; #define MAX_ITEM_SET_ITEMS 10 |
