00001
00002 #ifndef _INTIF_H_
00003 #define _INFIF_H_
00004
00005 int intif_parse(int fd);
00006
00007 int intif_GMmessage(char* mes, int flag);
00008 void intif_announce(char* mes, unsigned int color, int flag);
00009
00010 int intif_wis_message(struct map_session_data *sd, char *nick, char *mes, int mes_len);
00011 void intif_wis_message_to_gm(char *Wisp_name, short min_gm_level, char *mes);
00012 void intif_main_message(char *Wisp_name, char *mes);
00013 int intif_gm_message(char *Wisp_name, char *mes);
00014
00015 void intif_send_log(unsigned char log_type, char *log_msg);
00016
00017 void intif_saveaccountreg(struct map_session_data *sd);
00018
00019 int intif_request_storage(int account_id);
00020 int intif_send_storage(struct storage *stor);
00021 int intif_request_guild_storage(int account_id, int guild_id);
00022 int intif_send_guild_storage(int account_id, struct guild_storage *gstor);
00023
00024
00025 void intif_create_party(struct map_session_data *sd, char *party_name, short item, short item2);
00026 int intif_request_partyinfo(int party_id);
00027 void intif_party_addmember(int party_id, struct map_session_data *sd);
00028 void intif_party_changeoption(int party_id, int account_id, unsigned short party_exp, unsigned short item);
00029 void intif_party_leave(int party_id, int account_id);
00030 int intif_party_changemap(struct map_session_data *sd, unsigned char online);
00031 int intif_break_party(int party_id);
00032 void intif_party_message(int party_id, int account_id, char *mes, int len);
00033 int intif_party_checkconflict(int party_id, int account_id, char *nick);
00034
00035
00036 void intif_guild_create(const char *name, const struct guild_member *master);
00037 int intif_guild_request_info(int guild_id);
00038 int intif_guild_addmember(int guild_id, struct guild_member *m);
00039 void intif_guild_leave(int guild_id, int account_id, int char_id, int flag, const char *mes);
00040 int intif_guild_memberinfoshort(int guild_id, int account_id, int char_id, int online, int lv, int class);
00041 int intif_guild_break(int guild_id);
00042 int intif_guild_message(int guild_id, int account_id, char *mes, int len);
00043 int intif_guild_checkconflict(int guild_id, int account_id, int char_id);
00044 int intif_guild_change_basicinfo(int guild_id, int type, const void *data, int len);
00045 void intif_guild_change_memberinfo(int guild_id, int account_id, int char_id, int type, const void *data, int len);
00046 void intif_guild_position(int guild_id, int idx, struct guild_position *p);
00047 int intif_guild_skillup(int guild_id, int skill_num, int account_id, int flag);
00048 void intif_guild_alliance(int guild_id1, int guild_id2, int account_id1, int account_id2, unsigned char flag);
00049 void intif_guild_notice(int guild_id, const char *mes1, const char *mes2);
00050 void intif_guild_emblem(int guild_id, unsigned short len, const char *data);
00051 int intif_guild_castle_dataload(int castle_id, int idx);
00052 int intif_guild_castle_datasave(int castle_id, int idx, int value);
00053
00054 void intif_create_pet(int account_id, int char_id, short pet_type, short pet_lv, short pet_egg_id,
00055 short pet_equip, short intimate, short hungry, char rename_flag, char incuvate, char *pet_name);
00056 void intif_request_petdata(int account_id, int char_id, int pet_id);
00057 void intif_save_petdata(int account_id, struct s_pet *p);
00058 void intif_delete_petdata(int pet_id);
00059
00060 int intif_jumpto(int account_id, char *name);
00061 int intif_where(int account_id, char *name);
00062 int intif_charmovereq(struct map_session_data *sd, char *name, int flag);
00063
00064 #endif // _INFIF_H_