summaryrefslogtreecommitdiff
path: root/src/net/eathena/battlegroundhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-17 22:52:12 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-17 22:52:12 +0300
commit9761307a9c7d360ebf7a44e2eee9a41dbd1a3921 (patch)
tree3324cc9ce3ea606809e02f192b197e6b7e62bce6 /src/net/eathena/battlegroundhandler.cpp
parent83aea63d85e093ad50fc87abc16e87d57b74d423 (diff)
downloadmanaverse-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.cpp12
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