diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-01 17:20:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-01 17:20:43 +0300 |
commit | c04887aa87c5194a4774fe87cb1a969ba086a439 (patch) | |
tree | 6abb2c3b14217035bf0a42ed6bf2fd7ea092d909 /src/enums | |
parent | e81ae38c4722046876ab3ed5d53f33a7278056c3 (diff) | |
download | manaplus-c04887aa87c5194a4774fe87cb1a969ba086a439.tar.gz manaplus-c04887aa87c5194a4774fe87cb1a969ba086a439.tar.bz2 manaplus-c04887aa87c5194a4774fe87cb1a969ba086a439.tar.xz manaplus-c04887aa87c5194a4774fe87cb1a969ba086a439.zip |
Convert AuctionSearchType enum into strong typed enum.
Diffstat (limited to 'src/enums')
-rw-r--r-- | src/enums/net/auctionsearchtype.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/enums/net/auctionsearchtype.h b/src/enums/net/auctionsearchtype.h index 108947e41..9912d6039 100644 --- a/src/enums/net/auctionsearchtype.h +++ b/src/enums/net/auctionsearchtype.h @@ -23,18 +23,18 @@ #define ENUMS_NET_AUCTIONSEARCHTYPE_H #ifdef EATHENA_SUPPORT -namespace AuctionSearchType +#include "enums/simpletypes/enumdefines.h" + +enumStart(AuctionSearchType) { - enum Type - { - Armor = 0, - Weapon = 1, - Card = 2, - Misc = 3, - Name = 4, - AuctionId = 5 - }; -} // namespace AuctionSearchType + Armor = 0, + Weapon = 1, + Card = 2, + Misc = 3, + Name = 4, + AuctionId = 5 +} +enumEnd(AuctionSearchType); #endif // EATHENA_SUPPORT #endif // ENUMS_NET_AUCTIONSEARCHTYPE_H |