summaryrefslogtreecommitdiff
path: root/src/char/int_guild.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-06-24 17:51:14 +0200
committerHaru <haru@dotalux.com>2018-06-30 01:51:09 +0200
commit396d96cedf3b2a6e27daea85ba270f4172a12544 (patch)
treeaeda145430f9eb90df94dbb0e84a406585066f8d /src/char/int_guild.h
parentfb1d9e23b926dc893d3e62c708ef0243077ef392 (diff)
downloadhercules-396d96cedf3b2a6e27daea85ba270f4172a12544.tar.gz
hercules-396d96cedf3b2a6e27daea85ba270f4172a12544.tar.bz2
hercules-396d96cedf3b2a6e27daea85ba270f4172a12544.tar.xz
hercules-396d96cedf3b2a6e27daea85ba270f4172a12544.zip
Move some non-mapif functionality from the mapif interface to the inter_guild interface
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/char/int_guild.h')
-rw-r--r--src/char/int_guild.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/char/int_guild.h b/src/char/int_guild.h
index 6fefba598..2af8f6801 100644
--- a/src/char/int_guild.h
+++ b/src/char/int_guild.h
@@ -68,8 +68,22 @@ struct inter_guild_interface {
int (*sex_changed) (int guild_id, int account_id, int char_id, short gender);
int (*charname_changed) (int guild_id, int account_id, int char_id, char *name);
int (*parse_frommap) (int fd);
- int (*leave) (int guild_id, int account_id, int char_id);
int (*broken) (int guild_id);
+ struct guild *(*create) (const char *name, const struct guild_member *master);
+ bool (*add_member) (int guild_id, const struct guild_member *member);
+ bool (*leave) (int guild_id, int account_id, int char_id, int flag, const char *mes, int map_fd);
+ bool (*update_member_info_short) (int guild_id, int account_id, int char_id, int online, int lv, int16 class);
+ bool (*update_member_info) (int guild_id, int account_id, int char_id, int type, const char *data, int len);
+ bool (*disband) (int guild_id);
+ bool (*update_basic_info) (int guild_id, int type, const void *data, int len);
+ bool (*update_position) (int guild_id, int idx, const struct guild_position *p);
+ bool (*use_skill_point) (int guild_id, uint16 skill_id, int account_id, int max);
+ bool (*remove_alliance) (struct guild *g, int guild_id, int account_id1, int account_id2, int flag);
+ bool (*change_alliance) (int guild_id1, int guild_id2, int account_id1, int account_id2, int flag);
+ bool (*update_notice) (int guild_id, const char *mes1, const char *mes2);
+ bool (*update_emblem) (int len, int guild_id, const char *data);
+ bool (*update_castle_data) (int castle_id, int index, int value);
+ bool (*change_leader) (int guild_id, const char *name, int len);
};
#ifdef HERCULES_CORE