summaryrefslogtreecommitdiff
path: root/src/net/eathena/skillhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-10 22:48:54 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-10 22:48:54 +0300
commit3e33644761fb296b7efc122c757342ff0da17886 (patch)
tree2a5269de722142390b183f663f4edddf467c0fb4 /src/net/eathena/skillhandler.cpp
parent0b47807d75fe6c1c95d7b5e44272c55672ef6cfb (diff)
downloadplus-3e33644761fb296b7efc122c757342ff0da17886.tar.gz
plus-3e33644761fb296b7efc122c757342ff0da17886.tar.bz2
plus-3e33644761fb296b7efc122c757342ff0da17886.tar.xz
plus-3e33644761fb296b7efc122c757342ff0da17886.zip
eathena: add partial support for packet SMSG_SKILL_WARP_POINT 0x011c.
Diffstat (limited to 'src/net/eathena/skillhandler.cpp')
-rw-r--r--src/net/eathena/skillhandler.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/net/eathena/skillhandler.cpp b/src/net/eathena/skillhandler.cpp
index 7bddc239d..7ccc5c736 100644
--- a/src/net/eathena/skillhandler.cpp
+++ b/src/net/eathena/skillhandler.cpp
@@ -61,6 +61,7 @@ SkillHandler::SkillHandler() :
SMSG_PLAYER_ADD_SKILL,
SMSG_PLAYER_DELETE_SKILL,
SMSG_PLAYER_UPDATE_SKILL,
+ SMSG_SKILL_WARP_POINT,
0
};
handledMessages = _messages;
@@ -107,6 +108,10 @@ void SkillHandler::handleMessage(Net::MessageIn &msg)
processSkillDelete(msg);
break;
+ case SMSG_SKILL_WARP_POINT:
+ processSkillWarpPoint(msg);
+ break;
+
default:
break;
}
@@ -372,4 +377,14 @@ void SkillHandler::processSkillSnap(Net::MessageIn &msg)
msg.readInt16("y");
}
+void SkillHandler::processSkillWarpPoint(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ msg.readInt16("skill id");
+ msg.readString(16, "map name 1");
+ msg.readString(16, "map name 2");
+ msg.readString(16, "map name 3");
+ msg.readString(16, "map name 4");
+}
+
} // namespace EAthena