mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 22:57:45 +00:00
added housing item UI
This commit is contained in:
parent
a72f3b122c
commit
7b5057f99b
2 changed files with 15 additions and 0 deletions
|
@ -212,6 +212,9 @@ enum ActorControlType :
|
|||
BeginReplayAck = 0x3A1,
|
||||
EndReplayAck = 0x3A2,
|
||||
|
||||
// Housing
|
||||
ShowHousingItemUI = 0x3F7,
|
||||
|
||||
// PvP Duel
|
||||
SetPvPState = 0x5E0, // param3 must be 6 to engage a duel (hardcoded in the client)
|
||||
EndDuelSession = 0x5E1, // because someone went oob?
|
||||
|
@ -287,6 +290,7 @@ enum ClientTriggerType
|
|||
AchievementList = 0x3E9,
|
||||
|
||||
RequestHousingSign = 0x451,
|
||||
RequestHousingItemUI = 0x463,
|
||||
RequestSharedEstateSettings = 0x46F,
|
||||
|
||||
CompanionAction = 0x6A4,
|
||||
|
|
|
@ -332,6 +332,17 @@ void Core::Network::GameConnection::clientTriggerHandler( const Packets::FFXIVAR
|
|||
break;
|
||||
}
|
||||
|
||||
case ClientTriggerType::RequestHousingItemUI:
|
||||
{
|
||||
uint8_t plot = param2;
|
||||
auto pShowHousingItemUIPacket = makeActorControl142(player.getId(), ShowHousingItemUI, 0, plot);
|
||||
|
||||
//TODO: show item housing container
|
||||
|
||||
player.queuePacket( pShowHousingItemUIPacket );
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
pLog->debug( "[" + std::to_string( m_pSession->getId() ) + "] Unhandled action: " +
|
||||
|
|
Loading…
Add table
Reference in a new issue