diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-17 22:58:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-17 22:58:33 +0300 |
commit | 8227aad72c4c6dfd2af4241763bd4dad82441a8e (patch) | |
tree | 4f54427957bbb72a2bbb0abb8bffabb5e0e700c7 /src/net/eathena/battlegroundhandler.cpp | |
parent | 9761307a9c7d360ebf7a44e2eee9a41dbd1a3921 (diff) | |
download | plus-8227aad72c4c6dfd2af4241763bd4dad82441a8e.tar.gz plus-8227aad72c4c6dfd2af4241763bd4dad82441a8e.tar.bz2 plus-8227aad72c4c6dfd2af4241763bd4dad82441a8e.tar.xz plus-8227aad72c4c6dfd2af4241763bd4dad82441a8e.zip |
eathena: add partial support for packet SMSG_BATTLE_UPDATE_COORDS 0x02df.
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 |