summaryrefslogtreecommitdiff
path: root/src/emap/mob.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-02 19:06:39 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-02 19:06:39 +0300
commit1fc6228436311da0d70f14176fe47f3e37f6faa6 (patch)
tree9434c90ab44ac55200daa199f524fa11f3168678 /src/emap/mob.h
parent00d1b8bf9fc3648730904b6f86696417f4445037 (diff)
downloadplugin-1fc6228436311da0d70f14176fe47f3e37f6faa6.tar.gz
plugin-1fc6228436311da0d70f14176fe47f3e37f6faa6.tar.bz2
plugin-1fc6228436311da0d70f14176fe47f3e37f6faa6.tar.xz
plugin-1fc6228436311da0d70f14176fe47f3e37f6faa6.zip
Update function hook prototypes for support new hercules.
Diffstat (limited to 'src/emap/mob.h')
-rw-r--r--src/emap/mob.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/emap/mob.h b/src/emap/mob.h
index 8ac76b0..2074730 100644
--- a/src/emap/mob.h
+++ b/src/emap/mob.h
@@ -6,12 +6,14 @@
#define MD_SURVIVE_WITHOUT_MASTER 0x0040000
-int emob_deleteslave_sub(struct block_list *bl, va_list ap);
-void emob_read_db_additional_fields(struct mob_db *entry,
- struct config_setting_t *it,
- int *nPtr, const char *source);
-int emob_read_db_mode_sub_post(int retVal,
- struct mob_db *entry,
- struct config_setting_t *t);
+int emob_deleteslave_sub_pre(struct block_list **blPtr,
+ va_list ap);
+void emob_read_db_additional_fields_pre(struct mob_db **entryPtr,
+ struct config_setting_t **itPtr,
+ int *nPtr,
+ const char **sourcePtr);
+uint32 emob_read_db_mode_sub_post(uint32 retVal,
+ struct mob_db *entry,
+ struct config_setting_t *t);
#endif // EVOL_MAP_MOB