summaryrefslogtreecommitdiff
path: root/src/net/eathena/battlegroundhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-18 16:39:39 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-18 16:39:39 +0300
commitf49ff6e34d8a1715b3f669ca45db2814f0ce25d5 (patch)
treec411865ed9fb61adb321e0ec83d6f7f339bd682f /src/net/eathena/battlegroundhandler.cpp
parent9cce5d5370ffc70df022ce43980a805499c7359d (diff)
downloadmv-f49ff6e34d8a1715b3f669ca45db2814f0ce25d5.tar.gz
mv-f49ff6e34d8a1715b3f669ca45db2814f0ce25d5.tar.bz2
mv-f49ff6e34d8a1715b3f669ca45db2814f0ce25d5.tar.xz
mv-f49ff6e34d8a1715b3f669ca45db2814f0ce25d5.zip
eathena: add partial support for packet SMSG_BATTLE_BEGINS 0x08df.
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 0b6d4c17d..9672ab94e 100644
--- a/src/net/eathena/battlegroundhandler.cpp
+++ b/src/net/eathena/battlegroundhandler.cpp
@@ -42,6 +42,7 @@ BattleGroundHandler::BattleGroundHandler() :
SMSG_BATTLE_UPDATE_COORDS,
SMSG_BATTLE_PLAY,
SMSG_BATTLE_QUEUE_ACK,
+ SMSG_BATTLE_BEGINS,
0
};
handledMessages = _messages;
@@ -72,6 +73,10 @@ void BattleGroundHandler::handleMessage(Net::MessageIn &msg)
processBattleQueueAck(msg);
break;
+ case SMSG_BATTLE_BEGINS:
+ processBattleBegins(msg);
+ break;
+
default:
break;
}
@@ -115,4 +120,11 @@ void BattleGroundHandler::processBattleQueueAck(Net::MessageIn &msg)
msg.readString(24, "bg name");
}
+void BattleGroundHandler::processBattleBegins(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ msg.readString(24, "bg name");
+ msg.readString(24, "game name");
+}
+
} // namespace EAthena