diff options
Diffstat (limited to 'src/enums/net')
-rw-r--r-- | src/enums/net/packettype.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/enums/net/packettype.h b/src/enums/net/packettype.h index 9298a9a8e..ed425aa7a 100644 --- a/src/enums/net/packettype.h +++ b/src/enums/net/packettype.h @@ -21,10 +21,10 @@ #ifndef ENUMS_NET_PACKETTYPE_H #define ENUMS_NET_PACKETTYPE_H -namespace PacketType +#include "enums/simpletypes/enumdefines.h" + +enumStart(PacketType) { - enum T - { PACKET_CHAT = 0, PACKET_PICKUP = 1, PACKET_DROP = 2, @@ -39,9 +39,7 @@ namespace PacketType PACKET_ONLINELIST = 11, PACKET_WHISPER = 12, PACKET_SIZE - }; } - -typedef PacketType::T PacketTypeT; +enumEnd(PacketType); #endif // ENUMS_NET_PACKETTYPE_H |