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.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/eathena/battlegroundhandler.cpp b/src/net/eathena/battlegroundhandler.cpp
index bc34d351a..3444c9434 100644
--- a/src/net/eathena/battlegroundhandler.cpp
+++ b/src/net/eathena/battlegroundhandler.cpp
@@ -175,4 +175,10 @@ void BattleGroundHandler::beginAck(const bool result,
outMsg.writeString(gameName, 24, "game name");
}
+void BattleGroundHandler::checkState(const std::string &name) const
+{
+ createOutPacket(CMSG_BATTLE_CHECK_STATE);
+ outMsg.writeString(name, 24, "bg name");
+}
+
} // namespace EAthena