summaryrefslogtreecommitdiff
path: root/src/enums/being/rank.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-30 00:00:03 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-30 00:00:03 +0300
commit7abba762ddd14b63f34a3be9c9212db3a1939960 (patch)
tree1a5ecee6d78d80c597b87c4860663abdb6a6c327 /src/enums/being/rank.h
parent41dfafa2ff6e878308c5edde056edfa944bf6f03 (diff)
downloadplus-7abba762ddd14b63f34a3be9c9212db3a1939960.tar.gz
plus-7abba762ddd14b63f34a3be9c9212db3a1939960.tar.bz2
plus-7abba762ddd14b63f34a3be9c9212db3a1939960.tar.xz
plus-7abba762ddd14b63f34a3be9c9212db3a1939960.zip
Convert Rank enum into strong typed enum.
Diffstat (limited to 'src/enums/being/rank.h')
-rw-r--r--src/enums/being/rank.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/enums/being/rank.h b/src/enums/being/rank.h
index 3d2ee065e..c23e82c02 100644
--- a/src/enums/being/rank.h
+++ b/src/enums/being/rank.h
@@ -22,16 +22,16 @@
#define ENUMS_BEING_RANK_H
#ifdef EATHENA_SUPPORT
-namespace Rank
+#include "enums/simpletypes/enumdefines.h"
+
+enumStart(Rank)
{
- enum Rank
- {
- Blacksmith = 0,
- Alchemist = 1,
- Taekwon = 2,
- Pk = 3
- };
-} // namespace Rank
+ Blacksmith = 0,
+ Alchemist = 1,
+ Taekwon = 2,
+ Pk = 3
+}
+enumEnd(Rank);
#endif // EATHENA_SUPPORT
#endif // ENUMS_BEING_RANK_H