From 388cb093276e34ba5aaf1e994439e8347ffc0e3a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Mar 2015 00:31:04 +0300 Subject: eathena: add partial support for packet SMSG_BATTLE_PLAY 0x07fe. --- src/net/eathena/battlegroundhandler.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/net/eathena/battlegroundhandler.cpp') 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 -- cgit v1.2.3-70-g09d2