summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorhemagx <hemagx2@gmail.com>2016-03-28 21:54:46 +0200
committerHaru <haru@dotalux.com>2016-04-16 07:29:36 +0200
commit480e959347ac5903d9c0b659376db139792eb44b (patch)
tree85235026f63260d4005f43edb1d3477195c8090e /src/map/packets_struct.h
parent1c6b5afe8a2926b2364d85d122c3a56ca526e98e (diff)
downloadhercules-480e959347ac5903d9c0b659376db139792eb44b.tar.gz
hercules-480e959347ac5903d9c0b659376db139792eb44b.tar.bz2
hercules-480e959347ac5903d9c0b659376db139792eb44b.tar.xz
hercules-480e959347ac5903d9c0b659376db139792eb44b.zip
Rewrite client interface for login server (part 1)
Rewritten incoming/outgoing packet handlers to use structs instead of manipulating the WFIFO buffer bytes directly Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index e8f04c653..25b20cddf 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -2,7 +2,7 @@
* This file is part of Hercules.
* http://herc.ws - http://github.com/HerculesWS/Hercules
*
- * Copyright (C) 2013-2015 Hercules Dev Team
+ * Copyright (C) 2013-2016 Hercules Dev Team
*
* Hercules is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -26,6 +26,11 @@
#include "common/cbasetypes.h"
#include "common/mmo.h"
+// Packet DB
+#define MIN_PACKET_DB 0x0064
+#define MAX_PACKET_DB 0x0F00
+#define MAX_PACKET_POS 20
+
/**
*
**/