1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-02 08:57:44 +00:00

added more FC opcodes and packet structures

This commit is contained in:
karashiiro 2019-07-28 17:27:57 -07:00
parent c812824a7c
commit 6e7076372f
3 changed files with 42 additions and 0 deletions

View file

@ -100,6 +100,8 @@ namespace Sapphire::Network::Packets
LinkshellList = 0x012A, // updated 5.0
MailDeleteRequest = 0x012B, // updated 5.0
FreeCompanyMemberLogInOut = 0x012C, // added 5.0
// 12D - 137 - constant gap between 4.5x -> 5.0
ReqMoogleMailList = 0x0138, // updated 5.0
ReqMoogleMailLetter = 0x0139, // updated 5.0
@ -115,6 +117,8 @@ namespace Sapphire::Network::Packets
FreeCompanyInfo = 0x013D, // updated 4.5
ExamineFreeCompanyInfo = 0x013E, // updated 4.5
FreeCompanyUpdateShortMessage = 0x0157, // added 5.0
StatusEffectList = 0x015B, // updated 5.0
EurekaStatusEffectList = 0x015C, // updated 5.0
Effect = 0x015E, // updated 5.0
@ -304,6 +308,8 @@ namespace Sapphire::Network::Packets
FcInfoReqHandler = 0x011A, // updated 4.2
FreeCompanyUpdateShortMessageHandler = 0x0123, // added 5.0
ReqMarketWishList = 0x012C, // updated 4.3
ReqJoinNoviceNetwork = 0x0129, // updated 4.2

View file

@ -323,6 +323,16 @@ struct FFXIVIpcMarketBoardRequestItemListingInfo :
/* 0000 */ uint32_t requestId;
};
struct FFXIVIpcFreeCompanyUpdateShortMessageHandler :
FFXIVIpcBasePacket< FreeCompanyUpdateShortMessageHandler >
{
char shortMessage[104]; // Contains old/gibberish data in remaining slots if not filled
uint8_t padding;
uint8_t unknown;
uint32_t unknown1;
uint16_t unknown2;
};
}
#endif //_CORE_NETWORK_PACKETS_ZONE_CLIENT_IPC_H

View file

@ -247,6 +247,22 @@ namespace Sapphire::Network::Packets::Server
} entry[8];
};
struct FFXIVIpcFreeCompanyMemberLogInOut : FFXIVIpcBasePacket< FreeCompanyMemberLogInOut >
{
uint16_t unknown;
uint16_t unknown1;
uint16_t unknown2;
uint16_t unknown3;
uint16_t unknown4;
char padding[6];
uint8_t status; // 0x0F Login, 0x10 Logout
uint8_t padding1;
char padding2[6];
uint16_t unknown5;
char fc[46];
char character[32];
};
/**
* Structural representation of the packet sent by the server
* to send a list of mail the player has
@ -301,6 +317,16 @@ namespace Sapphire::Network::Packets::Server
uint32_t padding4;
};
struct FFXIVIpcFreeCompanyUpdateShortMessage : FFXIVIpcBasePacket< FreeCompanyUpdateShortMessage >
{
uint32_t unknown;
uint16_t unknown1;
uint16_t unknown2;
uint32_t unknown3;
uint32_t unknown5;
char shortMessage[104];
};
struct FFXIVIpcStatusEffectList : FFXIVIpcBasePacket< StatusEffectList >
{
uint8_t classId;