summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-01 17:20:43 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-01 17:20:43 +0300
commitc04887aa87c5194a4774fe87cb1a969ba086a439 (patch)
tree6abb2c3b14217035bf0a42ed6bf2fd7ea092d909 /src/enums
parente81ae38c4722046876ab3ed5d53f33a7278056c3 (diff)
downloadmanaplus-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.h22
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