summaryrefslogtreecommitdiff
path: root/src/map/clif.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-06-29 11:33:11 +0200
committerGitHub <noreply@github.com>2018-06-29 11:33:11 +0200
commit9d24045d743a11eda0c825ea3c989fc5e78bc8af (patch)
tree91d8f55d2aed6fb58661fd7fada8f3f6e53ed814 /src/map/clif.h
parentc419726752ebd1b532f487e5683f63232a6c237b (diff)
parent9876ae283e9ca68e60de3a0745a765e460d4c434 (diff)
downloadhercules-9d24045d743a11eda0c825ea3c989fc5e78bc8af.tar.gz
hercules-9d24045d743a11eda0c825ea3c989fc5e78bc8af.tar.bz2
hercules-9d24045d743a11eda0c825ea3c989fc5e78bc8af.tar.xz
hercules-9d24045d743a11eda0c825ea3c989fc5e78bc8af.zip
Merge pull request #2063 from dastgirp/2-petevol
Implemented Pet Evolution and Pet Feeding
Diffstat (limited to 'src/map/clif.h')
-rw-r--r--src/map/clif.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/map/clif.h b/src/map/clif.h
index 4b625023f..eb9881533 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -592,6 +592,17 @@ enum private_airship {
P_AIRSHIP_ITEM_INVALID
};
+/** Pet Evolution Results */
+enum pet_evolution_result {
+ PET_EVOL_UNKNOWN = 0x0,
+ PET_EVOL_NO_CALLPET = 0x1,
+ PET_EVOL_NO_PETEGG = 0x2,
+ PET_EVOL_NO_RECIPE = 0x3,
+ PET_EVOL_NO_MATERIAL = 0x4,
+ PET_EVOL_RG_FAMILIAR = 0x5,
+ PET_EVOL_SUCCESS = 0x6,
+};
+
/**
* Structures
**/
@@ -834,7 +845,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 (*zc_config) (struct map_session_data *sd, int type, int flag);
+ void (*zc_config) (struct map_session_data *sd, enum CZ_CONFIG 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);
@@ -1484,6 +1495,8 @@ struct clif_interface {
void (*pReqStyleChange) (int fd, struct map_session_data *sd);
void (*cz_req_style_change_sub) (struct map_session_data *sd, int type, int16 idx, bool isitem);
void (*style_change_response) (struct map_session_data *sd, enum stylist_shop flag);
+ void (*pPetEvolution) (int fd, struct map_session_data *sd);
+ void (*petEvolutionResult) (int fd, enum pet_evolution_result result);
};
#ifdef HERCULES_CORE