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

Merge pull request #740 from hkAlice/ThreePointOh

add expansionlvl to lobby charlist;
This commit is contained in:
Mordred 2021-12-06 00:12:14 +01:00 committed by GitHub
commit faff95ac09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -72,7 +72,8 @@ struct FFXIVIpcServiceLoginReply : FFXIVIpcBasePacket< ServiceLoginReply >
/// ------------------------
uint16_t maxCreateCharacter;
uint16_t maxCharacterList;
uint64_t unknown8;
uint32_t entitledExpansion;
uint32_t unknown8;
CharacterInfo chrArray[2];
};

View file

@ -194,6 +194,7 @@ void Lobby::GameConnection::serviceLogin( FFXIVARR_PACKET_RAW& packet, uint32_t
{
charListPacket->data().maxCreateCharacter = Common::MAX_CREATE_CHARACTER;
charListPacket->data().maxCharacterList = Common::MAX_CHARACTER_LIST;
charListPacket->data().entitledExpansion = Common::CURRENT_EXPANSION_ID;
charListPacket->data().endOfList = 1;
}