summaryrefslogtreecommitdiff
path: root/src/net/eathena/npchandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-11 15:16:53 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-11 15:16:53 +0300
commiteae805845ace52c0056e7e426c5c8b3831e638af (patch)
tree2f9cba27a39fba868a3cbe57c6a7fe12310089f3 /src/net/eathena/npchandler.cpp
parent3940228a5d6be203454f521c17f01f666564cd31 (diff)
downloadmv-eae805845ace52c0056e7e426c5c8b3831e638af.tar.gz
mv-eae805845ace52c0056e7e426c5c8b3831e638af.tar.bz2
mv-eae805845ace52c0056e7e426c5c8b3831e638af.tar.xz
mv-eae805845ace52c0056e7e426c5c8b3831e638af.zip
eathena: add partial support for packet SMSG_NPC_SHOW_DIGIT 0x01b1.
Diffstat (limited to 'src/net/eathena/npchandler.cpp')
-rw-r--r--src/net/eathena/npchandler.cpp14
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