summaryrefslogblamecommitdiff
path: root/src/char/int_mercenary.h
blob: 504b2fca614c45d2fc0d397022acf5442d97436d (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                          

                            
 


                                 





                                          


                                                                               


                                         
                                 
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder

#ifndef CHAR_INT_MERCENARY_H
#define CHAR_INT_MERCENARY_H

#include "../common/cbasetypes.h"

struct mmo_charstatus;

int inter_mercenary_sql_init(void);
void inter_mercenary_sql_final(void);
int inter_mercenary_parse_frommap(int fd);

// Mercenary Owner Database
bool inter_mercenary_owner_fromsql(int char_id, struct mmo_charstatus *status);
bool inter_mercenary_owner_tosql(int char_id, struct mmo_charstatus *status);
bool inter_mercenary_owner_delete(int char_id);

bool mapif_mercenary_delete(int merc_id);

#endif /* CHAR_INT_MERCENARY_H */