summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-10 23:10:33 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-10 23:10:33 +0300
commit0d2e07905e17d9ac9c53da4ba3bf798d967e7405 (patch)
tree2f34aa66d98f6b204a7d858febc8f211502a60da /src/net
parent3e33644761fb296b7efc122c757342ff0da17886 (diff)
downloadManaVerse-0d2e07905e17d9ac9c53da4ba3bf798d967e7405.tar.gz
ManaVerse-0d2e07905e17d9ac9c53da4ba3bf798d967e7405.tar.bz2
ManaVerse-0d2e07905e17d9ac9c53da4ba3bf798d967e7405.tar.xz
ManaVerse-0d2e07905e17d9ac9c53da4ba3bf798d967e7405.zip
eathena: add partial support for packet SMSG_SKILL_MEMO_MESSAGE 0x011e.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/protocol.h1
-rw-r--r--src/net/eathena/skillhandler.cpp11
-rw-r--r--src/net/eathena/skillhandler.h2
3 files changed, 14 insertions, 0 deletions
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index b28e561f7..bb1b55fe9 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -100,6 +100,7 @@
#define SMSG_SKILL_AUTO_CAST 0x0147
#define SMSG_SKILL_SNAP 0x08d2
#define SMSG_SKILL_WARP_POINT 0x011c
+#define SMSG_SKILL_MEMO_MESSAGE 0x011e
#define SMSG_ITEM_USE_RESPONSE 0x00a8
#define SMSG_ITEM_VISIBLE 0x009d /**< An item is on the floor */
#define SMSG_GRAFFITI_VISIBLE 0x01c9
diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp
index 7ccc5c736..11164c3be 100644
--- a/src/net/eathena/skillhandler.cpp
+++ b/src/net/eathena/skillhandler.cpp
@@ -62,6 +62,7 @@ SkillHandler::SkillHandler() :
SMSG_PLAYER_DELETE_SKILL,
SMSG_PLAYER_UPDATE_SKILL,
SMSG_SKILL_WARP_POINT,
+ SMSG_SKILL_MEMO_MESSAGE,
0
};
handledMessages = _messages;
@@ -112,6 +113,10 @@ void SkillHandler::handleMessage(Net::MessageIn &msg)
processSkillWarpPoint(msg);
break;
+ case SMSG_SKILL_MEMO_MESSAGE:
+ processSkillMemoMessage(msg);
+ break;
+
default:
break;
}
@@ -387,4 +392,10 @@ void SkillHandler::processSkillWarpPoint(Net::MessageIn &msg)
msg.readString(16, "map name 4");
}
+void SkillHandler::processSkillMemoMessage(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ msg.readUInt8("type");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/skillhandler.h b/src/net/eathena/skillhandler.h
index 265548a26..2960761ca 100644
--- a/src/net/eathena/skillhandler.h
+++ b/src/net/eathena/skillhandler.h
@@ -69,6 +69,8 @@ class SkillHandler final : public MessageHandler, public Ea::SkillHandler
static void processSkillDelete(Net::MessageIn &msg);
static void processSkillWarpPoint(Net::MessageIn &msg);
+
+ static void processSkillMemoMessage(Net::MessageIn &msg);
};
} // namespace EAthena