1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-31 13:37:45 +00:00

Adding ActorControl 20F packet def

This commit is contained in:
Flavien Normand 2019-10-08 21:26:27 +02:00 committed by GitHub
parent 67e3cb318d
commit c7baa29d9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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