summaryrefslogtreecommitdiff
path: root/src/enums/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-03 14:50:53 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-03 14:50:53 +0300
commitd05183a9029d65224f73143a380f1631692a9257 (patch)
treeb6666dea4c4a37c072826a6ec62955dad8812415 /src/enums/net
parentb643a5c48d53dbeca7672e3c8b5182f9d698abcb (diff)
downloadplus-d05183a9029d65224f73143a380f1631692a9257.tar.gz
plus-d05183a9029d65224f73143a380f1631692a9257.tar.bz2
plus-d05183a9029d65224f73143a380f1631692a9257.tar.xz
plus-d05183a9029d65224f73143a380f1631692a9257.zip
Convert ServerType enum into strong typed enum.
Diffstat (limited to 'src/enums/net')
-rw-r--r--src/enums/net/servertype.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/enums/net/servertype.h b/src/enums/net/servertype.h
index d0ae2cdb9..09832fd77 100644
--- a/src/enums/net/servertype.h
+++ b/src/enums/net/servertype.h
@@ -23,16 +23,16 @@
#ifndef ENUMS_NET_SERVERTYPE_H
#define ENUMS_NET_SERVERTYPE_H
-namespace ServerType
+#include "enums/simpletypes/enumdefines.h"
+
+enumStart(ServerType)
{
- enum Type
- {
- UNKNOWN = 0,
- TMWATHENA,
- EVOL,
- EATHENA,
- EVOL2
- };
+ UNKNOWN = 0,
+ TMWATHENA,
+ EVOL,
+ EATHENA,
+ EVOL2
}
+enumEnd(ServerType);
#endif // ENUMS_NET_SERVERTYPE_H