summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-11 14:39:29 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-11 14:39:29 +0300
commitff383a3f0658aeb016a5c5bcde01fc7edd2f8c33 (patch)
tree4956a3ef5ee256f788d5e15ec593e2e4543371a4 /src
parentc28671db8583dc66e7e3c3b1428c870f5222dbcc (diff)
downloadManaVerse-ff383a3f0658aeb016a5c5bcde01fc7edd2f8c33.tar.gz
ManaVerse-ff383a3f0658aeb016a5c5bcde01fc7edd2f8c33.tar.bz2
ManaVerse-ff383a3f0658aeb016a5c5bcde01fc7edd2f8c33.tar.xz
ManaVerse-ff383a3f0658aeb016a5c5bcde01fc7edd2f8c33.zip
eathena: add partial support for packet SMSG_SKILL_UNIT_UPDATE 0x01ac.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/protocol.h1
-rw-r--r--src/net/eathena/skillhandler.cpp12
-rw-r--r--src/net/eathena/skillhandler.h2
3 files changed, 15 insertions, 0 deletions
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index 45f8d9439..66417f6df 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -107,6 +107,7 @@
#define SMSG_SKILL_SNAP 0x08d2
#define SMSG_SKILL_WARP_POINT 0x011c
#define SMSG_SKILL_MEMO_MESSAGE 0x011e
+#define SMSG_SKILL_UNIT_UPDATE 0x01ac
#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 abe33cda1..1316c4dda 100644
--- a/src/net/eathena/skillhandler.cpp
+++ b/src/net/eathena/skillhandler.cpp
@@ -65,6 +65,7 @@ SkillHandler::SkillHandler() :
SMSG_SKILL_MEMO_MESSAGE,
SMSG_PLAYER_SKILL_PRODUCE_MIX_LIST,
SMSG_PLAYER_SKILL_PRODUCE_EFFECT,
+ SMSG_SKILL_UNIT_UPDATE,
0
};
handledMessages = _messages;
@@ -127,6 +128,10 @@ void SkillHandler::handleMessage(Net::MessageIn &msg)
processSkillProduceEffect(msg);
break;
+ case SMSG_SKILL_UNIT_UPDATE:
+ processSkillUnitUpdate(msg);
+ break;
+
default:
break;
}
@@ -429,4 +434,11 @@ void SkillHandler::processSkillProduceEffect(Net::MessageIn &msg)
msg.readInt16("item id");
}
+void SkillHandler::processSkillUnitUpdate(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+
+ msg.readInt32("being id");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/skillhandler.h b/src/net/eathena/skillhandler.h
index f1820ae3f..25fb1a805 100644
--- a/src/net/eathena/skillhandler.h
+++ b/src/net/eathena/skillhandler.h
@@ -75,6 +75,8 @@ class SkillHandler final : public MessageHandler, public Ea::SkillHandler
static void processSkillProduceMixList(Net::MessageIn &msg);
static void processSkillProduceEffect(Net::MessageIn &msg);
+
+ static void processSkillUnitUpdate(Net::MessageIn &msg);
};
} // namespace EAthena