diff --git a/src/common/Network/PacketDef/Ipcs.h b/src/common/Network/PacketDef/Ipcs.h index e1f379ca..c06c962b 100644 --- a/src/common/Network/PacketDef/Ipcs.h +++ b/src/common/Network/PacketDef/Ipcs.h @@ -372,7 +372,7 @@ namespace Sapphire::Network::Packets SetSharedEstateSettings = 0x017B, // updated 5.0 - UpdatePositionInstance = 0x0180, // updated 5.0 + UpdatePositionInstance = 0x0080, // updated 5.21 hotfix PerformNoteHandler = 0x029B, // updated 4.3 diff --git a/src/common/Network/PacketDef/Zone/ClientZoneDef.h b/src/common/Network/PacketDef/Zone/ClientZoneDef.h index d486ee42..bf698237 100644 --- a/src/common/Network/PacketDef/Zone/ClientZoneDef.h +++ b/src/common/Network/PacketDef/Zone/ClientZoneDef.h @@ -56,6 +56,17 @@ struct FFXIVIpcUpdatePosition : /* 0008 */ Common::FFXIVARR_POSITION3 position; /* 000C */ uint8_t unk[ 4 ]; // padding? }; + + struct FFXIVIpcUpdatePositionInstance : + FFXIVIpcBasePacket< UpdatePositionInstance > +{ + /* 0000 */ float rotation; + /* 0004 */ float interpolateRotation; + /* 0008 */ uint32_t flags; + /* 000C */ Common::FFXIVARR_POSITION3 position; + /* 0018 */ Common::FFXIVARR_POSITION3 interpolatePosition; + /* 0024 */ uint32_t unknown; +}; struct FFXIVIpcSkillHandler :