diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-30 00:00:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-30 00:00:03 +0300 |
commit | 7abba762ddd14b63f34a3be9c9212db3a1939960 (patch) | |
tree | 1a5ecee6d78d80c597b87c4860663abdb6a6c327 /src/enums/being/rank.h | |
parent | 41dfafa2ff6e878308c5edde056edfa944bf6f03 (diff) | |
download | manaverse-7abba762ddd14b63f34a3be9c9212db3a1939960.tar.gz manaverse-7abba762ddd14b63f34a3be9c9212db3a1939960.tar.bz2 manaverse-7abba762ddd14b63f34a3be9c9212db3a1939960.tar.xz manaverse-7abba762ddd14b63f34a3be9c9212db3a1939960.zip |
Convert Rank enum into strong typed enum.
Diffstat (limited to 'src/enums/being/rank.h')
-rw-r--r-- | src/enums/being/rank.h | 18 |
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 |