summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-06 18:02:33 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-06 18:02:33 +0300
commit088ce632451aef33f28801029aaded8c5a4c9dac (patch)
tree4cdb30ea2f785591172a422ad6ed5459d0c22f66 /src/net
parent0ca80e1e00996eb0ad8cb431d5de2b816a134182 (diff)
downloadplus-088ce632451aef33f28801029aaded8c5a4c9dac.tar.gz
plus-088ce632451aef33f28801029aaded8c5a4c9dac.tar.bz2
plus-088ce632451aef33f28801029aaded8c5a4c9dac.tar.xz
plus-088ce632451aef33f28801029aaded8c5a4c9dac.zip
Move pckettypes enum into separate file.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/packetlimiter.cpp2
-rw-r--r--src/net/packetlimiter.h18
2 files changed, 2 insertions, 18 deletions
diff --git a/src/net/packetlimiter.cpp b/src/net/packetlimiter.cpp
index 80e1226d2..d4411c50a 100644
--- a/src/net/packetlimiter.cpp
+++ b/src/net/packetlimiter.cpp
@@ -23,6 +23,8 @@
#include "configuration.h"
#include "settings.h"
+#include "enums/net/packettypes.h"
+
#include "utils/timer.h"
#include <fstream>
diff --git a/src/net/packetlimiter.h b/src/net/packetlimiter.h
index 2c2de56ef..f0d8a78df 100644
--- a/src/net/packetlimiter.h
+++ b/src/net/packetlimiter.h
@@ -25,24 +25,6 @@
#include "localconsts.h"
-enum PacketTypes
-{
- PACKET_CHAT = 0,
- PACKET_PICKUP = 1,
- PACKET_DROP = 2,
- PACKET_NPC_NEXT = 3,
- PACKET_NPC_TALK = 4,
- PACKET_NPC_INPUT = 5,
- PACKET_EMOTE = 6,
- PACKET_SIT = 7,
- PACKET_DIRECTION = 8,
- PACKET_ATTACK = 9,
- PACKET_STOPATTACK = 10,
- PACKET_ONLINELIST = 11,
- PACKET_WHISPER = 12,
- PACKET_SIZE
-};
-
namespace PacketLimiter
{
void initPacketLimiter();