From d05183a9029d65224f73143a380f1631692a9257 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 3 Jun 2015 14:50:53 +0300 Subject: Convert ServerType enum into strong typed enum. --- src/enums/net/servertype.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/enums/net') 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 -- cgit v1.2.3-70-g09d2