1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-25 11:07:45 +00:00
This commit is contained in:
collett 2020-05-07 20:21:56 +09:00
parent 7e09643b20
commit 5cc337b86c
2 changed files with 4 additions and 2 deletions

View file

@ -395,7 +395,7 @@ namespace Sapphire::Network::ActorControl
RequestEventBattle = 0x232C,
Trigger612 = 0x264,
Trigger612 = 0x264, // AutoMoveFinished?
QuestJournalUpdateQuestVisibility = 0x2BE,
QuestJournalClosed = 0x2BF,

View file

@ -280,7 +280,9 @@ void Sapphire::Network::GameConnection::eventHandlerMapInteraction( const Packet
Entity::Player& player )
{
const auto packet = ZoneChannelPacket< Client::FFXIVIpcMapInteractionHandler >( inPacket );
if( packet.data().action == 0xD4 && player.getRace() == 3 ) // enter dwarf house lalafell only of course
auto action = packet.data().action;
player.sendDebug( "MapInteraction {}", action );
if( action == 0xD4 && player.getRace() == 3 ) // enter dwarf house lalafell only of course
{
// looks like shit but IT WORKS.
auto x = packet.data().position.x;