intif.h 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. // $Id: intif.h,v 1.2 2004/09/25 05:32:18 MouseJstr Exp $
  2. #ifndef _INTIF_H_
  3. #define _INFIF_H_
  4. int intif_parse(int fd);
  5. int intif_GMmessage(char* mes,int len,int flag);
  6. int intif_wis_message(struct map_session_data *sd,char *nick,char *mes,int mes_len);
  7. int intif_wis_message_to_gm(char *Wisp_name, int min_gm_level, char *mes);
  8. int intif_saveaccountreg(struct map_session_data *sd);
  9. int intif_request_accountreg(struct map_session_data *sd);
  10. int intif_request_storage(int account_id);
  11. int intif_send_storage(struct storage *stor);
  12. int intif_request_guild_storage(int account_id, int guild_id);
  13. int intif_send_guild_storage(int account_id, struct guild_storage *gstor);
  14. int intif_create_party(struct map_session_data *sd,char *name,int item,int item2);
  15. int intif_request_partyinfo(int party_id);
  16. int intif_party_addmember(int party_id, int account_id);
  17. int intif_party_changeoption(int party_id, int account_id, int exp, int item);
  18. int intif_party_leave(int party_id, int accound_id);
  19. int intif_party_changemap(struct map_session_data *sd, int online);
  20. int intif_break_party(int party_id);
  21. int intif_party_message(int party_id, int account_id, char *mes,int len);
  22. int intif_party_checkconflict(int party_id, int account_id, char *nick);
  23. int intif_guild_create(const char *name, const struct guild_member *master);
  24. int intif_guild_request_info(int guild_id);
  25. int intif_guild_addmember(int guild_id, struct guild_member *m);
  26. int intif_guild_leave(int guild_id, int account_id, int char_id, int flag, const char *mes);
  27. int intif_guild_memberinfoshort(int guild_id, int account_id, int char_id, int online, int lv, int class_);
  28. int intif_guild_break(int guild_id);
  29. int intif_guild_message(int guild_id, int account_id, char *mes, int len);
  30. int intif_guild_checkconflict(int guild_id, int account_id, int char_id);
  31. int intif_guild_change_basicinfo(int guild_id, int type, const void *data, int len);
  32. int intif_guild_change_memberinfo(int guild_id, int account_id, int char_id, int type, const void *data, int len);
  33. int intif_guild_position(int guild_id, int idx, struct guild_position *p);
  34. int intif_guild_skillup(int guild_id, int skill_num, int account_id, int flag);
  35. int intif_guild_alliance(int guild_id1, int guild_id2, int account_id1, int account_id2, int flag);
  36. int intif_guild_notice(int guild_id, const char *mes1, const char *mes2);
  37. int intif_guild_emblem(int guild_id, int len, const char *data);
  38. int intif_guild_castle_dataload(int castle_id, int index);
  39. int intif_guild_castle_datasave(int castle_id, int index, int value);
  40. int intif_create_pet(int account_id, int char_id, short pet_type, short pet_lv, short pet_egg_id,
  41. short pet_equip, short intimate, short hungry, char rename_flag, char incuvate, char *pet_name);
  42. int intif_request_petdata(int account_id, int char_id, int pet_id);
  43. int intif_save_petdata(int account_id, struct s_pet *p);
  44. int intif_delete_petdata(int pet_id);
  45. #endif