summaryrefslogtreecommitdiff
path: root/src/net/eathena/battlegroundhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-18 00:31:04 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-18 00:32:21 +0300
commit388cb093276e34ba5aaf1e994439e8347ffc0e3a (patch)
tree82de3decb4298db7c9a1a7187f0379eb7caea47a /src/net/eathena/battlegroundhandler.cpp
parentc9cb40c28e3ea73fb8ac83648f44285a1599791a (diff)
downloadmv-388cb093276e34ba5aaf1e994439e8347ffc0e3a.tar.gz
mv-388cb093276e34ba5aaf1e994439e8347ffc0e3a.tar.bz2
mv-388cb093276e34ba5aaf1e994439e8347ffc0e3a.tar.xz
mv-388cb093276e34ba5aaf1e994439e8347ffc0e3a.zip
eathena: add partial support for packet SMSG_BATTLE_PLAY 0x07fe.
Diffstat (limited to 'src/net/eathena/battlegroundhandler.cpp')
-rw-r--r--src/net/eathena/battlegroundhandler.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/net/eathena/battlegroundhandler.cpp b/src/net/eathena/battlegroundhandler.cpp
index 9c23e08ff..941910873 100644
--- a/src/net/eathena/battlegroundhandler.cpp
+++ b/src/net/eathena/battlegroundhandler.cpp
@@ -40,6 +40,7 @@ BattleGroundHandler::BattleGroundHandler() :
SMSG_BATTLE_EMBLEM,
SMSG_BATTLE_UPDATE_SCORE,
SMSG_BATTLE_UPDATE_COORDS,
+ SMSG_BATTLE_PLAY,
0
};
handledMessages = _messages;
@@ -62,6 +63,10 @@ void BattleGroundHandler::handleMessage(Net::MessageIn &msg)
processBattleUpdateCoords(msg);
break;
+ case SMSG_BATTLE_PLAY:
+ processBattlePlay(msg);
+ break;
+
default:
break;
}
@@ -92,4 +97,10 @@ void BattleGroundHandler::processBattleUpdateCoords(Net::MessageIn &msg)
msg.readInt16("y");
}
+void BattleGroundHandler::processBattlePlay(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ msg.readString(24, "battle ground name");
+}
+
} // namespace EAthena