1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-28 23:27:45 +00:00

Added HuntingLog Packet

This commit is contained in:
Mordred 2019-03-24 16:08:08 +01:00
parent b79bae8513
commit 4da62584cd
2 changed files with 16 additions and 0 deletions

View file

@ -155,6 +155,8 @@ namespace Sapphire::Network::Packets
InventoryActionAck = 0x019D, // updated 4.5
UpdateInventorySlot = 0x019E, // updated 4.5
HuntingLogEntry = 0x01A9, // added 4.5
EventPlay = 0x01AB, // updated 4.5
DirectorPlayScene = 0x01AF, // updated 4.5
EventOpenGilShop = 0x01B2, // updated 4.5

View file

@ -1228,6 +1228,20 @@ struct FFXIVIpcEventStart :
/* 0014 */ uint32_t padding1;
};
/**
* Structural representation of the packet sent by the server
* to fill a huntin log entry
*/
struct FFXIVIpcHuntingLogEntry : FFXIVIpcBasePacket< HuntingLogEntry >
{
int32_t u0; // -1 for all normal classes
uint8_t rank; // starting from 0
uint8_t index; // classes and gcs
uint8_t entries[10][4];
uint16_t pad;
uint64_t completeFlags; // 4 bit for each potential entry and the 5th bit for completion of the section
uint64_t pad1;
};
/**
* Structural representation of the packet sent by the server