summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-10 22:23:42 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-10 22:23:42 +0300
commit0b47807d75fe6c1c95d7b5e44272c55672ef6cfb (patch)
tree41d94f716e2d9a1f929e334a0d373c8635d0287c /src/net/eathena
parentacaaee81e79dfca6991636233bcaa4ee7994da93 (diff)
downloadplus-0b47807d75fe6c1c95d7b5e44272c55672ef6cfb.tar.gz
plus-0b47807d75fe6c1c95d7b5e44272c55672ef6cfb.tar.bz2
plus-0b47807d75fe6c1c95d7b5e44272c55672ef6cfb.tar.xz
plus-0b47807d75fe6c1c95d7b5e44272c55672ef6cfb.zip
eathena: add partial support for packet SMSG_MVP_NO_ITEM 0x010d.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/chathandler.cpp9
-rw-r--r--src/net/eathena/chathandler.h2
-rw-r--r--src/net/eathena/protocol.h1
3 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index 4e4231561..9b47a7279 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -68,6 +68,7 @@ ChatHandler::ChatHandler() :
SMSG_MVP_EFFECT,
SMSG_MVP_ITEM,
SMSG_MVP_EXP,
+ SMSG_MVP_NO_ITEM,
SMSG_IGNORE_ALL_RESPONSE,
SMSG_COLOR_MESSAGE,
SMSG_CHAT_IGNORE_LIST,
@@ -149,6 +150,10 @@ void ChatHandler::handleMessage(Net::MessageIn &msg)
processMVPExp(msg);
break;
+ case SMSG_MVP_NO_ITEM:
+ processMVPNoItem(msg);
+ break;
+
case SMSG_IGNORE_ALL_RESPONSE:
processIgnoreAllResponse(msg);
break;
@@ -867,4 +872,8 @@ void ChatHandler::processMVPExp(Net::MessageIn &msg)
msg.readInt32("exo");
}
+void ChatHandler::processMVPNoItem(Net::MessageIn &msg)
+{
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h
index e2ccb960d..92b4f73bd 100644
--- a/src/net/eathena/chathandler.h
+++ b/src/net/eathena/chathandler.h
@@ -143,6 +143,8 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler
static void processMVPItem(Net::MessageIn &msg);
static void processMVPExp(Net::MessageIn &msg);
+
+ static void processMVPNoItem(Net::MessageIn &msg);
};
} // namespace EAthena
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index 1c3846ebc..1993714f4 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -254,6 +254,7 @@
#define SMSG_MVP_ITEM 0x010a
#define SMSG_MVP_EXP 0x010b
#define SMSG_MVP_EFFECT 0x010c
+#define SMSG_MVP_NO_ITEM 0x010d
#define SMSG_RANKS_LIST 0x097d
#define SMSG_MONSTER_HP 0x0977