summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-17 23:41:30 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-17 23:41:30 +0300
commit593aa06d1c7b9bd68c1d47e2967db3cac41c8368 (patch)
tree3e75a23d985e7248baa64a4a0d11b52412744376 /src/net/eathena/beinghandler.cpp
parent1b43cc5755ca5157f56b4222c2fc05e608d0fe93 (diff)
downloadplus-593aa06d1c7b9bd68c1d47e2967db3cac41c8368.tar.gz
plus-593aa06d1c7b9bd68c1d47e2967db3cac41c8368.tar.bz2
plus-593aa06d1c7b9bd68c1d47e2967db3cac41c8368.tar.xz
plus-593aa06d1c7b9bd68c1d47e2967db3cac41c8368.zip
eathena: add partial support for packet SMSG_BEING_MILLENIUM_SHIELD 0x0440.
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r--src/net/eathena/beinghandler.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index 7f3762e58..13fa26032 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -132,6 +132,7 @@ BeingHandler::BeingHandler(const bool enableSync) :
SMSG_GLADIATOR_FEEL_REQUEST,
SMSG_BOSS_MAP_INFO,
SMSG_BEING_FONT,
+ SMSG_BEING_MILLENIUM_SHIELD,
0
};
handledMessages = _messages;
@@ -392,6 +393,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
processBeingFont(msg);
break;
+ case SMSG_BEING_MILLENIUM_SHIELD:
+ processBeingMilleniumShield(msg);
+ break;
+
default:
break;
}
@@ -1861,4 +1866,13 @@ void BeingHandler::processBeingFont(Net::MessageIn &msg)
msg.readInt16("font");
}
+void BeingHandler::processBeingMilleniumShield(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+
+ msg.readInt32("account id");
+ msg.readInt16("shields");
+ msg.readInt16("unused");
+}
+
} // namespace EAthena