summaryrefslogtreecommitdiff
path: root/src/net/eathena/battlegroundhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-18 16:06:35 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-18 16:06:35 +0300
commit9cce5d5370ffc70df022ce43980a805499c7359d (patch)
treee2664411926305e81a5d9d37ff32d4de9b15d392 /src/net/eathena/battlegroundhandler.cpp
parentd18d370956e6f58970c7f828b79dbf86525949ea (diff)
downloadplus-9cce5d5370ffc70df022ce43980a805499c7359d.tar.gz
plus-9cce5d5370ffc70df022ce43980a805499c7359d.tar.bz2
plus-9cce5d5370ffc70df022ce43980a805499c7359d.tar.xz
plus-9cce5d5370ffc70df022ce43980a805499c7359d.zip
eathena: add partial support for packet SMSG_BATTLE_QUEUE_ACK 0x08d8.
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 941910873..0b6d4c17d 100644
--- a/src/net/eathena/battlegroundhandler.cpp
+++ b/src/net/eathena/battlegroundhandler.cpp
@@ -41,6 +41,7 @@ BattleGroundHandler::BattleGroundHandler() :
SMSG_BATTLE_UPDATE_SCORE,
SMSG_BATTLE_UPDATE_COORDS,
SMSG_BATTLE_PLAY,
+ SMSG_BATTLE_QUEUE_ACK,
0
};
handledMessages = _messages;
@@ -67,6 +68,10 @@ void BattleGroundHandler::handleMessage(Net::MessageIn &msg)
processBattlePlay(msg);
break;
+ case SMSG_BATTLE_QUEUE_ACK:
+ processBattleQueueAck(msg);
+ break;
+
default:
break;
}
@@ -103,4 +108,11 @@ void BattleGroundHandler::processBattlePlay(Net::MessageIn &msg)
msg.readString(24, "battle ground name");
}
+void BattleGroundHandler::processBattleQueueAck(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ msg.readUInt8("type");
+ msg.readString(24, "bg name");
+}
+
} // namespace EAthena