summaryrefslogtreecommitdiff
path: root/src/char/mapif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-08 20:54:09 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-15 11:47:29 +0300
commit1c3205f761b1894a7f2347f8ab1275f1791dbcbc (patch)
tree1d845ee0d238f1bd7ea8dc693a08dc7552854744 /src/char/mapif.c
parenta181f75908d065293685d5adc7c90726fa29c064 (diff)
downloadhercules-1c3205f761b1894a7f2347f8ab1275f1791dbcbc.tar.gz
hercules-1c3205f761b1894a7f2347f8ab1275f1791dbcbc.tar.bz2
hercules-1c3205f761b1894a7f2347f8ab1275f1791dbcbc.tar.xz
hercules-1c3205f761b1894a7f2347f8ab1275f1791dbcbc.zip
Add most functions from int_storage.c to interfaces.
Diffstat (limited to 'src/char/mapif.c')
-rw-r--r--src/char/mapif.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/char/mapif.c b/src/char/mapif.c
index a50f10a38..6b6d41cb9 100644
--- a/src/char/mapif.c
+++ b/src/char/mapif.c
@@ -163,6 +163,13 @@ void mapif_quest_save_ack(int fd, int char_id, bool success);
int mapif_parse_quest_save(int fd);
void mapif_send_quests(int fd, int char_id, struct quest *tmp_questlog, int num_quests);
int mapif_parse_quest_load(int fd);
+int mapif_load_guild_storage(int fd,int account_id,int guild_id, char flag);
+int mapif_save_guild_storage_ack(int fd, int account_id, int guild_id, int fail);
+int mapif_parse_LoadGuildStorage(int fd);
+int mapif_parse_SaveGuildStorage(int fd);
+int mapif_itembound_ack(int fd, int aid, int guild_id);
+int mapif_parse_ItemBoundRetrieve_sub(int fd);
+void mapif_parse_ItemBoundRetrieve(int fd);
void mapif_defaults(void) {
mapif = &mapif_s;
@@ -310,4 +317,11 @@ void mapif_defaults(void) {
mapif->parse_quest_save = mapif_parse_quest_save;
mapif->send_quests = mapif_send_quests;
mapif->parse_quest_load = mapif_parse_quest_load;
+ mapif->load_guild_storage = mapif_load_guild_storage;
+ mapif->save_guild_storage_ack = mapif_save_guild_storage_ack;
+ mapif->parse_LoadGuildStorage = mapif_parse_LoadGuildStorage;
+ mapif->parse_SaveGuildStorage = mapif_parse_SaveGuildStorage;
+ mapif->itembound_ack = mapif_itembound_ack;
+ mapif->parse_ItemBoundRetrieve_sub = mapif_parse_ItemBoundRetrieve_sub;
+ mapif->parse_ItemBoundRetrieve = mapif_parse_ItemBoundRetrieve;
}