Updated DB2 structs

This commit is contained in:
hondacrx
2018-02-26 13:13:54 -05:00
parent 0a3dfaba37
commit 82dca6de94
61 changed files with 2639 additions and 2517 deletions
@@ -157,6 +157,7 @@ namespace Framework.Constants
//CRITERIA_ADDITIONAL_CONDITION_UNK86 = 86, // Some external event id
//CRITERIA_ADDITIONAL_CONDITION_UNK87 = 87, // Achievement id
BattlePetSpecies = 91,
Expansion = 92,
GarrisonFollowerEntry = 144,
GarrisonFollowerQuality = 145,
GarrisonFollowerLevel = 146,
@@ -403,7 +404,7 @@ namespace Framework.Constants
GainParagonReputation = 206,
EarnHonorXp = 207,
RelicTalentUnlocked = 211,
TotalTypes = 212
TotalTypes = 213
}
public enum CriteriaDataType
+2 -2
View File
@@ -849,7 +849,7 @@ namespace Framework.Constants
FlyWarriorChargeEnd = 821
}
public enum AreaFlags
public enum AreaFlags : int
{
Snow = 0x01, // Snow (Only Dun Morogh, Naxxramas, Razorfen Downs And Winterspring)
Unk1 = 0x02, // Razorfen Downs, Naxxramas And Acherus: The Ebon Hold (3.3.5a)
@@ -1232,7 +1232,7 @@ namespace Framework.Constants
Prime = 2
}
public enum ItemSetFlags
public enum ItemSetFlags : byte
{
LegacyInactive = 0x01,
}
+2 -1
View File
@@ -343,7 +343,8 @@ namespace Framework.Constants
ItemLevelCanIncrease = 14, // Displays a + next to item level indicating it can warforge
RandomEnchantment = 15, // Responsible for showing "<Random additional stats>" or "+%d Rank Random Minor Trait" in the tooltip before item is obtained
Bounding = 16,
RelicType = 17
RelicType = 17,
OverrideRequiredLevel = 18
}
public enum ItemEnchantmentType : byte
+1 -1
View File
@@ -131,7 +131,7 @@ namespace Framework.Constants
// uses this category
}
public enum SummonType
public enum SummonType: byte
{
None = 0,
Pet = 1,
+1 -1
View File
@@ -44,7 +44,7 @@ namespace Framework.Constants
public const uint infinityCooldownDelayCheck = Time.Month / 2;
public const int MaxPlayerSummonDelay = 2 * Time.Minute;
public const int TaxiMaskSize = 253;
public const int TaxiMaskSize = 258;
// corpse reclaim times
public const int DeathExpireStep = (5 * Time.Minute);
+9 -4
View File
@@ -505,14 +505,19 @@ namespace Framework.Constants
PandarenNeutral = 24,
PandarenAlliance = 25,
PandarenHorde = 26,
Max = 27,
Nightborne = 27,
HighmountainTauren = 28,
VoidElf = 29,
LightforgedDraenei = 30,
Max = 31,
RaceMaskAllPlayable = ((1 << (Human - 1)) | (1 << (Orc - 1)) | (1 << (Dwarf - 1)) | (1 << (NightElf - 1)) | (1 << (Undead - 1))
| (1 << (Tauren - 1)) | (1 << (Gnome - 1)) | (1 << (Troll - 1)) | (1 << (BloodElf - 1)) | (1 << (Draenei - 1))
| (1 << (Goblin - 1)) | (1 << (Worgen - 1)) | (1 << (PandarenNeutral - 1)) | (1 << (PandarenAlliance - 1)) | (1 << (PandarenHorde - 1))),
| (1 << (Goblin - 1)) | (1 << (Worgen - 1)) | (1 << (PandarenNeutral - 1)) | (1 << (PandarenAlliance - 1)) | (1 << (PandarenHorde - 1))
| (1 << (Nightborne - 1)) | (1 << (HighmountainTauren - 1)) | (1 << (VoidElf - 1)) | (1 << (LightforgedDraenei - 1))),
RaceMaskAlliance = ((1 << (Human - 1)) | (1 << (Dwarf - 1)) | (1 << (NightElf - 1)) |
(1 << (Gnome - 1)) | (1 << (Draenei - 1)) | (1 << (Worgen - 1)) | (1 << (PandarenAlliance - 1))),
RaceMaskAlliance = ((1 << (Human - 1)) | (1 << (Dwarf - 1)) | (1 << (NightElf - 1)) | (1 << (Gnome - 1))
| (1 << (Draenei - 1)) | (1 << (Worgen - 1)) | (1 << (PandarenAlliance - 1)) | (1 << (VoidElf - 1)) | (1<<(LightforgedDraenei - 1))),
RaceMaskHorde = RaceMaskAllPlayable & ~RaceMaskAlliance
}