summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-11 23:32:35 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-11 23:32:35 +0300
commit247418a3ec0b50479c7bac80322202b01527ae61 (patch)
tree57e68f3dcaccc982079686a6d17b0eaf5923f9fa
parente0988e8f2cf1f43207310e2a8c050f7e95fe970f (diff)
downloadplus-247418a3ec0b50479c7bac80322202b01527ae61.tar.gz
plus-247418a3ec0b50479c7bac80322202b01527ae61.tar.bz2
plus-247418a3ec0b50479c7bac80322202b01527ae61.tar.xz
plus-247418a3ec0b50479c7bac80322202b01527ae61.zip
eathena: add packet CMSG_EXPLOSION_SPIRITS 0x01ed.
-rw-r--r--src/net/eathena/playerhandler.cpp5
-rw-r--r--src/net/eathena/playerhandler.h1
-rw-r--r--src/net/eathena/protocol.h1
-rw-r--r--src/net/playerhandler.h2
-rw-r--r--src/net/tmwa/playerhandler.cpp4
-rw-r--r--src/net/tmwa/playerhandler.h2
6 files changed, 15 insertions, 0 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index 014a0ca65..29aacdd47 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -389,4 +389,9 @@ void PlayerHandler::doriDori() const
MessageOut outMsg(CMSG_DORI_DORI);
}
+void PlayerHandler::explosionSpirits() const
+{
+ MessageOut outMsg(CMSG_EXPLOSION_SPIRITS);
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/playerhandler.h b/src/net/eathena/playerhandler.h
index 315945ae7..b5cd40ad4 100644
--- a/src/net/eathena/playerhandler.h
+++ b/src/net/eathena/playerhandler.h
@@ -67,6 +67,7 @@ class PlayerHandler final : public MessageHandler, public Ea::PlayerHandler
void changeCart(const int type) const override final;
void setMemo() const override final;
void doriDori() const override final;
+ void explosionSpirits() const override final;
protected:
void processPlayerStatUpdate5(Net::MessageIn &msg);
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index d62a2a5d6..747ade200 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -358,6 +358,7 @@
#define CMSG_PET_SET_NAME 0x01a5
#define CMSG_DORI_DORI 0x01e7
+#define CMSG_EXPLOSION_SPIRITS 0x01ed
#define SMSG_SOLVE_CHAR_NAME 0x0194
#define SMSG_SKILL_CASTING 0x07fb
diff --git a/src/net/playerhandler.h b/src/net/playerhandler.h
index 4f5e91fb1..bac85039e 100644
--- a/src/net/playerhandler.h
+++ b/src/net/playerhandler.h
@@ -91,6 +91,8 @@ class PlayerHandler notfinal
virtual void setMemo() const = 0;
virtual void doriDori() const = 0;
+
+ virtual void explosionSpirits() const = 0;
};
} // namespace Net
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp
index 5817de18b..d8c7bf356 100644
--- a/src/net/tmwa/playerhandler.cpp
+++ b/src/net/tmwa/playerhandler.cpp
@@ -456,4 +456,8 @@ void PlayerHandler::doriDori() const
{
}
+void PlayerHandler::explosionSpirits() const
+{
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/playerhandler.h b/src/net/tmwa/playerhandler.h
index 1eecb632f..b24266836 100644
--- a/src/net/tmwa/playerhandler.h
+++ b/src/net/tmwa/playerhandler.h
@@ -73,6 +73,8 @@ class PlayerHandler final : public MessageHandler, public Ea::PlayerHandler
void doriDori() const override final;
+ void explosionSpirits() const override final;
+
protected:
void processPlayerStatUpdate5(Net::MessageIn &msg);