summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-14 22:27:47 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-14 22:32:25 +0300
commit6325c78e27607afe99ecc3c3d0cac154ccfd696b (patch)
tree1a54c4fc393df896aff95324224fcca59dcd3183 /src/net/eathena
parentb53426b0c7651a7f4b727d9a1f2d2ad843ca7470 (diff)
downloadmv-6325c78e27607afe99ecc3c3d0cac154ccfd696b.tar.gz
mv-6325c78e27607afe99ecc3c3d0cac154ccfd696b.tar.bz2
mv-6325c78e27607afe99ecc3c3d0cac154ccfd696b.tar.xz
mv-6325c78e27607afe99ecc3c3d0cac154ccfd696b.zip
eathena: add packet CMSG_PVP_INFO 0x020f.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/playerhandler.cpp7
-rw-r--r--src/net/eathena/playerhandler.h1
-rw-r--r--src/net/eathena/protocol.h1
3 files changed, 9 insertions, 0 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index 52e3d0b6f..62eaef408 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -394,4 +394,11 @@ void PlayerHandler::explosionSpirits() const
MessageOut outMsg(CMSG_EXPLOSION_SPIRITS);
}
+void PlayerHandler::requestPvpInfo() const
+{
+ MessageOut outMsg(CMSG_PVP_INFO);
+ outMsg.writeInt32(0, "char id");
+ outMsg.writeInt32(0, "account id");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/playerhandler.h b/src/net/eathena/playerhandler.h
index b5cd40ad4..5c06b5473 100644
--- a/src/net/eathena/playerhandler.h
+++ b/src/net/eathena/playerhandler.h
@@ -68,6 +68,7 @@ class PlayerHandler final : public MessageHandler, public Ea::PlayerHandler
void setMemo() const override final;
void doriDori() const override final;
void explosionSpirits() const override final;
+ void requestPvpInfo() const override final;
protected:
void processPlayerStatUpdate5(Net::MessageIn &msg);
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index bc1bf3f4d..f20e9fc58 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -361,6 +361,7 @@
#define CMSG_DORI_DORI 0x01e7
#define CMSG_EXPLOSION_SPIRITS 0x01ed
+#define CMSG_PVP_INFO 0x020f
#define SMSG_SOLVE_CHAR_NAME 0x0194
#define SMSG_SKILL_CASTING 0x07fb