summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-01 17:42:48 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-01 17:42:48 +0300
commit41d9ca028de0740fd23a3dabaece8d1fd1bf93c1 (patch)
tree9a6b3cc1c1fb9d843a226e91fb0330b35ae3c737 /src/enums
parentc04887aa87c5194a4774fe87cb1a969ba086a439 (diff)
downloadmv-41d9ca028de0740fd23a3dabaece8d1fd1bf93c1.tar.gz
mv-41d9ca028de0740fd23a3dabaece8d1fd1bf93c1.tar.bz2
mv-41d9ca028de0740fd23a3dabaece8d1fd1bf93c1.tar.xz
mv-41d9ca028de0740fd23a3dabaece8d1fd1bf93c1.zip
Convert BattleGroundType enum into strong typed enum.
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/net/battlegroundtype.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/enums/net/battlegroundtype.h b/src/enums/net/battlegroundtype.h
index e0ce20c41..b3cae90a3 100644
--- a/src/enums/net/battlegroundtype.h
+++ b/src/enums/net/battlegroundtype.h
@@ -22,16 +22,16 @@
#define ENUMS_NET_BATTLEGROUNDTYPE_H
#ifdef EATHENA_SUPPORT
-namespace BattleGroundType
+#include "enums/simpletypes/enumdefines.h"
+
+enumStart(BattleGroundType)
{
- enum Type
- {
- Invalid = 0,
- Individual = 1,
- Party = 2,
- Guild = 4
- };
-} // namespace BattleGroundType
+ Invalid = 0,
+ Individual = 1,
+ Party = 2,
+ Guild = 4
+}
+enumEnd(BattleGroundType);
#endif // EATHENA_SUPPORT
#endif // ENUMS_NET_BATTLEGROUNDTYPE_H