diff options
Diffstat (limited to 'src/net/eathena/npchandler.cpp')
-rw-r--r-- | src/net/eathena/npchandler.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/net/eathena/npchandler.cpp b/src/net/eathena/npchandler.cpp index a4487c408..790d498c6 100644 --- a/src/net/eathena/npchandler.cpp +++ b/src/net/eathena/npchandler.cpp @@ -23,6 +23,7 @@ #include "net/eathena/npchandler.h" #include "actormanager.h" +#include "logger.h" #include "being/localplayer.h" @@ -59,6 +60,7 @@ NpcHandler::NpcHandler() : SMSG_NPC_COMMAND, SMSG_NPC_CHANGETITLE, SMSG_NPC_AREA, + SMSG_NPC_SHOW_DIGIT, 0 }; handledMessages = _messages; @@ -121,6 +123,10 @@ void NpcHandler::handleMessage(Net::MessageIn &msg) processArea(msg); break; + case SMSG_NPC_SHOW_DIGIT: + processShowDigit(msg); + break; + default: break; } @@ -374,4 +380,12 @@ void NpcHandler::processArea(Net::MessageIn &msg) dstBeing->setAreaSize(area); } +void NpcHandler::processShowDigit(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + + msg.readUInt8("type"); + msg.readInt32("value"); +} + } // namespace EAthena |