mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-24 14:16:31 +00:00
Merge branch 'azerothcore:master' into Playerbot
This commit is contained in:
@@ -1163,6 +1163,18 @@ struct HolidaysEntry
|
||||
//uint32 flags; // 54 m_flags (0 = Darkmoon Faire, Fishing Contest and Wotlk Launch, rest is 1)
|
||||
};
|
||||
|
||||
struct ItemEntry
|
||||
{
|
||||
uint32 ID; // 0
|
||||
uint32 ClassID; // 1
|
||||
uint32 SubclassID; // 2
|
||||
int32 SoundOverrideSubclassID; // 3
|
||||
int32 Material; // 4
|
||||
uint32 DisplayInfoID; // 5
|
||||
uint32 InventoryType; // 6
|
||||
uint32 SheatheType; // 7
|
||||
};
|
||||
|
||||
struct ItemBagFamilyEntry
|
||||
{
|
||||
uint32 ID; // 0
|
||||
@@ -1258,25 +1270,28 @@ struct ItemSetEntry
|
||||
|
||||
struct LFGDungeonEntry
|
||||
{
|
||||
uint32 ID; // 0
|
||||
char const* name[16]; // 1-17 Name lang
|
||||
uint32 minlevel; // 18
|
||||
uint32 maxlevel; // 19
|
||||
uint32 reclevel; // 20
|
||||
uint32 recminlevel; // 21
|
||||
uint32 recmaxlevel; // 22
|
||||
int32 map; // 23
|
||||
uint32 difficulty; // 24
|
||||
uint32 flags; // 25
|
||||
uint32 type; // 26
|
||||
//uint32 unk; // 27
|
||||
//char const* iconname; // 28
|
||||
uint32 expansion; // 29
|
||||
//uint32 unk4; // 30
|
||||
uint32 grouptype; // 31
|
||||
//char const* desc[16]; // 32-47 Description
|
||||
uint32 ID; // 0
|
||||
char const* Name[16]; // 1-16
|
||||
//uint32 Name_lang_mask; // 17
|
||||
uint32 MinLevel; // 18
|
||||
uint32 MaxLevel; // 19
|
||||
uint32 TargetLevel; // 20
|
||||
uint32 TargetLevelMin; // 21
|
||||
uint32 TargetLevelMax; // 22
|
||||
uint32 MapID; // 23
|
||||
uint32 Difficulty; // 24
|
||||
uint32 Flags; // 25
|
||||
uint32 TypeID; // 26
|
||||
//int32 Faction; // 27
|
||||
//char const* TextureFilename; // 28
|
||||
uint32 ExpansionLevel; // 29
|
||||
//uint32 OrderIndex; // 30
|
||||
uint32 GroupID; // 31
|
||||
//char const* Description[16]; // 32-47
|
||||
//uint32 Description_lang_mask; // 48
|
||||
|
||||
// Helpers
|
||||
[[nodiscard]] uint32 Entry() const { return ID + (type << 24); }
|
||||
[[nodiscard]] uint32 Entry() const { return ID + (TypeID << 24); }
|
||||
};
|
||||
|
||||
struct LightEntry
|
||||
|
||||
@@ -70,6 +70,7 @@ char constexpr GtOCTRegenHPfmt[] = "df";
|
||||
char constexpr GtRegenHPPerSptfmt[] = "df";
|
||||
char constexpr GtRegenMPPerSptfmt[] = "df";
|
||||
char constexpr Holidaysfmt[] = "niiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiixxsiix";
|
||||
char constexpr Itemfmt[] = "niiiiiii";
|
||||
char constexpr ItemBagFamilyfmt[] = "nxxxxxxxxxxxxxxxxx";
|
||||
char constexpr ItemDisplayTemplateEntryfmt[] = "nxxxxsxxxxxxxxxxxxxxxxxxx";
|
||||
//char constexpr ItemCondExtCostsEntryfmt[] = "xiii";
|
||||
|
||||
Reference in New Issue
Block a user