summaryrefslogtreecommitdiff
path: root/src/net/battlegroundhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-29 13:42:39 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-29 13:42:39 +0300
commitcc19f13863bc331e8e7a34f850370fc3bd32826a (patch)
tree2917fba1632e934bfc7981d05341fe68ba1d10d3 /src/net/battlegroundhandler.h
parent5b1359f867190b46f3107f4e3ba85d484e14c130 (diff)
downloadmanaverse-cc19f13863bc331e8e7a34f850370fc3bd32826a.tar.gz
manaverse-cc19f13863bc331e8e7a34f850370fc3bd32826a.tar.bz2
manaverse-cc19f13863bc331e8e7a34f850370fc3bd32826a.tar.xz
manaverse-cc19f13863bc331e8e7a34f850370fc3bd32826a.zip
eathena: add packet CMSG_BATTLE_REGISTER 0x08d7.
Diffstat (limited to 'src/net/battlegroundhandler.h')
-rw-r--r--src/net/battlegroundhandler.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/battlegroundhandler.h b/src/net/battlegroundhandler.h
index c84b6c27e..11847a8ac 100644
--- a/src/net/battlegroundhandler.h
+++ b/src/net/battlegroundhandler.h
@@ -23,6 +23,8 @@
#ifdef EATHENA_SUPPORT
+#include "enums/net/battlegroundtype.h"
+
#include <string>
#include "localconsts.h"
@@ -35,6 +37,9 @@ class BattleGroundHandler notfinal
public:
virtual ~BattleGroundHandler()
{ }
+
+ virtual void registerBg(const BattleGroundType::Type &type,
+ const std::string &name) const = 0;
};
} // namespace Net