mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 14:57:44 +00:00
Add level1 to setCLassJob.
This commit is contained in:
parent
ddae03382a
commit
679686e6ff
2 changed files with 3 additions and 3 deletions
|
@ -1000,8 +1000,8 @@ struct FFXIVIpcPlayerClassInfo :
|
||||||
uint16_t classId;
|
uint16_t classId;
|
||||||
uint8_t unknown;
|
uint8_t unknown;
|
||||||
uint8_t isSpecialist;
|
uint8_t isSpecialist;
|
||||||
uint16_t level; // Locks actions, equipment, prob more
|
uint16_t level; // Locks actions, equipment, prob more. Player's current level (synced).
|
||||||
uint16_t level1; // Locks roles, prob more
|
uint16_t level1; // Locks roles, prob more. Player's actual unsynced level.
|
||||||
uint32_t roleActions[10];
|
uint32_t roleActions[10];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -746,6 +746,7 @@ void Core::Entity::Player::setClassJob( Common::ClassJob classJob )
|
||||||
|
|
||||||
auto classInfoPacket = makeZonePacket< FFXIVIpcPlayerClassInfo >( getId() );
|
auto classInfoPacket = makeZonePacket< FFXIVIpcPlayerClassInfo >( getId() );
|
||||||
classInfoPacket->data().classId = static_cast< uint8_t >( getClass() );
|
classInfoPacket->data().classId = static_cast< uint8_t >( getClass() );
|
||||||
|
classInfoPacket->data().level1 = getLevel();
|
||||||
classInfoPacket->data().level = getLevel();
|
classInfoPacket->data().level = getLevel();
|
||||||
queuePacket( classInfoPacket );
|
queuePacket( classInfoPacket );
|
||||||
|
|
||||||
|
@ -1733,4 +1734,3 @@ bool Core::Entity::Player::isOnEnterEventDone() const
|
||||||
{
|
{
|
||||||
return m_onEnterEventDone;
|
return m_onEnterEventDone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue