mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 06:27:45 +00:00
Merge pull request #18 from Minoost/matchmaking
Unlock all duty finder contents on login
This commit is contained in:
commit
e38c0aa1f7
1 changed files with 10 additions and 2 deletions
|
@ -384,6 +384,14 @@ void Core::Entity::Player::setZone( uint32_t zoneId )
|
||||||
// only initialize the UI if the player in fact just logged in.
|
// only initialize the UI if the player in fact just logged in.
|
||||||
if( isLogin() )
|
if( isLogin() )
|
||||||
{
|
{
|
||||||
|
GamePacketNew< FFXIVIpcCFAvailableContents > contentFinderList( getId() );
|
||||||
|
for( auto i = 0; i < 72; i++ )
|
||||||
|
{
|
||||||
|
// unlock all contents for now
|
||||||
|
contentFinderList.data().contents[i] = 0xFF;
|
||||||
|
}
|
||||||
|
queuePacket( contentFinderList );
|
||||||
|
|
||||||
Server::InitUIPacket initUIPacket( pPlayer );
|
Server::InitUIPacket initUIPacket( pPlayer );
|
||||||
queuePacket( initUIPacket );
|
queuePacket( initUIPacket );
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue