summaryrefslogtreecommitdiff
path: root/src/net/eathena/playerhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r--src/net/eathena/playerhandler.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index 62eaef408..963a29c52 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -59,6 +59,7 @@ PlayerHandler::PlayerHandler() :
SMSG_PLAYER_SHORTCUTS,
SMSG_PLAYER_SHOW_EQUIP,
SMSG_PLAYER_GET_EXP,
+ SMSG_PVP_INFO,
0
};
handledMessages = _messages;
@@ -118,6 +119,10 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg)
processPlayerGetExp(msg);
break;
+ case SMSG_PVP_INFO:
+ processPvpInfo(msg);
+ break;
+
default:
break;
}
@@ -401,4 +406,13 @@ void PlayerHandler::requestPvpInfo() const
outMsg.writeInt32(0, "account id");
}
+void PlayerHandler::processPvpInfo(Net::MessageIn &msg)
+{
+ msg.readInt32("char id");
+ msg.readInt32("account id");
+ msg.readInt32("pvp won");
+ msg.readInt32("pvp lost");
+ msg.readInt32("pvp point");
+}
+
} // namespace EAthena