Skip to content

Commit b026060

Browse files
committed
Add CMSG_HOUSING_DECOR_MOVE_DECOR parser and rename DecorID to CatalogEntryID
1 parent 5b2d1d6 commit b026060

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

WowPacketParserModule.V11_0_0_55666/Parsers/HousingHandler.cs

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,26 @@ public static void HousingDecorCommitDyesForSelection(Packet packet)
2222
packet.ReadInt32("DyeColorID", i);
2323
}
2424
}
25+
26+
[Parser(Opcode.CMSG_HOUSING_DECOR_MOVE_DECOR)]
27+
public static void HandleHousingDecorMove(Packet packet)
28+
{
29+
packet.ReadPackedGuid128("DecorGUID");
30+
packet.ReadVector3("Position");
31+
packet.ReadQuaternion("Rotation");
32+
packet.ReadByte("UnkByte");
33+
packet.ReadByte("UnkByte");
34+
packet.ReadPackedGuid128("AttachParentGUID");
35+
packet.ReadByte("UnkByte");
36+
packet.ReadByte("UnkByte");
37+
packet.ReadByte("UnkByte");
38+
packet.ReadByte("UnkByte");
39+
packet.ReadByte("UnkByte");
40+
packet.ReadByte("UnkByte");
41+
packet.ReadByte("UnkByte");
42+
packet.ReadByte("UnkByte");
43+
packet.ReadByte("UnkByte");
44+
}
2545

2646
[Parser(Opcode.CMSG_HOUSING_DECOR_REMOVE_PLACED_DECOR_ENTRY)]
2747
public static void HousingDecorRemovePlacedEntry(Packet packet)
@@ -39,7 +59,7 @@ public static void HousingDecorSelect(Packet packet)
3959
[Parser(Opcode.CMSG_HOUSING_DECOR_START_PLACING_NEW_DECOR)]
4060
public static void HousingDecorStartPlacing(Packet packet)
4161
{
42-
packet.ReadUInt32("DecorID");
62+
packet.ReadUInt32("CatalogEntryID");
4363
packet.ReadUInt32("Field_4");
4464
}
4565

0 commit comments

Comments
 (0)