summaryrefslogtreecommitdiff
path: root/src/net/eathena/battlegroundhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-29 14:21:43 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-29 14:21:43 +0300
commit32bf758a1267689cac65e10f69c73b8efa40bb94 (patch)
tree243fa0514f41877c029bd750c878c212e3eac06e /src/net/eathena/battlegroundhandler.cpp
parent97db9f1a4f677fe0433b7cad65b5146f5c7c9c00 (diff)
downloadmv-32bf758a1267689cac65e10f69c73b8efa40bb94.tar.gz
mv-32bf758a1267689cac65e10f69c73b8efa40bb94.tar.bz2
mv-32bf758a1267689cac65e10f69c73b8efa40bb94.tar.xz
mv-32bf758a1267689cac65e10f69c73b8efa40bb94.zip
eathena: add packet CMSG_BATTLE_CHECK_STATE 0x090a.
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