1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-28 15:17:46 +00:00

Merge pull request #573 from karashiiro/develop

added more FC opcodes and packet structures
This commit is contained in:
Adam 2019-08-09 17:30:06 +10:00 committed by GitHub
commit 91497e8ab2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 57 additions and 0 deletions

View file

@ -29,6 +29,36 @@ struct FFXIVIpcTellErrNotFound : FFXIVIpcBasePacket< TellErrNotFound >
char receipientName[32];
};
struct FFXIVIpcFreeCompanyEvent : FFXIVIpcBasePacket< FreeCompanyEvent >
{
uint16_t unknown;
uint16_t unknown1;
uint16_t unknown2;
uint16_t unknown3;
uint16_t unknown4;
char padding[6];
uint8_t eventID;
/*
* 0x0F Login
* 0x10 Logout
*/
uint8_t padding1;
char padding2[6];
uint16_t unknown5;
char parameter[46];
/**
* eventID | parameter usage
* 0x0F FC name
* 0x10 FC name
*/
char parameter1[32];
/**
* eventID | parameter1 usage
* 0x0F Character name
* 0x10 Character name
*/
};
} /* Sapphire::Common::Network::Packets::Server */

View file

@ -100,6 +100,7 @@ namespace Sapphire::Network::Packets
LinkshellList = 0x012A, // updated 5.0
MailDeleteRequest = 0x012B, // updated 5.0
// 12D - 137 - constant gap between 4.5x -> 5.0
ReqMoogleMailList = 0x0138, // updated 5.0
ReqMoogleMailLetter = 0x0139, // updated 5.0
@ -115,6 +116,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 +307,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
@ -368,6 +373,8 @@ namespace Sapphire::Network::Packets
{
Tell = 0x0064, // updated for sb
TellErrNotFound = 0x0066,
FreeCompanyEvent = 0x012C, // added 5.0
};
/**

View file

@ -323,6 +323,16 @@ struct FFXIVIpcMarketBoardRequestItemListingInfo :
/* 0000 */ uint32_t requestId;
};
struct FFXIVIpcFreeCompanyUpdateShortMessageHandler :
FFXIVIpcBasePacket< FreeCompanyUpdateShortMessageHandler >
{
char shortMessage[104];
uint8_t padding;
uint8_t unknown;
uint32_t unknown1;
uint16_t unknown2;
};
}
#endif //_CORE_NETWORK_PACKETS_ZONE_CLIENT_IPC_H

View file

@ -301,6 +301,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;