[7684] Resolve possible conflict in summon property enum type and enum names (currently commented)

This commit is contained in:
VladimirMangos 2009-04-18 12:41:26 +04:00
parent 6c62fe750c
commit e94c6755d0
4 changed files with 47 additions and 45 deletions

View file

@ -1441,15 +1441,17 @@ struct StableSlotPricesEntry
uint32 Price;
};
/*struct SummonPropertiesEntry
/* unused currently
struct SummonPropertiesEntry
{
uint32 Id; // 0
uint32 Group; // 1, 0 - can't be controlled?, 1 - something guardian?, 2 - pet?, 3 - something controllable?, 4 - taxi/mount?
uint32 Unk2; // 2, 14 rows > 0
uint32 Type; // 3, see enum
uint32 Slot; // 4, 0-6
uint32 Flags; // 5
};*/
uint32 Group; // 1, enum SummonPropGroup, 0 - can't be controlled?, 1 - something guardian?, 2 - pet?, 3 - something controllable?, 4 - taxi/mount?
uint32 Unk2; // 2, 14 rows > 0
uint32 Type; // 3, enum SummonPropType
uint32 Slot; // 4, 0-6
uint32 Flags; // 5, enum SummonPropFlags
};
*/
#define MAX_TALENT_RANK 5
#define MAX_PET_TALENT_RANK 3 // use in calculations, expected <= MAX_TALENT_RANK