Core/DataStores: Updated db2 structures to 9.0.2
Port From (https://github.com/TrinityCore/TrinityCore/commit/b82a3a557a7bf13d48342ea189325550059b622d)
This commit is contained in:
@@ -371,24 +371,50 @@ namespace Framework.Constants
|
||||
//Unk265 = 265,
|
||||
SelectedAzeriteEssenceRankLower = 266,
|
||||
SelectedAzeriteEssenceRankGreater = 267,
|
||||
//Unk268 = 268,
|
||||
//Unk269 = 269,
|
||||
SourceLevelInRangeCt = 268,
|
||||
TargetLevelInRangeCt = 269,
|
||||
//Unk270 = 270,
|
||||
//Unk271 = 271,
|
||||
//Unk272 = 272,
|
||||
//Unk273 = 273,
|
||||
SourceLevelGreaterCt = 272, // Compare Levels Using Content Tuning
|
||||
TargetLevelGreaterCt = 273, // Compare Levels Using Content Tuning
|
||||
//Unk274 = 274,
|
||||
//Unk275 = 275,
|
||||
//Unk276 = 276,
|
||||
//Unk277 = 277,
|
||||
RafRecruitInParty = 277, // NYI
|
||||
//Unk278 = 278,
|
||||
//Unk279 = 279,
|
||||
MapOrCosmeticMap = 280,
|
||||
//Unk281 = 281,
|
||||
HasEntitlement = 282,
|
||||
HasQuestSession = 283,
|
||||
HasEntitlement = 282, // NYI
|
||||
HasQuestSession = 283, // NYI
|
||||
//Unk284 = 284,
|
||||
//Unk285 = 285,
|
||||
//Unk286 = 286,
|
||||
//Unk287 = 287,
|
||||
Covenant = 288,
|
||||
//Unk289 = 289, // Related To Pvp Ranking
|
||||
PermanentAnimaDiversionTalent = 290, // NYI
|
||||
Soulbind = 291,
|
||||
//Unk292 = 292,
|
||||
SourceAreaOrZoneInGroup = 293,
|
||||
//Unk294 = 294,
|
||||
//Unk295 = 295,
|
||||
//Unk296 = 296,
|
||||
//Unk297 = 297,
|
||||
//Unk298 = 298,
|
||||
//Unk299 = 299,
|
||||
SourceInSpecificChromieTime = 300,
|
||||
SourceInAnyChromieTime = 301,
|
||||
//Unk302 = 302,
|
||||
SourceRuneforgeLegendaryKnown = 303,
|
||||
//Unk304 = 304,
|
||||
//Unk305 = 305,
|
||||
//Unk306 = 306,
|
||||
SoulbindConduitRank = 307, // NYI
|
||||
ShapeshiftFormCustomizationDisplay = 308,
|
||||
SoulbindMinConduitsAtRank = 309, // NYI
|
||||
IsRestrictedAccount = 310, // NYI
|
||||
SourceFlying = 311,
|
||||
}
|
||||
|
||||
public enum CriteriaFlags
|
||||
@@ -628,7 +654,21 @@ namespace Framework.Constants
|
||||
ReachAccountHonorLevel = 213,
|
||||
HeartOfAzerothArtifactPowerEarned = 214,
|
||||
HeartOfAzerothLevelReached = 215,
|
||||
TotalTypes = 219
|
||||
MythicKeystoneCompleted = 216, // NYI
|
||||
// 217 - 0 Criterias
|
||||
CompleteQuestAccumulate = 218,
|
||||
BoughtItemFromVendor = 219,
|
||||
SoldItemToVendor = 220,
|
||||
// 221 - 0 Criterias
|
||||
// 222 - 0 Criterias
|
||||
// 223 - 0 Criterias
|
||||
// 224 - 0 Criterias
|
||||
TravelledToArea = 225,
|
||||
// 226 - 0 Criterias
|
||||
// 227 - 0 Criterias
|
||||
ApplyConduit = 228,
|
||||
ConvertItemsToCurrency = 229,
|
||||
TotalTypes = 230
|
||||
}
|
||||
|
||||
public enum CriteriaDataType
|
||||
|
||||
@@ -91,7 +91,8 @@ namespace Framework.Constants
|
||||
Defense = 0x10000, // Localdefense, Worlddefense
|
||||
GuildReq = 0x20000, // Guildrecruitment
|
||||
Lfg = 0x40000, // Lfg
|
||||
Unk1 = 0x80000 // General
|
||||
Unk1 = 0x80000, // General
|
||||
NoClientJoin = 0x200000
|
||||
}
|
||||
|
||||
public enum ChannelMemberFlags
|
||||
|
||||
@@ -938,7 +938,7 @@ namespace Framework.Constants
|
||||
|
||||
public enum AzeriteTierUnlockSetFlags
|
||||
{
|
||||
Default = 0x1
|
||||
Default = 0x01
|
||||
}
|
||||
|
||||
public enum BattlegroundBracketId // bracketId for level ranges
|
||||
@@ -948,26 +948,14 @@ namespace Framework.Constants
|
||||
Max
|
||||
}
|
||||
|
||||
public enum CharBaseSectionVariation : byte
|
||||
public enum ChrCustomizationOptionFlag
|
||||
{
|
||||
Skin = 0,
|
||||
Face = 1,
|
||||
FacialHair = 2,
|
||||
Hair = 3,
|
||||
Underwear = 4,
|
||||
CustomDisplay1 = 5,
|
||||
CustomDisplay2 = 6,
|
||||
CustomDisplay3 = 7,
|
||||
|
||||
Max
|
||||
Disabled = 0x04
|
||||
}
|
||||
|
||||
public enum CharSectionFlags
|
||||
public enum ChrCustomizationReqFlag
|
||||
{
|
||||
Player = 0x01,
|
||||
DeathKnight = 0x04,
|
||||
DemonHunter = 0x20,
|
||||
Conditional = 0x400
|
||||
HasRequirements = 0x01
|
||||
}
|
||||
|
||||
public enum CharSectionType
|
||||
@@ -992,7 +980,7 @@ namespace Framework.Constants
|
||||
Max
|
||||
}
|
||||
|
||||
public enum BattlemasterListFlags : sbyte
|
||||
public enum BattlemasterListFlags : int
|
||||
{
|
||||
Disabled = 0x01,
|
||||
SkipRoleCheck = 0x02,
|
||||
@@ -1014,6 +1002,20 @@ namespace Framework.Constants
|
||||
Recommended = 0x40,
|
||||
}
|
||||
|
||||
public enum ContentTuningCalcType
|
||||
{
|
||||
Base = 0,
|
||||
PlusOne = 1,
|
||||
PlusMaxLevelForExpansion = 2
|
||||
}
|
||||
|
||||
public enum ContentTuningFlag
|
||||
{
|
||||
DisabledForItem = 0x04,
|
||||
Horde = 0x8,
|
||||
Alliance = 0x10
|
||||
}
|
||||
|
||||
public enum Curves
|
||||
{
|
||||
ArtifactRelicItemLevelBonus = 1718,
|
||||
@@ -1852,12 +1854,34 @@ namespace Framework.Constants
|
||||
CreatureSpellDamage = 9
|
||||
}
|
||||
|
||||
public enum UiMapFlag
|
||||
{
|
||||
None = 0x00,
|
||||
NoHighlight = 0x01,
|
||||
ShowOverlays = 0x02,
|
||||
ShowTaxiNodes = 0x04,
|
||||
GarrisonMap = 0x08,
|
||||
FallbackToParentMap = 0x10,
|
||||
NoHighlightTexture = 0x20,
|
||||
ShowTaskObjectives = 0x40,
|
||||
NoWorldPositions = 0x80,
|
||||
HideArchaeologyDigs = 0x100,
|
||||
Deprecated = 0x200,
|
||||
HideIcons = 0x400,
|
||||
HideVignettes = 0x800,
|
||||
ForceAllOverlayExplored = 0x1000,
|
||||
FlightMapShowZoomOut = 0x2000,
|
||||
FlightMapAutoZoom = 0x4000,
|
||||
ForceOnNavbar = 0x8000
|
||||
}
|
||||
|
||||
public enum UiMapSystem : sbyte
|
||||
{
|
||||
World = 0,
|
||||
Taxi = 1,
|
||||
Adventure = 2,
|
||||
Max = 3
|
||||
SystemMinimap = 3,
|
||||
Max
|
||||
}
|
||||
|
||||
public enum UiMapType
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
namespace Framework.Constants
|
||||
{
|
||||
public enum GameObjectTypes : byte
|
||||
public enum GameObjectTypes : int
|
||||
{
|
||||
Door = 0,
|
||||
Button = 1,
|
||||
|
||||
@@ -78,42 +78,27 @@ namespace Framework.Constants
|
||||
ItemModifier.TransmogAppearanceSpec1,
|
||||
ItemModifier.TransmogAppearanceSpec2,
|
||||
ItemModifier.TransmogAppearanceSpec3,
|
||||
ItemModifier.TransmogAppearanceSpec4
|
||||
ItemModifier.TransmogAppearanceSpec4,
|
||||
ItemModifier.TransmogAppearanceSpec5
|
||||
};
|
||||
|
||||
public const ulong AppearanceModifierMaskSpecSpecific =
|
||||
(1ul << (int)ItemModifier.TransmogAppearanceSpec1) |
|
||||
(1ul << (int)ItemModifier.TransmogAppearanceSpec2) |
|
||||
(1ul << (int)ItemModifier.TransmogAppearanceSpec3) |
|
||||
(1ul << (int)ItemModifier.TransmogAppearanceSpec4);
|
||||
|
||||
public static ItemModifier[] IllusionModifierSlotBySpec =
|
||||
{
|
||||
{
|
||||
ItemModifier.EnchantIllusionSpec1,
|
||||
ItemModifier.EnchantIllusionSpec2,
|
||||
ItemModifier.EnchantIllusionSpec3,
|
||||
ItemModifier.EnchantIllusionSpec4
|
||||
ItemModifier.EnchantIllusionSpec4,
|
||||
ItemModifier.EnchantIllusionSpec5
|
||||
};
|
||||
|
||||
public const ulong IllusionModifierMaskSpecSpecific =
|
||||
(1ul << (int)ItemModifier.EnchantIllusionSpec1) |
|
||||
(1ul << (int)ItemModifier.EnchantIllusionSpec2) |
|
||||
(1ul << (int)ItemModifier.EnchantIllusionSpec3) |
|
||||
(1ul << (int)ItemModifier.EnchantIllusionSpec4);
|
||||
|
||||
public static ItemModifier[] SecondaryAppearanceModifierSlotBySpec =
|
||||
{
|
||||
ItemModifier.TransmogSecondaryAppearanceSpec1,
|
||||
ItemModifier.TransmogSecondaryAppearanceSpec2,
|
||||
ItemModifier.TransmogSecondaryAppearanceSpec3,
|
||||
ItemModifier.TransmogSecondaryAppearanceSpec4
|
||||
ItemModifier.TransmogSecondaryAppearanceSpec4,
|
||||
ItemModifier.TransmogSecondaryAppearanceSpec5
|
||||
};
|
||||
|
||||
public const ulong SecondaryAppearanceModifierMaskSpecSpecific =
|
||||
(1ul << (int)ItemModifier.TransmogSecondaryAppearanceSpec1) |
|
||||
(1ul << (int)ItemModifier.TransmogSecondaryAppearanceSpec2) |
|
||||
(1ul << (int)ItemModifier.TransmogSecondaryAppearanceSpec3) |
|
||||
(1ul << (int)ItemModifier.TransmogSecondaryAppearanceSpec4);
|
||||
}
|
||||
|
||||
public struct InventorySlots
|
||||
@@ -219,8 +204,8 @@ namespace Framework.Constants
|
||||
CritSpellRating = 21,
|
||||
Corruption = 22,
|
||||
CorruptionResistance = 23,
|
||||
HitTakenSpellRating = 24,
|
||||
CritTakenMeleeRating = 25,
|
||||
ModifiedCraftingStat1 = 24,
|
||||
ModifiedCraftingStat2 = 25,
|
||||
CritTakenRangedRating = 26,
|
||||
CritTakenSpellRating = 27,
|
||||
HasteMeleeRating = 28,
|
||||
@@ -356,7 +341,7 @@ namespace Framework.Constants
|
||||
ItemLevel = 1,
|
||||
Stat = 2,
|
||||
Quality = 3,
|
||||
Description = 4,
|
||||
NameSubtitle = 4, // Text under name
|
||||
Suffix = 5,
|
||||
Socket = 6,
|
||||
Appearance = 7,
|
||||
@@ -376,6 +361,10 @@ namespace Framework.Constants
|
||||
OverrideCanDisenchant = 21,
|
||||
OverrideCanScrap = 22,
|
||||
ItemEffectId = 23,
|
||||
ModifiedCraftingStat = 25,
|
||||
RequiredLevelCurve = 27,
|
||||
DescriptionText = 30, // Item Description
|
||||
OverrideName = 31, // Itemnamedescription Id
|
||||
}
|
||||
|
||||
public enum ItemContext : byte
|
||||
|
||||
@@ -1141,7 +1141,7 @@ namespace Framework.Constants
|
||||
GameObjectPlaySpellVisualKit = 0x2c4a,
|
||||
GameObjectResetState = 0x2723,
|
||||
GameObjectSetStateLocal = 0x2806,
|
||||
GameObjectUiLink = 0x271f,
|
||||
GameObjectUILink = 0x271f,
|
||||
GameSpeedSet = 0x267f,
|
||||
GameTimeSet = 0x2711,
|
||||
GameTimeUpdate = 0x2710,
|
||||
|
||||
@@ -21,12 +21,15 @@ namespace Framework.Constants
|
||||
{
|
||||
public struct PlayerConst
|
||||
{
|
||||
public const Expansion CurrentExpansion = Expansion.ShadowLands;
|
||||
|
||||
public const int MaxTalentTiers = 7;
|
||||
public const int MaxTalentColumns = 3;
|
||||
public const int MaxTalentRank = 5;
|
||||
public const int MaxPvpTalentSlots = 4;
|
||||
public const int MinSpecializationLevel = 10;
|
||||
public const int MaxSpecializations = 4;
|
||||
public const int MaxSpecializations = 5;
|
||||
public const int InitialSpecializationIndex = 4;
|
||||
public const int MaxMasterySpells = 2;
|
||||
|
||||
public const int ReqPrimaryTreeTalents = 31;
|
||||
@@ -42,7 +45,7 @@ namespace Framework.Constants
|
||||
public const uint infinityCooldownDelayCheck = Time.Month / 2;
|
||||
public const int MaxPlayerSummonDelay = 2 * Time.Minute;
|
||||
|
||||
public const int TaxiMaskSize = 319;
|
||||
public const int TaxiMaskSize = 336;
|
||||
|
||||
// corpse reclaim times
|
||||
public const int DeathExpireStep = (5 * Time.Minute);
|
||||
|
||||
@@ -34,8 +34,8 @@ namespace Framework.Constants
|
||||
public const int MaxHolidayDurations = 10;
|
||||
public const int MaxHolidayDates = 26;
|
||||
public const int MaxHolidayFlags = 10;
|
||||
public const int DefaultMaxLevel = 120;
|
||||
public const int MaxLevel = 120;
|
||||
public const int DefaultMaxLevel = 60;
|
||||
public const int MaxLevel = 123;
|
||||
public const int StrongMaxLevel = 255;
|
||||
public const int MaxOverrideSpell = 10;
|
||||
public const int MaxWorldMapOverlayArea = 4;
|
||||
@@ -48,7 +48,7 @@ namespace Framework.Constants
|
||||
/// <summary>
|
||||
/// BattlePets Const
|
||||
/// </summary>
|
||||
public const int MaxBattlePetSpeciesId = 2873;
|
||||
public const int MaxBattlePetSpeciesId = 3084;
|
||||
public const int MaxPetBattleSlots = 3;
|
||||
public const int MaxBattlePetsPerSpecies = 3;
|
||||
public const int BattlePetCageItemId = 82800;
|
||||
@@ -587,9 +587,8 @@ namespace Framework.Constants
|
||||
WarlordsOfDraenor = 5,
|
||||
Legion = 6,
|
||||
BattleForAzeroth = 7,
|
||||
Max,
|
||||
|
||||
ShadowLands = 8,
|
||||
Max,
|
||||
|
||||
MaxAccountExpansions
|
||||
}
|
||||
@@ -1140,7 +1139,6 @@ namespace Framework.Constants
|
||||
DeathCorpseReclaimDelayPvp,
|
||||
DeathSicknessLevel,
|
||||
DeclinedNamesUsed,
|
||||
DemonHuntersPerRealm,
|
||||
DetectPosCollision,
|
||||
DieCommandMode,
|
||||
DisableBreathing,
|
||||
|
||||
@@ -515,6 +515,16 @@ namespace Framework.Constants
|
||||
Unk491 = 491,
|
||||
Unk492 = 492,
|
||||
Unk493 = 493,
|
||||
SetPowerPointCharge = 494, // NYI
|
||||
TriggerSpellOnExpire = 495, // NYI
|
||||
AllowChangingEquipmentInTorghast = 496, // NYI
|
||||
ModAnimaGain = 497, // NYI
|
||||
CurrencyLossPctOnDeath = 498, // NYI
|
||||
ModRestedXpConsumption = 499,
|
||||
IgnoreSpellChargeCooldown = 500, // NYI
|
||||
ModCriticalDamageTakenFromCaster = 501,
|
||||
ModVersatilityDamageDoneBenefit = 502, // NYI
|
||||
ModVersatilityHealingDoneBenefit = 503, // NYI
|
||||
Total
|
||||
}
|
||||
|
||||
|
||||
@@ -1852,6 +1852,10 @@ namespace Framework.Constants
|
||||
Unk21 = 0x200000, // 21
|
||||
Unk22 = 0x400000, // 22
|
||||
Unk23 = 0x800000 // 23
|
||||
}
|
||||
public enum SpellAttr14
|
||||
{
|
||||
|
||||
}
|
||||
public enum SpellCustomAttributes
|
||||
{
|
||||
@@ -2156,6 +2160,18 @@ namespace Framework.Constants
|
||||
UpgradeItem = 269,
|
||||
Unk270 = 270,
|
||||
ApplyAreaAuraPartyNonrandom = 271,
|
||||
SetCovenant = 272,
|
||||
CraftRuneforgeLegendary = 273,
|
||||
Unk274 = 274,
|
||||
Unk275 = 275,
|
||||
LearnTransmogIllusion = 276,
|
||||
SetChromieTime = 277,
|
||||
Unk278 = 278,
|
||||
LearnGarrTalent = 279,
|
||||
Unk280 = 280,
|
||||
LearnSoulbindConduit = 281,
|
||||
ConvertItemsToCurrency = 282,
|
||||
Unk283 = 283,
|
||||
TotalSpellEffects
|
||||
}
|
||||
|
||||
@@ -2463,6 +2479,7 @@ namespace Framework.Constants
|
||||
Unk148 = 148,
|
||||
Unk149 = 149,
|
||||
UnitOwnCritter = 150, // own battle pet from UNIT_FIELD_CRITTER
|
||||
Unk151 = 151,
|
||||
TotalSpellTargets
|
||||
}
|
||||
public enum SpellTargetSelectionCategories
|
||||
|
||||
Reference in New Issue
Block a user