mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 14:57:44 +00:00
ModelEquip Updates
Turns out padding1 holds some extra stuff
This commit is contained in:
parent
cb28e7b930
commit
b0b09ea91f
2 changed files with 6 additions and 1 deletions
|
@ -976,7 +976,10 @@ struct FFXIVIpcModelEquip :
|
|||
{
|
||||
/* 0000 */ uint64_t mainWeapon;
|
||||
/* 0008 */ uint64_t offWeapon;
|
||||
/* 0010 */ uint32_t padding1;
|
||||
/* 0010 */ uint8_t unk1;
|
||||
/* 0011 */ uint8_t classJobId;
|
||||
/* 0012 */ uint8_t level;
|
||||
/* 0013 */ uint8_t unk2;
|
||||
/* 0014 */ uint32_t models[10];
|
||||
/* 003C */ uint32_t padding2;
|
||||
};
|
||||
|
|
|
@ -28,6 +28,8 @@ private:
|
|||
{
|
||||
m_data.mainWeapon = player.getModelMainWeapon();
|
||||
m_data.offWeapon = player.getModelSubWeapon();
|
||||
m_data.classJobId = static_cast< uint8_t >( player.getClass() );
|
||||
m_data.level = player.getLevel();
|
||||
m_data.models[ Common::GearModelSlot::ModelHead ] = player.getModelForSlot( Common::GearModelSlot::ModelHead );
|
||||
m_data.models[ Common::GearModelSlot::ModelBody ] = player.getModelForSlot( Common::GearModelSlot::ModelBody );
|
||||
m_data.models[ Common::GearModelSlot::ModelHands ] = player.getModelForSlot( Common::GearModelSlot::ModelHands );
|
||||
|
|
Loading…
Add table
Reference in a new issue