diff options
Diffstat (limited to 'src/net/eathena/battlegroundhandler.cpp')
-rw-r--r-- | src/net/eathena/battlegroundhandler.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/battlegroundhandler.cpp b/src/net/eathena/battlegroundhandler.cpp index 941910873..0b6d4c17d 100644 --- a/src/net/eathena/battlegroundhandler.cpp +++ b/src/net/eathena/battlegroundhandler.cpp @@ -41,6 +41,7 @@ BattleGroundHandler::BattleGroundHandler() : SMSG_BATTLE_UPDATE_SCORE, SMSG_BATTLE_UPDATE_COORDS, SMSG_BATTLE_PLAY, + SMSG_BATTLE_QUEUE_ACK, 0 }; handledMessages = _messages; @@ -67,6 +68,10 @@ void BattleGroundHandler::handleMessage(Net::MessageIn &msg) processBattlePlay(msg); break; + case SMSG_BATTLE_QUEUE_ACK: + processBattleQueueAck(msg); + break; + default: break; } @@ -103,4 +108,11 @@ void BattleGroundHandler::processBattlePlay(Net::MessageIn &msg) msg.readString(24, "battle ground name"); } +void BattleGroundHandler::processBattleQueueAck(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readUInt8("type"); + msg.readString(24, "bg name"); +} + } // namespace EAthena |