diff options
author | Haru <haru@dotalux.com> | 2017-12-08 17:38:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-08 17:38:21 +0100 |
commit | 85b71be7fd1134de6b45f9510006b84dc39975ac (patch) | |
tree | 274df4073757d0cbf04701af7c2ac4e7b3afc827 /src/map/clif.h | |
parent | 52abec06442607fca319a8309d26674871b25b53 (diff) | |
parent | 952855644c1deaf2dc7d7880bcd14126e2d5f6bd (diff) | |
download | hercules-85b71be7fd1134de6b45f9510006b84dc39975ac.tar.gz hercules-85b71be7fd1134de6b45f9510006b84dc39975ac.tar.bz2 hercules-85b71be7fd1134de6b45f9510006b84dc39975ac.tar.xz hercules-85b71be7fd1134de6b45f9510006b84dc39975ac.zip |
Merge pull request #1898 from Asheraf/homunaf
implement homunculus autofeeding for 2017 clients
Diffstat (limited to 'src/map/clif.h')
-rw-r--r-- | src/map/clif.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/map/clif.h b/src/map/clif.h index 112db3dec..e348bbb08 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); |