summaryrefslogtreecommitdiff
path: root/src/common/mmo.h
diff options
context:
space:
mode:
authorhemagx <hemagx2@gmail.com>2016-01-31 15:53:35 +0200
committerhemagx <hemagx2@gmail.com>2016-01-31 15:53:35 +0200
commit2fcf2da1801845cf94f84f5f9d3f1bb27f4501a6 (patch)
tree9c09b376c9ef5d2b7fc0db696651111963e10aba /src/common/mmo.h
parentcbe69a98346e10ec39cb3de287614df52dd20172 (diff)
downloadhercules-2fcf2da1801845cf94f84f5f9d3f1bb27f4501a6.tar.gz
hercules-2fcf2da1801845cf94f84f5f9d3f1bb27f4501a6.tar.bz2
hercules-2fcf2da1801845cf94f84f5f9d3f1bb27f4501a6.tar.xz
hercules-2fcf2da1801845cf94f84f5f9d3f1bb27f4501a6.zip
Move P2PTR Macro to socket header and split the macro into two macros for WFIFO/RFIFO.
Change packet database enums to defines in mmo.h
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r--src/common/mmo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 6f573a571..981c1b30b 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -213,6 +213,11 @@
#define JOBL_BABY 0x2000 //8192
#define JOBL_THIRD 0x4000 //16384
+//Packet DB
+#define MIN_PACKET_DB 0x0064 //what's the point of minimum packet id ? [hemagx]
+#define MAX_PACKET_DB 0x0F00
+#define MAX_PACKET_POS 20
+
#define SCRIPT_VARNAME_LENGTH 32 ///< Maximum length of a script variable
struct hplugin_data_store;