From 247418a3ec0b50479c7bac80322202b01527ae61 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 11 Sep 2014 23:32:35 +0300 Subject: eathena: add packet CMSG_EXPLOSION_SPIRITS 0x01ed. --- src/net/eathena/playerhandler.cpp | 5 +++++ src/net/eathena/playerhandler.h | 1 + src/net/eathena/protocol.h | 1 + src/net/playerhandler.h | 2 ++ src/net/tmwa/playerhandler.cpp | 4 ++++ src/net/tmwa/playerhandler.h | 2 ++ 6 files changed, 15 insertions(+) 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); -- cgit v1.2.3-70-g09d2