summaryrefslogtreecommitdiff
path: root/src/map/clif.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-14 08:53:17 -0300
committershennetsind <ind@henn.et>2013-06-14 08:53:17 -0300
commit5a942993dd12ae7d85b1633a58b0dc23f85832c2 (patch)
tree7fb1b11e988fa99d41da2c1a858cbeb3daef4649 /src/map/clif.h
parent5321d32c8d670fbfbfe02f7df5066170aa20ee2e (diff)
downloadhercules-5a942993dd12ae7d85b1633a58b0dc23f85832c2.tar.gz
hercules-5a942993dd12ae7d85b1633a58b0dc23f85832c2.tar.bz2
hercules-5a942993dd12ae7d85b1633a58b0dc23f85832c2.tar.xz
hercules-5a942993dd12ae7d85b1633a58b0dc23f85832c2.zip
Hercules WPE Free
Official Packet Obfuscation Support http://hercules.ws/board/topic/1105-hercules-wpe-free-june-14th-patch/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/clif.h')
-rw-r--r--src/map/clif.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/clif.h b/src/map/clif.h
index b447687ea..6e1fa81d3 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -462,6 +462,8 @@ struct clif_interface {
struct hCSData **data[CASHSHOP_TAB_MAX];
unsigned int item_count[CASHSHOP_TAB_MAX];
} cs;
+ /* */
+ unsigned int cryptKey[3];
/* core */
int (*init) (void);
void (*final) (void);
@@ -472,6 +474,8 @@ struct clif_interface {
int (*send) (const void* buf, int len, struct block_list* bl, enum send_target type);
int (*send_sub) (struct block_list *bl, va_list ap);
int (*parse) (int fd);
+ unsigned short (*parse_cmd) ( int fd, struct map_session_data *sd );
+ unsigned short (*decrypt_cmd) ( int cmd, struct map_session_data *sd );
/* auth */
void (*authok) (struct map_session_data *sd);
void (*authrefuse) (int fd, uint8 error_code);