From b09341a4c6dfdfcba47e4278621b478a94d0f08f Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 22 Mar 2024 16:05:27 +0100 Subject: [PATCH] Name new 10.2.6 player field --- .../Parsers/UpdateFieldsHandler1026.cs | 4 ++-- .../UpdateFields/V10_2_6_53840/PlayerData.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/WowPacketParserModule.V10_0_0_46181/Parsers/UpdateFieldsHandler1026.cs b/WowPacketParserModule.V10_0_0_46181/Parsers/UpdateFieldsHandler1026.cs index 4cf8a8a05c..539d1e3899 100644 --- a/WowPacketParserModule.V10_0_0_46181/Parsers/UpdateFieldsHandler1026.cs +++ b/WowPacketParserModule.V10_0_0_46181/Parsers/UpdateFieldsHandler1026.cs @@ -1968,7 +1968,7 @@ public override IPlayerData ReadCreatePlayerData(Packet packet, UpdateFieldFlag data.CtrOptions = ReadCreateCTROptions(packet, indexes, "CtrOptions"); data.CovenantID = packet.ReadInt32("CovenantID", indexes); data.SoulbindID = packet.ReadInt32("SoulbindID", indexes); - data.Field_1F0 = packet.ReadPackedGuid128("Field_1F0", indexes); + data.SpectateTarget = packet.ReadPackedGuid128("SpectateTarget", indexes); data.Field_200 = packet.ReadInt32("Field_200", indexes); data.VisualItemReplacements.Resize(packet.ReadUInt32()); for (var i = 0; i < 19; ++i) @@ -2247,7 +2247,7 @@ public override IPlayerData ReadUpdatePlayerData(Packet packet, params object[] } if (changesMask[41]) { - data.Field_1F0 = packet.ReadPackedGuid128("Field_1F0", indexes); + data.SpectateTarget = packet.ReadPackedGuid128("SpectateTarget", indexes); } if (changesMask[42]) { diff --git a/WowPacketParserModule.V10_0_0_46181/UpdateFields/V10_2_6_53840/PlayerData.cs b/WowPacketParserModule.V10_0_0_46181/UpdateFields/V10_2_6_53840/PlayerData.cs index 842a68cf38..e6e3c2ea3a 100644 --- a/WowPacketParserModule.V10_0_0_46181/UpdateFields/V10_2_6_53840/PlayerData.cs +++ b/WowPacketParserModule.V10_0_0_46181/UpdateFields/V10_2_6_53840/PlayerData.cs @@ -42,7 +42,7 @@ public class PlayerData : IPlayerData public ICTROptions CtrOptions { get; set; } public System.Nullable CovenantID { get; set; } public System.Nullable SoulbindID { get; set; } - public WowGuid Field_1F0 { get; set; } + public WowGuid SpectateTarget { get; set; } public System.Nullable Field_200 { get; set; } public ItemInstance[] VisibleEquipableSpells { get; } = new ItemInstance[16]; public System.Nullable[] Field_3120 { get; } = new System.Nullable[19];