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.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/net/eathena/battlegroundhandler.cpp b/src/net/eathena/battlegroundhandler.cpp
index 9c23e08ff..941910873 100644
--- a/src/net/eathena/battlegroundhandler.cpp
+++ b/src/net/eathena/battlegroundhandler.cpp
@@ -40,6 +40,7 @@ BattleGroundHandler::BattleGroundHandler() :
SMSG_BATTLE_EMBLEM,
SMSG_BATTLE_UPDATE_SCORE,
SMSG_BATTLE_UPDATE_COORDS,
+ SMSG_BATTLE_PLAY,
0
};
handledMessages = _messages;
@@ -62,6 +63,10 @@ void BattleGroundHandler::handleMessage(Net::MessageIn &msg)
processBattleUpdateCoords(msg);
break;
+ case SMSG_BATTLE_PLAY:
+ processBattlePlay(msg);
+ break;
+
default:
break;
}
@@ -92,4 +97,10 @@ void BattleGroundHandler::processBattleUpdateCoords(Net::MessageIn &msg)
msg.readInt16("y");
}
+void BattleGroundHandler::processBattlePlay(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ msg.readString(24, "battle ground name");
+}
+
} // namespace EAthena