summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
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