mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 06:27:45 +00:00
These should be the only references.
This commit is contained in:
parent
da89793d56
commit
d728ecdaf4
2 changed files with 6 additions and 6 deletions
|
@ -1000,8 +1000,8 @@ struct FFXIVIpcPlayerClassInfo :
|
|||
uint16_t classId;
|
||||
uint8_t unknown;
|
||||
uint8_t isSpecialist;
|
||||
uint16_t level; // Locks actions, equipment, prob more. Player's current level (synced).
|
||||
uint16_t level1; // Locks roles, prob more. Player's actual unsynced level.
|
||||
uint16_t syncedLevel; // Locks actions, equipment, prob more. Player's current level (synced).
|
||||
uint16_t classLevel; // Locks roles, prob more. Player's actual unsynced level.
|
||||
uint32_t roleActions[10];
|
||||
};
|
||||
|
||||
|
|
|
@ -746,8 +746,8 @@ void Core::Entity::Player::setClassJob( Common::ClassJob classJob )
|
|||
|
||||
auto classInfoPacket = makeZonePacket< FFXIVIpcPlayerClassInfo >( getId() );
|
||||
classInfoPacket->data().classId = static_cast< uint8_t >( getClass() );
|
||||
classInfoPacket->data().level1 = getLevel();
|
||||
classInfoPacket->data().level = getLevel();
|
||||
classInfoPacket->data().classLevel = getLevel();
|
||||
classInfoPacket->data().syncedLevel = getLevel();
|
||||
queuePacket( classInfoPacket );
|
||||
|
||||
sendToInRangeSet( makeActorControl142( getId(), ClassJobChange, 0x04 ), true );
|
||||
|
@ -1551,8 +1551,8 @@ void Core::Entity::Player::sendZonePackets()
|
|||
auto classInfoPacket = makeZonePacket< FFXIVIpcPlayerClassInfo >( getId() );
|
||||
classInfoPacket->data().classId = static_cast< uint8_t >( getClass() );
|
||||
classInfoPacket->data().unknown = 1;
|
||||
classInfoPacket->data().level = getLevel();
|
||||
classInfoPacket->data().level1 = getLevel();
|
||||
classInfoPacket->data().syncedLevel = getLevel();
|
||||
classInfoPacket->data().classLevel = getLevel();
|
||||
queuePacket( classInfoPacket );
|
||||
|
||||
m_itemLevel = calculateEquippedGearItemLevel();
|
||||
|
|
Loading…
Add table
Reference in a new issue