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

Document world visit packet

This commit is contained in:
Biscuit 2019-04-26 17:47:59 +10:00
parent b6a9e41cbd
commit 4024168749
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