int_mercenary.h 631 B

1234567891011121314151617181920
  1. // Copyright (c) Athena Dev Teams - Licensed under GNU GPL
  2. // For more information, see LICENCE in the main folder
  3. #ifndef _INT_MERCENARY_SQL_H_
  4. #define _INT_MERCENARY_SQL_H_
  5. struct s_mercenary;
  6. int inter_mercenary_sql_init(void);
  7. void inter_mercenary_sql_final(void);
  8. int inter_mercenary_parse_frommap(int fd);
  9. // Mercenary Owner Database
  10. bool mercenary_owner_fromsql(int char_id, struct mmo_charstatus *status);
  11. bool mercenary_owner_tosql(int char_id, struct mmo_charstatus *status);
  12. bool mercenary_owner_delete(int char_id);
  13. bool mapif_mercenary_delete(int merc_id);
  14. #endif /* _INT_MERCENARY_SQL_H_ */