1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 14:37:44 +00:00

further corrections and documentation

This commit is contained in:
karashiiro 2019-08-07 21:42:38 -07:00
parent a58c82f83d
commit 671ae90bec
3 changed files with 32 additions and 17 deletions

View file

@ -29,6 +29,36 @@ struct FFXIVIpcTellErrNotFound : FFXIVIpcBasePacket< TellErrNotFound >
char receipientName[32]; 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 */ } /* Sapphire::Common::Network::Packets::Server */

View file

@ -101,7 +101,6 @@ namespace Sapphire::Network::Packets
MailDeleteRequest = 0x012B, // updated 5.0 MailDeleteRequest = 0x012B, // updated 5.0
FreeCompanyEvent = 0x012C, // added 5.0
// 12D - 137 - constant gap between 4.5x -> 5.0 // 12D - 137 - constant gap between 4.5x -> 5.0
ReqMoogleMailList = 0x0138, // updated 5.0 ReqMoogleMailList = 0x0138, // updated 5.0
ReqMoogleMailLetter = 0x0139, // updated 5.0 ReqMoogleMailLetter = 0x0139, // updated 5.0
@ -374,6 +373,8 @@ namespace Sapphire::Network::Packets
{ {
Tell = 0x0064, // updated for sb Tell = 0x0064, // updated for sb
TellErrNotFound = 0x0066, TellErrNotFound = 0x0066,
FreeCompanyEvent = 0x012C, // added 5.0
}; };
/** /**

View file

@ -247,22 +247,6 @@ namespace Sapphire::Network::Packets::Server
} entry[8]; } entry[8];
}; };
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 fcName[46];
char characterName[32];
};
/** /**
* Structural representation of the packet sent by the server * Structural representation of the packet sent by the server
* to send a list of mail the player has * to send a list of mail the player has