Core/DataStores: Updated to 11.0.0

Port From (https://github.com/TrinityCore/TrinityCore/commit/df511503815b7798c83acbffbb1ce5208f189ce7)
This commit is contained in:
Hondacrx
2024-09-02 22:27:11 -04:00
parent f38ad4607e
commit 2590e31d57
36 changed files with 407 additions and 208 deletions
+16 -3
View File
@@ -450,8 +450,21 @@ namespace Framework.Constants
PlayerWeaponHighWatermarkAboveOrEqual = 375, /*NYI*/
PlayerHeadHighWatermarkAboveOrEqual = 376, /*NYI*/
PlayerHasDisplayedCurrencyLessThan = 377, /*NYI*/ // Player has {CurrencyTypes} less than {#Amount} (value visible in ui is taken into account, not raw value)
PlayerDataFlagAccountIsSet = 387, /*NYI*/ // Player {PlayerDataFlagAccount} is set
PlayerDataFlagCharacterIsSet = 389, /*NYI*/ // Player {PlayerDataFlagCharacter} is set
PlayerIsOnMapWithExpansion = 380, // Player is on map that has {ExpansionID}
PlayerHasCompletedQuestOnAccount = 382, /*NYI*/ // Player has previously completed quest "{QuestV2}" on account
PlayerHasCompletedQuestlineOnAccount = 383, /*NYI*/ // Player has completed questline "{Questline}" on account
PlayerHasCompletedQuestlineQuestCountOnAccount = 384, /*NYI*/ // Player has completed "{#Quests}" quests in questline "{Questline}" on account
PlayerHasActiveTraitSubTree = 385, // Player has active trait config with {TraitSubTree}
PlayerIsInSoloRBG = 387, /*NYI*/ // Player is in solo RBG (BG Blitz)
PlayerHasCompletedCampaign = 388, /*NYI*/ // Player has completed campaign "{Campaign}"
TargetCreatureClassificationEqual = 389, // Creature classification is {CreatureClassification}
PlayerDataElementCharacterEqual = 390, /*NYI*/ // Player {PlayerDataElementCharacter} is greater than {#Amount}
PlayerDataElementAccountEqual = 391, /*NYI*/ // Player {PlayerDataElementAccount} is greater than {#Amount}
PlayerHasCompletedQuestOrIsReadyToTurnIn = 392, // Player has previously completed quest "{QuestV2}" or is ready to turn it in
}
public enum CriteriaFailEvent : byte
@@ -755,9 +768,9 @@ namespace Framework.Constants
CompleteQuestsCountOnAccount = 257, /*NYI*/
WarbandBankTabPurchased = 260, /*NYI*/
ReachRenownLevel = 261,
LearnTaxiNode = 262,
Count = 263
Count = 264
}
public enum CriteriaDataType
+10 -4
View File
@@ -47,7 +47,7 @@ namespace Framework.Constants
RacialForThePurposeOfTemporaryRaceChange = 0x8000,
}
public enum AbilityLearnType : byte
public enum AbilityLearnType : int
{
OnSkillValue = 1, // Spell state will update depending on skill value
OnSkillLearn = 2, // Spell will be learned/removed together with entire skill
@@ -1096,7 +1096,11 @@ namespace Framework.Constants
UseTotalEarnedForEarned = 0x01,
ShowQuestXPGainInTooltip = 0x02, // NYI
NoNotificationMailOnOfflineProgress = 0x04, // NYI
BattlenetVirtualCurrency = 0x08 // NYI
BattlenetVirtualCurrency = 0x08, // NYI
FutureCurrencyFlag = 0x10, // NYI
DontDisplayIfZero = 0x20, // NYI
ScaleMaxQuantityBySeasonWeeks = 0x40, // NYI
ScaleMaxQuantityByWeeksSinceStart = 0x80, // NYI
}
[Flags]
@@ -2498,7 +2502,8 @@ namespace Framework.Constants
Available = 0,
Visible = 1,
Granted = 2,
Increased = 3
Increased = 3,
DisplayError = 4
}
public enum TraitConfigType
@@ -2551,7 +2556,8 @@ namespace Framework.Constants
{
Single = 0,
Tiered = 1,
Selection = 2
Selection = 2,
SubTreeSelection = 3
}
public enum TraitPointsOperationType
+12 -1
View File
@@ -329,6 +329,9 @@ namespace Framework.Constants
OnPickup = 5,
OnLearn = 6, // used in itemtemplate.spell2 with spellid with SPELLGENERICLEARN in spell1
OnLooted = 7,
TeachMount = 8,
OnPickupForced = 9,
OnLootedForced = 10,
Max
}
@@ -561,8 +564,11 @@ namespace Framework.Constants
DungeonNormalJackpot = 101,
DungeonHeroicJackpot = 102,
DungeonMythicJackpot = 103,
Delves = 104,
Delves1 = 104,
Timerunning = 105,
Delves2 = 106,
Delves3 = 107,
DelvesJackpot = 108,
Max
}
@@ -669,6 +675,11 @@ namespace Framework.Constants
OnEquip = 2,
OnUse = 3,
Quest = 4,
Unused1 = 5,
Unused2 = 6,
WowAccount = 7,
BnetAccount = 8,
BnetAccountUntilEquipped = 9,
}
public enum ItemClass : sbyte
@@ -514,7 +514,7 @@ namespace Framework.Constants
ModHealingTakenFromCaster = 504,
ModPlayerChoiceRerolls = 505, // NYI
DisableInertia = 506, // NYI
ModDamageTakenFromCasterByLabel = 507,
ModDamageTakenByLabel = 507,
Unk508 = 508,
Unk509 = 509,
ModifiedRaidInstance = 510, // NYI; Related to "Fated" raid affixes
@@ -544,14 +544,109 @@ namespace Framework.Constants
Unk534 = 534,
Unk535 = 535,
IgnoreSpellCreatureTypeRequirements = 536,
Unk537 = 537,
ModSpellDamageFromCasterByLabel = 537,
ModFakeInebriationMovementOnly = 538,
AllowMountInCombat = 539,
ModSupportStat = 540, // NYI
ModRequiredMountCapabilityFlags = 541,
Unk542 = 542,
TriggerSpellOnStackAmount = 542, // NYI
Unk543 = 543,
Unk544 = 544,
Unk545 = 545, // prevent swim
Unk546 = 546,
Unk547 = 547,
Unk548 = 548,
Unk549 = 549,
Unk550 = 550,
Unk551 = 551,
Unk552 = 552,
Unk553 = 553,
Unk554 = 554,
Unk555 = 555,
Unk556 = 556,
Unk557 = 557,
Unk558 = 558,
Unk559 = 559,
Unk560 = 560,
Unk561 = 561,
Unk562 = 562,
Unk563 = 563,
Unk564 = 564,
Unk565 = 565,
Unk566 = 566,
Unk567 = 567,
Unk568 = 568,
Unk569 = 569,
Unk570 = 570,
Unk571 = 571,
Unk572 = 572,
Unk573 = 573,
Unk574 = 574,
Unk575 = 575,
Unk576 = 576,
Unk577 = 577,
Unk578 = 578,
Unk579 = 579,
Unk580 = 580,
Unk581 = 581,
Unk582 = 582,
Unk583 = 583,
Unk584 = 584,
Unk585 = 585,
Unk586 = 586,
Unk587 = 587,
Unk588 = 588,
Unk589 = 589,
Unk590 = 590,
Unk591 = 591,
Unk592 = 592,
Unk593 = 593,
Unk594 = 594,
Unk595 = 595,
Unk596 = 596,
Unk597 = 597,
Unk598 = 598,
Unk599 = 599,
Unk600 = 600,
Unk601 = 601,
Unk602 = 602,
Unk603 = 603,
Unk604 = 604,
Unk605 = 605,
Unk606 = 606,
Unk607 = 607,
Unk608 = 608,
Unk609 = 609,
Unk610 = 610,
Unk611 = 611,
Unk612 = 612,
Unk613 = 613,
Unk614 = 614,
Unk615 = 615,
Unk616 = 616,
Unk617 = 617,
Unk618 = 618,
Unk619 = 619,
Unk620 = 620,
Unk621 = 621,
Unk622 = 622,
Unk623 = 623,
Unk624 = 624,
Unk625 = 625,
Unk626 = 626,
Unk627 = 627,
Unk628 = 628,
Unk629 = 629,
Unk630 = 630,
Unk631 = 631,
Unk632 = 632,
Unk633 = 633,
Unk634 = 634,
Unk635 = 635,
Unk636 = 636,
ModExplorationExperience = 637,
ModCriticalBlockAmount = 638,
Unk639 = 639,
Total
}
@@ -2565,6 +2565,24 @@ namespace Framework.Constants
ChangeItemBonuses2 = 313, // MiscValue[0] = ItemBonusTreeID to preserve
AddSocketBonus = 314, // MiscValue[0] = required ItemBonusTreeID
LearnTransmogAppearanceFromItemModAppearanceGroup = 315, // MiscValue[0] = ItemModAppearanceGroupID (not in db2)
KillCreditLbael1 = 316,
KillCreditLabel2 = 317,
Unk318 = 318,
Unk319 = 319,
Unk320 = 320,
Unk321 = 321,
Unk322 = 322,
Unk323 = 323,
Unk324 = 324,
Unk325 = 325,
Unk326 = 326,
Unk327 = 327,
Unk328 = 328,
Unk329 = 329,
Unk330 = 330,
Unk331 = 331,
Unk332 = 332,
Unk333 = 333,
TotalSpellEffects
}