summaryrefslogtreecommitdiff
path: root/src/map/clif.h
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2017-11-05 00:51:34 +0000
committerAsheraf <acheraf1998@gmail.com>2017-11-18 22:45:11 +0000
commit1a4327551900db5e2ecbb754bef7c05f4edfc6dd (patch)
treef60c6951a12ba3b634f5c6b5c40f6c1b62ece349 /src/map/clif.h
parent41f3237e4537d7105fb47d56b455d31cf33c155c (diff)
downloadhercules-1a4327551900db5e2ecbb754bef7c05f4edfc6dd.tar.gz
hercules-1a4327551900db5e2ecbb754bef7c05f4edfc6dd.tar.bz2
hercules-1a4327551900db5e2ecbb754bef7c05f4edfc6dd.tar.xz
hercules-1a4327551900db5e2ecbb754bef7c05f4edfc6dd.zip
Implement Homunculus autofeeding
Diffstat (limited to 'src/map/clif.h')
-rw-r--r--src/map/clif.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/map/clif.h b/src/map/clif.h
index 851c823ea..c321b99d7 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -563,7 +563,15 @@ enum clif_unittype {
CLUT_MERCNARY = 0x9,
CLUT_ELEMENTAL = 0xa,
};
-
+/**
+* Receive configuration types
+**/
+enum CZ_CONFIG {
+ CZ_CONFIG_OPEN_EQUIPMENT_WINDOW = 0,
+ // Unknown = 1,
+ CZ_CONFIG_PET_AUTOFEEDING = 2,
+ CZ_CONFIG_HOMUNCULUS_AUTOFEEDING = 3,
+};
/**
* Structures
**/
@@ -781,7 +789,7 @@ struct clif_interface {
void (*mission_info) (struct map_session_data *sd, int mob_id, unsigned char progress);
void (*feel_hate_reset) (struct map_session_data *sd);
void (*partytickack) (struct map_session_data* sd, bool flag);
- void (*equiptickack) (struct map_session_data* sd, int flag);
+ void (*zc_config) (struct map_session_data *sd, int type, int flag);
void (*viewequip_ack) (struct map_session_data* sd, struct map_session_data* tsd);
void (*equpcheckbox) (struct map_session_data* sd);
void (*displayexp) (struct map_session_data *sd, uint64 exp, char type, bool is_quest);
@@ -1302,7 +1310,7 @@ struct clif_interface {
void (*pAdopt_request) (int fd, struct map_session_data *sd);
void (*pAdopt_reply) (int fd, struct map_session_data *sd);
void (*pViewPlayerEquip) (int fd, struct map_session_data* sd);
- void (*pEquipTick) (int fd, struct map_session_data* sd);
+ void (*p_cz_config) (int fd, struct map_session_data *sd);
void (*pquestStateAck) (int fd, struct map_session_data * sd);
void (*pmercenary_action) (int fd, struct map_session_data* sd);
void (*pBattleChat) (int fd, struct map_session_data* sd);