summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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