mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 06:47:45 +00:00
Merge pull request #572 from karashiiro/develop
Added ExamineSearchInfo opcode and packet structure, ID'd CP and GP in PlayerStats packet structure
This commit is contained in:
commit
bf689f2864
3 changed files with 25 additions and 2 deletions
|
@ -24,6 +24,7 @@ namespace Sapphire::Common
|
|||
const uint16_t MAX_PLAYER_LEVEL = 80;
|
||||
const uint8_t CURRENT_EXPANSION_ID = 3;
|
||||
|
||||
const uint8_t CLASSJOB_TOTAL = 38;
|
||||
const uint8_t CLASSJOB_SLOTS = 28;
|
||||
|
||||
/*!
|
||||
|
|
|
@ -81,6 +81,7 @@ namespace Sapphire::Network::Packets
|
|||
|
||||
SocialList = 0x010D, // updated 5.0
|
||||
|
||||
ExamineSearchInfo = 0x010F, // added 5.0
|
||||
UpdateSearchInfo = 0x0110, // updated 5.0
|
||||
InitSearchInfo = 0x0111, // updated 5.0
|
||||
ExamineSearchComment = 0x0102, // updated 4.1
|
||||
|
|
|
@ -120,6 +120,27 @@ namespace Sapphire::Network::Packets::Server
|
|||
PlayerEntry entries[10];
|
||||
};
|
||||
|
||||
struct FFXIVIpcExamineSearchInfo : FFXIVIpcBasePacket< ExamineSearchInfo >
|
||||
{
|
||||
uint32_t unknown;
|
||||
uint16_t unknown1;
|
||||
uint16_t unknown2;
|
||||
char padding[16];
|
||||
uint32_t unknown3;
|
||||
uint16_t unknown4;
|
||||
uint16_t unknown5;
|
||||
uint16_t unknown6;
|
||||
uint8_t worldId;
|
||||
char searchMessage[193];
|
||||
char fcName[24];
|
||||
uint8_t unknown7;
|
||||
uint16_t padding1;
|
||||
struct ClassJobEntry
|
||||
{
|
||||
uint16_t id;
|
||||
uint16_t level;
|
||||
} levelEntries[Common::CLASSJOB_TOTAL];
|
||||
};
|
||||
|
||||
struct FFXIVIpcSetSearchInfo : FFXIVIpcBasePacket< UpdateSearchInfo >
|
||||
{
|
||||
|
@ -955,8 +976,8 @@ namespace Sapphire::Network::Packets::Server
|
|||
uint32_t hp;
|
||||
uint32_t mp;
|
||||
uint32_t tp;
|
||||
uint32_t unknown;
|
||||
uint32_t unknown_1;
|
||||
uint32_t gp; // Set to 10000 as non-gatherer for some reason
|
||||
uint32_t cp;
|
||||
uint32_t unknown_2;
|
||||
uint32_t tenacity;
|
||||
uint32_t attack;
|
||||
|
|
Loading…
Add table
Reference in a new issue