summaryrefslogtreecommitdiff
path: root/src/common/mmo.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-02-04 21:11:55 +0100
committerHaru <haru@dotalux.com>2016-02-04 21:11:55 +0100
commita59d2cf735c961d86050ae51d345a5a81cfeb77c (patch)
tree9c09b376c9ef5d2b7fc0db696651111963e10aba /src/common/mmo.h
parentcbe69a98346e10ec39cb3de287614df52dd20172 (diff)
parent2fcf2da1801845cf94f84f5f9d3f1bb27f4501a6 (diff)
downloadhercules-a59d2cf735c961d86050ae51d345a5a81cfeb77c.tar.gz
hercules-a59d2cf735c961d86050ae51d345a5a81cfeb77c.tar.bz2
hercules-a59d2cf735c961d86050ae51d345a5a81cfeb77c.tar.xz
hercules-a59d2cf735c961d86050ae51d345a5a81cfeb77c.zip
Merge pull request #1129 from hemagx/map-clif_rewrite
Move P2PTR Macro and Define Packet DB enums
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;