mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-02 08:57:44 +00:00
Minor changes
This commit is contained in:
parent
30e2fbd55b
commit
9e22af7b48
3 changed files with 3 additions and 5 deletions
Binary file not shown.
|
@ -152,8 +152,7 @@ namespace Core::Network
|
|||
DECLARE_HANDLER( cfRegisterRoulette );
|
||||
|
||||
DECLARE_HANDLER( cfDutyAccepted );
|
||||
|
||||
|
||||
|
||||
DECLARE_HANDLER( actionHandler );
|
||||
|
||||
DECLARE_HANDLER( gm1Handler );
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue