summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/eathena/playerhandler.cpp7
-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, 17 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
diff --git a/src/net/playerhandler.h b/src/net/playerhandler.h
index bac85039e..1b1a08157 100644
--- a/src/net/playerhandler.h
+++ b/src/net/playerhandler.h
@@ -93,6 +93,8 @@ class PlayerHandler notfinal
virtual void doriDori() const = 0;
virtual void explosionSpirits() const = 0;
+
+ virtual void requestPvpInfo() const = 0;
};
} // namespace Net
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp
index c4c61bed4..a6517c1ea 100644
--- a/src/net/tmwa/playerhandler.cpp
+++ b/src/net/tmwa/playerhandler.cpp
@@ -460,4 +460,8 @@ void PlayerHandler::explosionSpirits() const
{
}
+void PlayerHandler::requestPvpInfo() const
+{
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/playerhandler.h b/src/net/tmwa/playerhandler.h
index b24266836..7a0c5cb54 100644
--- a/src/net/tmwa/playerhandler.h
+++ b/src/net/tmwa/playerhandler.h
@@ -75,6 +75,8 @@ class PlayerHandler final : public MessageHandler, public Ea::PlayerHandler
void explosionSpirits() const override final;
+ void requestPvpInfo() const override final;
+
protected:
void processPlayerStatUpdate5(Net::MessageIn &msg);