mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-01 08:27:46 +00:00
Fixed PlayerStatusUpdate
This commit is contained in:
parent
05a99c4aa3
commit
a7763366ee
2 changed files with 2 additions and 2 deletions
|
@ -1122,9 +1122,8 @@ namespace Sapphire::Network::Packets::WorldPackets::Server
|
|||
uint8_t ClassJob;
|
||||
uint8_t __padding1;
|
||||
uint16_t Lv;
|
||||
uint16_t Lv1;
|
||||
uint16_t LvSync;
|
||||
uint8_t __padding2;
|
||||
uint8_t __padding3;
|
||||
uint32_t Exp;
|
||||
uint32_t RestPoint;
|
||||
};
|
||||
|
|
|
@ -114,6 +114,7 @@ void PlayerMgr::onPlayerStatusUpdate( Entity::Player& player )
|
|||
auto playerStatusUpdate = makeZonePacket< FFXIVIpcPlayerStatusUpdate >( player.getId() );
|
||||
playerStatusUpdate->data().ClassJob = static_cast< uint8_t >( player.getClass() );
|
||||
playerStatusUpdate->data().Lv = player.getLevel();
|
||||
playerStatusUpdate->data().Lv1 = player.getLevel();
|
||||
playerStatusUpdate->data().LvSync = 0; //player.getLevelSync();
|
||||
playerStatusUpdate->data().Exp = player.getExp();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue