diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-17 22:52:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-17 22:52:12 +0300 |
commit | 9761307a9c7d360ebf7a44e2eee9a41dbd1a3921 (patch) | |
tree | 3324cc9ce3ea606809e02f192b197e6b7e62bce6 /src/net/eathena/battlegroundhandler.cpp | |
parent | 83aea63d85e093ad50fc87abc16e87d57b74d423 (diff) | |
download | ManaVerse-9761307a9c7d360ebf7a44e2eee9a41dbd1a3921.tar.gz ManaVerse-9761307a9c7d360ebf7a44e2eee9a41dbd1a3921.tar.bz2 ManaVerse-9761307a9c7d360ebf7a44e2eee9a41dbd1a3921.tar.xz ManaVerse-9761307a9c7d360ebf7a44e2eee9a41dbd1a3921.zip |
eathena: add partial support for packet SMSG_BATTLE_UPDATE_SCORE 0x02de.
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 10555f85f..fd8273dcf 100644 --- a/src/net/eathena/battlegroundhandler.cpp +++ b/src/net/eathena/battlegroundhandler.cpp @@ -38,6 +38,7 @@ BattleGroundHandler::BattleGroundHandler() : static const uint16_t _messages[] = { SMSG_BATTLE_EMBLEM, + SMSG_BATTLE_UPDATE_SCORE, 0 }; handledMessages = _messages; @@ -52,6 +53,10 @@ void BattleGroundHandler::handleMessage(Net::MessageIn &msg) processBattleEmblem(msg); break; + case SMSG_BATTLE_UPDATE_SCORE: + processBattleUpdateScore(msg); + break; + default: break; } @@ -65,4 +70,11 @@ void BattleGroundHandler::processBattleEmblem(Net::MessageIn &msg) msg.readInt16("camp"); } +void BattleGroundHandler::processBattleUpdateScore(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readInt16("camp a points"); + msg.readInt16("camp b points"); +} + } // namespace EAthena |