1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-02 08:57:44 +00:00

Minor changes

This commit is contained in:
Mordred 2018-11-22 23:59:42 +01:00
parent 30e2fbd55b
commit 9e22af7b48
3 changed files with 3 additions and 5 deletions

View file

@ -152,8 +152,7 @@ namespace Core::Network
DECLARE_HANDLER( cfRegisterRoulette );
DECLARE_HANDLER( cfDutyAccepted );
DECLARE_HANDLER( actionHandler );
DECLARE_HANDLER( gm1Handler );

View file

@ -265,16 +265,15 @@ void Core::Network::GameConnection::eventHandlerShop( const Packets::FFXIVARR_PA
auto eventType = static_cast< uint16_t >( eventId >> 16 );
std::string eventName = "onShop";
std::string eventName = "onOpen";
std::string objName = Event::getEventName( eventId );
player.sendDebug( "EventId: " +
std::to_string( eventId ) +
" (0x" + Util::intToHexString( static_cast< uint64_t >( eventId & 0xFFFFFFF ), 8 ) + ")" );
player.sendDebug( "Calling: " + objName + "." + eventName );
player.eventStart( 0, eventId, Event::EventHandler::UI, 0, 0 );
player.eventStart( 0, eventId, Event::EventHandler::UI, 0, packet.data().param );
}