mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-25 05:57:45 +00:00
Merge pull request #401 from KBiscuit/updates/packetDefs
ModelEquip Updates
This commit is contained in:
commit
6f8200db44
2 changed files with 6 additions and 1 deletions
|
@ -1014,7 +1014,10 @@ struct FFXIVIpcModelEquip :
|
||||||
{
|
{
|
||||||
/* 0000 */ uint64_t mainWeapon;
|
/* 0000 */ uint64_t mainWeapon;
|
||||||
/* 0008 */ uint64_t offWeapon;
|
/* 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];
|
/* 0014 */ uint32_t models[10];
|
||||||
/* 003C */ uint32_t padding2;
|
/* 003C */ uint32_t padding2;
|
||||||
};
|
};
|
||||||
|
|
|
@ -28,6 +28,8 @@ private:
|
||||||
{
|
{
|
||||||
m_data.mainWeapon = player.getModelMainWeapon();
|
m_data.mainWeapon = player.getModelMainWeapon();
|
||||||
m_data.offWeapon = player.getModelSubWeapon();
|
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::ModelHead ] = player.getModelForSlot( Common::GearModelSlot::ModelHead );
|
||||||
m_data.models[ Common::GearModelSlot::ModelBody ] = player.getModelForSlot( Common::GearModelSlot::ModelBody );
|
m_data.models[ Common::GearModelSlot::ModelBody ] = player.getModelForSlot( Common::GearModelSlot::ModelBody );
|
||||||
m_data.models[ Common::GearModelSlot::ModelHands ] = player.getModelForSlot( Common::GearModelSlot::ModelHands );
|
m_data.models[ Common::GearModelSlot::ModelHands ] = player.getModelForSlot( Common::GearModelSlot::ModelHands );
|
||||||
|
|
Loading…
Add table
Reference in a new issue