diff options
Diffstat (limited to 'src/net/eathena/battlegroundhandler.cpp')
-rw-r--r-- | src/net/eathena/battlegroundhandler.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/net/eathena/battlegroundhandler.cpp b/src/net/eathena/battlegroundhandler.cpp index fd8273dcf..9c23e08ff 100644 --- a/src/net/eathena/battlegroundhandler.cpp +++ b/src/net/eathena/battlegroundhandler.cpp @@ -39,6 +39,7 @@ BattleGroundHandler::BattleGroundHandler() : { SMSG_BATTLE_EMBLEM, SMSG_BATTLE_UPDATE_SCORE, + SMSG_BATTLE_UPDATE_COORDS, 0 }; handledMessages = _messages; @@ -57,6 +58,10 @@ void BattleGroundHandler::handleMessage(Net::MessageIn &msg) processBattleUpdateScore(msg); break; + case SMSG_BATTLE_UPDATE_COORDS: + processBattleUpdateCoords(msg); + break; + default: break; } @@ -77,4 +82,14 @@ void BattleGroundHandler::processBattleUpdateScore(Net::MessageIn &msg) msg.readInt16("camp b points"); } +void BattleGroundHandler::processBattleUpdateCoords(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readInt32("account id"); + msg.readString(24, "name"); + msg.readInt16("class"); + msg.readInt16("x"); + msg.readInt16("y"); +} + } // namespace EAthena |