Core: Updated to 11.1.7

This commit is contained in:
Shauren
2025-06-18 11:37:07 +02:00
parent e02e8a4742
commit ceb8d561b4
46 changed files with 1958 additions and 1608 deletions

View File

@@ -404,10 +404,11 @@ void Object::BuildMovementUpdate(ByteBuffer* data, CreateObjectBits flags, Playe
if (HasDriveStatus)
{
data->WriteBit(unit->m_movementInfo.driveStatus->accelerating);
data->WriteBit(unit->m_movementInfo.driveStatus->drifting);
*data << float(unit->m_movementInfo.driveStatus->speed);
*data << float(unit->m_movementInfo.driveStatus->movementAngle);
data->WriteBit(unit->m_movementInfo.driveStatus->accelerating);
data->WriteBit(unit->m_movementInfo.driveStatus->drifting);
data->FlushBits();
}
*data << float(unit->GetSpeed(MOVE_WALK));

File diff suppressed because it is too large Load Diff

View File

@@ -1034,7 +1034,7 @@ struct Research : public IsUpdateFieldStructureTag
bool operator!=(Research const& right) const { return !(*this == right); }
};
struct ActivePlayerData : public IsUpdateFieldStructureTag, public HasChangesMask<516>
struct ActivePlayerData : public IsUpdateFieldStructureTag, public HasChangesMask<517>
{
UpdateField<bool, 0, 1> BackpackAutoSortDisabled;
UpdateField<bool, 0, 2> BackpackSellJunkDisabled;
@@ -1042,154 +1042,155 @@ struct ActivePlayerData : public IsUpdateFieldStructureTag, public HasChangesMas
UpdateField<bool, 0, 4> SortBagsRightToLeft;
UpdateField<bool, 0, 5> InsertItemsLeftToRight;
UpdateField<bool, 0, 6> HasPerksProgramPendingReward;
UpdateFieldArray<DynamicUpdateFieldBase<uint16>, 1, 41, 42> ResearchSites;
UpdateFieldArray<DynamicUpdateFieldBase<uint32>, 1, 43, 44> ResearchSiteProgress;
UpdateFieldArray<DynamicUpdateFieldBase<UF::Research>, 1, 45, 46> Research;
UpdateFieldArray<DynamicUpdateFieldBase<uint16>, 1, 42, 43> ResearchSites;
UpdateFieldArray<DynamicUpdateFieldBase<uint32>, 1, 44, 45> ResearchSiteProgress;
UpdateFieldArray<DynamicUpdateFieldBase<UF::Research>, 1, 46, 47> Research;
DynamicUpdateField<uint64, 0, 7> KnownTitles;
DynamicUpdateField<UF::PlayerDataElement, 0, 8> CharacterDataElements;
DynamicUpdateField<UF::PlayerDataElement, 0, 9> AccountDataElements;
DynamicUpdateField<int32, 0, 11> DailyQuestsCompleted;
DynamicUpdateField<int32, 0, 12> AvailableQuestLineXQuestIDs;
DynamicUpdateField<int32, 0, 13> Heirlooms;
DynamicUpdateField<uint32, 0, 14> HeirloomFlags;
DynamicUpdateField<int32, 0, 15> Toys;
DynamicUpdateField<uint32, 0, 16> ToyFlags;
DynamicUpdateField<uint32, 0, 17> Transmog;
DynamicUpdateField<int32, 0, 18> ConditionalTransmog;
DynamicUpdateField<int32, 0, 19> SelfResSpells;
DynamicUpdateField<uint32, 0, 20> RuneforgePowers;
DynamicUpdateField<uint32, 0, 21> TransmogIllusions;
DynamicUpdateField<uint32, 0, 22> WarbandScenes;
DynamicUpdateField<UF::SpellPctModByLabel, 0, 24> SpellPctModByLabel;
DynamicUpdateField<UF::SpellFlatModByLabel, 0, 25> SpellFlatModByLabel;
DynamicUpdateField<UF::MawPower, 0, 26> MawPowers;
DynamicUpdateField<UF::MultiFloorExplore, 0, 27> MultiFloorExploration;
DynamicUpdateField<UF::RecipeProgressionInfo, 0, 28> RecipeProgression;
DynamicUpdateField<UF::ReplayedQuest, 0, 29> ReplayedQuests;
DynamicUpdateField<UF::QuestLog, 0, 30> TaskQuests;
DynamicUpdateField<int32, 0, 31> DisabledSpells;
DynamicUpdateField<UF::PersonalCraftingOrderCount, 32, 35> PersonalCraftingOrderCounts;
DynamicUpdateField<UF::NPCCraftingOrderInfo, 32, 36> NpcCraftingOrders;
DynamicUpdateField<UF::CategoryCooldownMod, 32, 37> CategoryCooldownMods;
DynamicUpdateField<UF::WeeklySpellUse, 32, 38> WeeklySpellUses;
DynamicUpdateField<UF::CollectableSourceTrackedData, 32, 39> TrackedCollectableSources;
DynamicUpdateField<int32, 0, 12> Field_1328;
DynamicUpdateField<int32, 0, 13> AvailableQuestLineXQuestIDs;
DynamicUpdateField<int32, 0, 14> Heirlooms;
DynamicUpdateField<uint32, 0, 15> HeirloomFlags;
DynamicUpdateField<int32, 0, 16> Toys;
DynamicUpdateField<uint32, 0, 17> ToyFlags;
DynamicUpdateField<uint32, 0, 18> Transmog;
DynamicUpdateField<int32, 0, 19> ConditionalTransmog;
DynamicUpdateField<int32, 0, 20> SelfResSpells;
DynamicUpdateField<uint32, 0, 21> RuneforgePowers;
DynamicUpdateField<uint32, 0, 22> TransmogIllusions;
DynamicUpdateField<uint32, 0, 23> WarbandScenes;
DynamicUpdateField<UF::SpellPctModByLabel, 0, 25> SpellPctModByLabel;
DynamicUpdateField<UF::SpellFlatModByLabel, 0, 26> SpellFlatModByLabel;
DynamicUpdateField<UF::MawPower, 0, 27> MawPowers;
DynamicUpdateField<UF::MultiFloorExplore, 0, 28> MultiFloorExploration;
DynamicUpdateField<UF::RecipeProgressionInfo, 0, 29> RecipeProgression;
DynamicUpdateField<UF::ReplayedQuest, 0, 30> ReplayedQuests;
DynamicUpdateField<UF::QuestLog, 0, 31> TaskQuests;
DynamicUpdateField<int32, 32, 33> DisabledSpells;
DynamicUpdateField<UF::PersonalCraftingOrderCount, 32, 36> PersonalCraftingOrderCounts;
DynamicUpdateField<UF::NPCCraftingOrderInfo, 32, 37> NpcCraftingOrders;
DynamicUpdateField<UF::CategoryCooldownMod, 32, 38> CategoryCooldownMods;
DynamicUpdateField<UF::WeeklySpellUse, 32, 39> WeeklySpellUses;
DynamicUpdateField<UF::CollectableSourceTrackedData, 32, 40> TrackedCollectableSources;
DynamicUpdateField<UF::PVPInfo, 0, 10> PvpInfo;
DynamicUpdateField<UF::CharacterRestriction, 0, 23> CharacterRestrictions;
DynamicUpdateField<UF::TraitConfig, 32, 33> TraitConfigs;
DynamicUpdateField<UF::CraftingOrder, 32, 34> CraftingOrders;
DynamicUpdateField<UF::BankTabSettings, 32, 40> AccountBankTabSettings;
UpdateField<ObjectGuid, 32, 47> FarsightObject;
UpdateField<ObjectGuid, 32, 48> SummonedBattlePetGUID;
UpdateField<uint64, 32, 49> Coinage;
UpdateField<uint64, 32, 50> AccountBankCoinage;
UpdateField<int32, 32, 51> XP;
UpdateField<int32, 32, 52> NextLevelXP;
UpdateField<int32, 32, 53> TrialXP;
UpdateField<UF::SkillInfo, 32, 54> Skill;
UpdateField<int32, 32, 55> CharacterPoints;
UpdateField<int32, 32, 56> MaxTalentTiers;
UpdateField<uint32, 32, 57> TrackCreatureMask;
UpdateField<float, 32, 58> MainhandExpertise;
UpdateField<float, 32, 59> OffhandExpertise;
UpdateField<float, 32, 60> RangedExpertise;
UpdateField<float, 32, 61> CombatRatingExpertise;
UpdateField<float, 32, 62> BlockPercentage;
UpdateField<float, 32, 63> DodgePercentage;
UpdateField<float, 32, 64> DodgePercentageFromAttribute;
UpdateField<float, 32, 65> ParryPercentage;
UpdateField<float, 32, 66> ParryPercentageFromAttribute;
UpdateField<float, 32, 67> CritPercentage;
UpdateField<float, 32, 68> RangedCritPercentage;
UpdateField<float, 32, 69> OffhandCritPercentage;
UpdateField<float, 70, 71> SpellCritPercentage;
UpdateField<int32, 70, 72> ShieldBlock;
UpdateField<float, 70, 73> ShieldBlockCritPercentage;
UpdateField<float, 70, 74> Mastery;
UpdateField<float, 70, 75> Speed;
UpdateField<float, 70, 76> Avoidance;
UpdateField<float, 70, 77> Sturdiness;
UpdateField<int32, 70, 78> Versatility;
UpdateField<float, 70, 79> VersatilityBonus;
UpdateField<float, 70, 80> PvpPowerDamage;
UpdateField<float, 70, 81> PvpPowerHealing;
UpdateField<UF::BitVectors, 70, 82> BitVectors;
UpdateField<int32, 70, 83> ModHealingDonePos;
UpdateField<float, 70, 84> ModHealingPercent;
UpdateField<float, 70, 85> ModPeriodicHealingDonePercent;
UpdateField<float, 70, 86> ModSpellPowerPercent;
UpdateField<float, 70, 87> ModResiliencePercent;
UpdateField<float, 70, 88> OverrideSpellPowerByAPPercent;
UpdateField<float, 70, 89> OverrideAPBySpellPowerPercent;
UpdateField<int32, 70, 90> ModTargetResistance;
UpdateField<int32, 70, 91> ModTargetPhysicalResistance;
UpdateField<uint32, 70, 92> LocalFlags;
UpdateField<uint8, 70, 93> GrantableLevels;
UpdateField<uint8, 70, 94> MultiActionBars;
UpdateField<uint8, 70, 95> LifetimeMaxRank;
UpdateField<uint8, 70, 96> NumRespecs;
UpdateField<uint32, 70, 97> PvpMedals;
UpdateField<uint16, 70, 98> TodayHonorableKills;
UpdateField<uint16, 70, 99> YesterdayHonorableKills;
UpdateField<uint32, 70, 100> LifetimeHonorableKills;
UpdateField<int32, 70, 101> WatchedFactionIndex;
UpdateField<int32, 102, 103> MaxLevel;
UpdateField<int32, 102, 104> ScalingPlayerLevelDelta;
UpdateField<int32, 102, 105> MaxCreatureScalingLevel;
UpdateField<int32, 102, 106> PetSpellPower;
UpdateField<float, 102, 107> UiHitModifier;
UpdateField<float, 102, 108> UiSpellHitModifier;
UpdateField<int32, 102, 109> HomeRealmTimeOffset;
UpdateField<float, 102, 110> ModPetHaste;
UpdateField<int8, 102, 111> JailersTowerLevelMax;
UpdateField<int8, 102, 112> JailersTowerLevel;
UpdateField<uint8, 102, 113> LocalRegenFlags;
UpdateField<uint8, 102, 114> AuraVision;
UpdateField<uint8, 102, 115> NumBackpackSlots;
UpdateField<int32, 102, 116> OverrideSpellsID;
UpdateField<uint16, 102, 117> LootSpecID;
UpdateField<uint32, 102, 118> OverrideZonePVPType;
UpdateField<int32, 102, 119> Honor;
UpdateField<int32, 102, 120> HonorNextLevel;
UpdateField<int32, 102, 121> PerksProgramCurrency;
UpdateField<uint8, 102, 122> NumBankSlots;
UpdateField<uint8, 102, 123> NumAccountBankTabs;
UpdateField<UF::ResearchHistory, 102, 124> ResearchHistory;
UpdateField<WorldPackets::PerksProgram::PerksVendorItem, 102, 125> FrozenPerksVendorItem;
UpdateField<UF::ActivePlayerUnk901, 102, 127> Field_1410;
OptionalUpdateField<UF::QuestSession, 102, 126> QuestSession;
UpdateField<int32, 102, 128> UiChromieTimeExpansionID;
UpdateField<int32, 102, 129> TimerunningSeasonID;
UpdateField<int32, 102, 130> TransportServerTime;
UpdateField<uint32, 102, 131> WeeklyRewardsPeriodSinceOrigin; // week count since Cfg_RegionsEntry::ChallengeOrigin
UpdateField<int16, 102, 132> DEBUGSoulbindConduitRank;
UpdateField<WorldPackets::MythicPlus::DungeonScoreData, 102, 133> DungeonScore;
UpdateField<uint32, 134, 135> ActiveCombatTraitConfigID;
UpdateField<int32, 134, 136> ItemUpgradeHighOnehandWeaponItemID;
UpdateField<int32, 134, 137> ItemUpgradeHighFingerItemID;
UpdateField<float, 134, 138> ItemUpgradeHighFingerWatermark;
UpdateField<int32, 134, 139> ItemUpgradeHighTrinketItemID;
UpdateField<float, 134, 140> ItemUpgradeHighTrinketWatermark;
UpdateField<uint64, 134, 141> LootHistoryInstanceID;
OptionalUpdateField<UF::StableInfo, 134, 142> PetStable;
UpdateField<uint8, 134, 143> RequiredMountCapabilityFlags;
OptionalUpdateField<UF::WalkInData, 134, 144> WalkInData;
OptionalUpdateField<UF::DelveData, 134, 145> DelveData;
UpdateFieldArray<ObjectGuid, 232, 146, 147> InvSlots;
UpdateFieldArray<UF::RestInfo, 2, 379, 380> RestInfo;
UpdateFieldArray<int32, 7, 382, 383> ModDamageDonePos;
UpdateFieldArray<int32, 7, 382, 390> ModDamageDoneNeg;
UpdateFieldArray<float, 7, 382, 397> ModDamageDonePercent;
UpdateFieldArray<float, 7, 382, 404> ModHealingDonePercent;
UpdateFieldArray<float, 3, 411, 412> WeaponDmgMultipliers;
UpdateFieldArray<float, 3, 411, 415> WeaponAtkSpeedMultipliers;
UpdateFieldArray<uint32, 12, 418, 419> BuybackPrice;
UpdateFieldArray<int64, 12, 418, 431> BuybackTimestamp;
UpdateFieldArray<int32, 32, 443, 444> CombatRatings;
UpdateFieldArray<uint32, 4, 476, 477> NoReagentCostMask;
UpdateFieldArray<int32, 2, 481, 482> ProfessionSkillLine;
UpdateFieldArray<uint32, 5, 484, 485> BagSlotFlags;
UpdateFieldArray<uint32, 7, 490, 491> BankBagSlotFlags;
UpdateFieldArray<float, 17, 498, 499> ItemUpgradeHighWatermark;
DynamicUpdateField<UF::CharacterRestriction, 0, 24> CharacterRestrictions;
DynamicUpdateField<UF::TraitConfig, 32, 34> TraitConfigs;
DynamicUpdateField<UF::CraftingOrder, 32, 35> CraftingOrders;
DynamicUpdateField<UF::BankTabSettings, 32, 41> AccountBankTabSettings;
UpdateField<ObjectGuid, 32, 48> FarsightObject;
UpdateField<ObjectGuid, 32, 49> SummonedBattlePetGUID;
UpdateField<uint64, 32, 50> Coinage;
UpdateField<uint64, 32, 51> AccountBankCoinage;
UpdateField<int32, 32, 52> XP;
UpdateField<int32, 32, 53> NextLevelXP;
UpdateField<int32, 32, 54> TrialXP;
UpdateField<UF::SkillInfo, 32, 55> Skill;
UpdateField<int32, 32, 56> CharacterPoints;
UpdateField<int32, 32, 57> MaxTalentTiers;
UpdateField<uint32, 32, 58> TrackCreatureMask;
UpdateField<float, 32, 59> MainhandExpertise;
UpdateField<float, 32, 60> OffhandExpertise;
UpdateField<float, 32, 61> RangedExpertise;
UpdateField<float, 32, 62> CombatRatingExpertise;
UpdateField<float, 32, 63> BlockPercentage;
UpdateField<float, 32, 64> DodgePercentage;
UpdateField<float, 32, 65> DodgePercentageFromAttribute;
UpdateField<float, 32, 66> ParryPercentage;
UpdateField<float, 32, 67> ParryPercentageFromAttribute;
UpdateField<float, 32, 68> CritPercentage;
UpdateField<float, 32, 69> RangedCritPercentage;
UpdateField<float, 70, 71> OffhandCritPercentage;
UpdateField<float, 70, 72> SpellCritPercentage;
UpdateField<int32, 70, 73> ShieldBlock;
UpdateField<float, 70, 74> ShieldBlockCritPercentage;
UpdateField<float, 70, 75> Mastery;
UpdateField<float, 70, 76> Speed;
UpdateField<float, 70, 77> Avoidance;
UpdateField<float, 70, 78> Sturdiness;
UpdateField<int32, 70, 79> Versatility;
UpdateField<float, 70, 80> VersatilityBonus;
UpdateField<float, 70, 81> PvpPowerDamage;
UpdateField<float, 70, 82> PvpPowerHealing;
UpdateField<UF::BitVectors, 70, 83> BitVectors;
UpdateField<int32, 70, 84> ModHealingDonePos;
UpdateField<float, 70, 85> ModHealingPercent;
UpdateField<float, 70, 86> ModPeriodicHealingDonePercent;
UpdateField<float, 70, 87> ModSpellPowerPercent;
UpdateField<float, 70, 88> ModResiliencePercent;
UpdateField<float, 70, 89> OverrideSpellPowerByAPPercent;
UpdateField<float, 70, 90> OverrideAPBySpellPowerPercent;
UpdateField<int32, 70, 91> ModTargetResistance;
UpdateField<int32, 70, 92> ModTargetPhysicalResistance;
UpdateField<uint32, 70, 93> LocalFlags;
UpdateField<uint8, 70, 94> GrantableLevels;
UpdateField<uint8, 70, 95> MultiActionBars;
UpdateField<uint8, 70, 96> LifetimeMaxRank;
UpdateField<uint8, 70, 97> NumRespecs;
UpdateField<uint32, 70, 98> PvpMedals;
UpdateField<uint16, 70, 99> TodayHonorableKills;
UpdateField<uint16, 70, 100> YesterdayHonorableKills;
UpdateField<uint32, 70, 101> LifetimeHonorableKills;
UpdateField<int32, 102, 103> WatchedFactionIndex;
UpdateField<int32, 102, 104> MaxLevel;
UpdateField<int32, 102, 105> ScalingPlayerLevelDelta;
UpdateField<int32, 102, 106> MaxCreatureScalingLevel;
UpdateField<int32, 102, 107> PetSpellPower;
UpdateField<float, 102, 108> UiHitModifier;
UpdateField<float, 102, 109> UiSpellHitModifier;
UpdateField<int32, 102, 110> HomeRealmTimeOffset;
UpdateField<float, 102, 111> ModPetHaste;
UpdateField<int8, 102, 112> JailersTowerLevelMax;
UpdateField<int8, 102, 113> JailersTowerLevel;
UpdateField<uint8, 102, 114> LocalRegenFlags;
UpdateField<uint8, 102, 115> AuraVision;
UpdateField<uint8, 102, 116> NumBackpackSlots;
UpdateField<int32, 102, 117> OverrideSpellsID;
UpdateField<uint16, 102, 118> LootSpecID;
UpdateField<uint32, 102, 119> OverrideZonePVPType;
UpdateField<int32, 102, 120> Honor;
UpdateField<int32, 102, 121> HonorNextLevel;
UpdateField<int32, 102, 122> PerksProgramCurrency;
UpdateField<uint8, 102, 123> NumBankSlots;
UpdateField<uint8, 102, 124> NumAccountBankTabs;
UpdateField<UF::ResearchHistory, 102, 125> ResearchHistory;
UpdateField<WorldPackets::PerksProgram::PerksVendorItem, 102, 126> FrozenPerksVendorItem;
UpdateField<UF::ActivePlayerUnk901, 102, 128> Field_1410;
OptionalUpdateField<UF::QuestSession, 102, 127> QuestSession;
UpdateField<int32, 102, 129> UiChromieTimeExpansionID;
UpdateField<int32, 102, 130> TimerunningSeasonID;
UpdateField<int32, 102, 131> TransportServerTime;
UpdateField<uint32, 102, 132> WeeklyRewardsPeriodSinceOrigin; // week count since Cfg_RegionsEntry::ChallengeOrigin
UpdateField<int16, 102, 133> DEBUGSoulbindConduitRank;
UpdateField<WorldPackets::MythicPlus::DungeonScoreData, 134, 135> DungeonScore;
UpdateField<uint32, 134, 136> ActiveCombatTraitConfigID;
UpdateField<int32, 134, 137> ItemUpgradeHighOnehandWeaponItemID;
UpdateField<int32, 134, 138> ItemUpgradeHighFingerItemID;
UpdateField<float, 134, 139> ItemUpgradeHighFingerWatermark;
UpdateField<int32, 134, 140> ItemUpgradeHighTrinketItemID;
UpdateField<float, 134, 141> ItemUpgradeHighTrinketWatermark;
UpdateField<uint64, 134, 142> LootHistoryInstanceID;
OptionalUpdateField<UF::StableInfo, 134, 143> PetStable;
UpdateField<uint8, 134, 144> RequiredMountCapabilityFlags;
OptionalUpdateField<UF::WalkInData, 134, 145> WalkInData;
OptionalUpdateField<UF::DelveData, 134, 146> DelveData;
UpdateFieldArray<ObjectGuid, 232, 147, 148> InvSlots;
UpdateFieldArray<UF::RestInfo, 2, 380, 381> RestInfo;
UpdateFieldArray<int32, 7, 383, 384> ModDamageDonePos;
UpdateFieldArray<int32, 7, 383, 391> ModDamageDoneNeg;
UpdateFieldArray<float, 7, 383, 398> ModDamageDonePercent;
UpdateFieldArray<float, 7, 383, 405> ModHealingDonePercent;
UpdateFieldArray<float, 3, 412, 413> WeaponDmgMultipliers;
UpdateFieldArray<float, 3, 412, 416> WeaponAtkSpeedMultipliers;
UpdateFieldArray<uint32, 12, 419, 420> BuybackPrice;
UpdateFieldArray<int64, 12, 419, 432> BuybackTimestamp;
UpdateFieldArray<int32, 32, 444, 445> CombatRatings;
UpdateFieldArray<uint32, 4, 477, 478> NoReagentCostMask;
UpdateFieldArray<int32, 2, 482, 483> ProfessionSkillLine;
UpdateFieldArray<uint32, 5, 485, 486> BagSlotFlags;
UpdateFieldArray<uint32, 7, 491, 492> BankBagSlotFlags;
UpdateFieldArray<float, 17, 499, 500> ItemUpgradeHighWatermark;
void WriteCreate(ByteBuffer& data, EnumFlag<UpdateFieldFlag> fieldVisibilityFlags, Player const* owner, Player const* receiver) const;
void WriteUpdate(ByteBuffer& data, EnumFlag<UpdateFieldFlag> fieldVisibilityFlags, Player const* owner, Player const* receiver) const;