From c7baa29d9cbdb27588d81bddff196d243e3b6a61 Mon Sep 17 00:00:00 2001 From: Flavien Normand Date: Tue, 8 Oct 2019 21:26:27 +0200 Subject: [PATCH] Adding ActorControl 20F packet def --- .../Network/PacketDef/Zone/ServerZoneDef.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/common/Network/PacketDef/Zone/ServerZoneDef.h b/src/common/Network/PacketDef/Zone/ServerZoneDef.h index 57ff4756..da2228eb 100644 --- a/src/common/Network/PacketDef/Zone/ServerZoneDef.h +++ b/src/common/Network/PacketDef/Zone/ServerZoneDef.h @@ -511,6 +511,23 @@ namespace Sapphire::Network::Packets::Server /* 0018 */ uint64_t targetId; }; + /** + * Structural representation of the packet sent by the server + * to update certain player details / status + */ + struct FFXIVIpcActorControl20F : FFXIVIpcBasePacket< ActorControl20F > + { + /* 0000 */ uint16_t category; + /* 0002 */ uint16_t padding; + /* 0004 */ uint32_t resultType; // 4321 => item used, 4922 => item obtained, 4925 => exp obtained + /* 0008 */ uint32_t param2; + /* 000C */ uint32_t itemId; + /* 0010 */ uint32_t param4; + /* 0014 */ uint32_t expGained; + /* 0018 */ uint32_t param6; + /* 0018 */ uint32_t padding1; + }; + /** * Structural representation of the packet sent by the server * to update HP / MP / TP