summaryrefslogtreecommitdiff
path: root/src/enums/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-03 14:31:43 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-03 14:31:43 +0300
commitb643a5c48d53dbeca7672e3c8b5182f9d698abcb (patch)
treeab596dc9a0c573764c1e0b427f22303faa1bfec1 /src/enums/net
parent6281c1281fe85a1c75155df44c99aa843561a4f2 (diff)
downloadmanaverse-b643a5c48d53dbeca7672e3c8b5182f9d698abcb.tar.gz
manaverse-b643a5c48d53dbeca7672e3c8b5182f9d698abcb.tar.bz2
manaverse-b643a5c48d53dbeca7672e3c8b5182f9d698abcb.tar.xz
manaverse-b643a5c48d53dbeca7672e3c8b5182f9d698abcb.zip
Convert PacketShare enum into strong typed enum.
Diffstat (limited to 'src/enums/net')
-rw-r--r--src/enums/net/partyshare.h21
1 files changed, 9 insertions, 12 deletions
diff --git a/src/enums/net/partyshare.h b/src/enums/net/partyshare.h
index ad07ecf72..82f55e13d 100644
--- a/src/enums/net/partyshare.h
+++ b/src/enums/net/partyshare.h
@@ -23,18 +23,15 @@
#ifndef ENUMS_NET_PARTYSHARE_H
#define ENUMS_NET_PARTYSHARE_H
-namespace Net
+#include "enums/simpletypes/enumdefines.h"
+
+enumStart(PartyShare)
{
- namespace PartyShare
- {
- enum Type
- {
- UNKNOWN = -1,
- NO,
- YES,
- NOT_POSSIBLE = 2
- };
- }
-} // namespace Net
+ UNKNOWN = -1,
+ NO,
+ YES,
+ NOT_POSSIBLE = 2
+}
+enumEnd(PartyShare);
#endif // ENUMS_NET_PARTYSHARE_H