summaryrefslogtreecommitdiff
path: root/src/net/eathena/battlegroundhandler.cpp
diff options
context:
space:
mode:
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