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

Merge pull request #556 from BiscuitUmU/develop

Document world visit list packet
This commit is contained in:
Mordred 2019-04-28 16:54:18 +02:00 committed by GitHub
commit d3320f7a10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 0 deletions

View file

@ -74,6 +74,9 @@ namespace Sapphire::Network::Packets
CancelAllianceForming = 0x00C6, // updated 4.2 CancelAllianceForming = 0x00C6, // updated 4.2
Chat = 0x00F7, // updated 4.5? Chat = 0x00F7, // updated 4.5?
WorldVisitList = 0x00FE, // added 4.5
SocialList = 0x0103, // updated 4.5 SocialList = 0x0103, // updated 4.5
UpdateSearchInfo = 0x0106, // updated 4.5 UpdateSearchInfo = 0x0106, // updated 4.5

View file

@ -52,6 +52,19 @@ namespace Sapphire::Network::Packets::Server
// client doesn't care about the data (zero sized) for this opcode anyway. // client doesn't care about the data (zero sized) for this opcode anyway.
}; };
/**
* Structural representation of the packet sent by the server
* to show a list of worlds for world visit
*/
struct FFXIVIpcWorldVisitList : FFXIVIpcBasePacket< WorldVisitList >
{
struct worldEntry
{
uint16_t id; // this is the id of the world from lobby
uint16_t status; // 1 = available (this is what retail sends) | 2+ = unavailable (this will need to be checked with retail if it's exactly 2 or not since it does not actually lock the option)
} world[16];
};
/** /**
* Structural representation of the packet sent by the server * Structural representation of the packet sent by the server
* carrying chat messages * carrying chat messages