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 7024f33bc..3cc324392 100644 --- a/src/net/eathena/battlegroundhandler.cpp +++ b/src/net/eathena/battlegroundhandler.cpp @@ -44,6 +44,7 @@ BattleGroundHandler::BattleGroundHandler() : SMSG_BATTLE_QUEUE_ACK, SMSG_BATTLE_BEGINS, SMSG_BATTLE_NOTICE_DELETE, + SMSG_BATTLE_JOINED, 0 }; handledMessages = _messages; @@ -82,6 +83,10 @@ void BattleGroundHandler::handleMessage(Net::MessageIn &msg) processBattleNoticeDelete(msg); break; + case SMSG_BATTLE_JOINED: + processBattleJoined(msg); + break; + default: break; } @@ -139,4 +144,11 @@ void BattleGroundHandler::processBattleNoticeDelete(Net::MessageIn &msg) msg.readString(24, "bg name"); } +void BattleGroundHandler::processBattleJoined(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readString(24, "name"); + msg.readInt32("position"); +} + } // namespace EAthena |