1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-01 16:37:45 +00:00

Basic title list handling;

This commit is contained in:
Maru 2017-10-06 20:40:27 -03:00
parent 893e78d16b
commit 1c4392cc0a
3 changed files with 20 additions and 1 deletions

View file

@ -114,6 +114,7 @@ namespace Packets {
ActorFreeSpawn = 0x0191, // unchanged for sb
InitZone = 0x019A, // unchanged for sb
WeatherChange = 0x01AF, // updated for sb
PlayerTitleList = 0x01B1, // updated for 4.06
Discovery = 0x01B2, // updated for sb
EorzeaTimeOffset = 0x01B4,

View file

@ -638,7 +638,15 @@ struct FFXIVIpcUpdateClassInfo : FFXIVIpcBasePacket<UpdateClassInfo>
uint32_t currentExp;
uint32_t restedExp;
};
/**
* Structural representation of the packet sent by the server
* to send the titles available to the player
*/
struct FFXIVIpcPlayerTitleList : FFXIVIpcBasePacket<PlayerTitleList>
{
char padding;
uint32_t bitmask;
};
/**
* Structural representation of the packet sent by the server

View file

@ -118,6 +118,16 @@ void Core::Network::GameConnection::actionHandler( const Packets::GamePacket& in
pPlayer->getCurrentAction()->setInterrupted();
break;
}
case 0x12F: // Get title list
{
g_log.debug( "for real" );
/*
GamePacketNew< FFXIVIpcPlayerTitleList, ServerZoneIpcType > titleListPacket( pPlayer->getId() );
titleListPacket.data().bitmask = 0;
titleListPacket.data().bitmask |= 1;
pPlayer->queuePacket( titleListPacket );
*/
}
case 0x133: // Update howtos seen
{
uint32_t howToId = static_cast< uint32_t >( param1 );