summaryrefslogblamecommitdiff
path: root/src/char/int_mercenary.h
blob: 0d52b02e1300a45a4f9b6330cb9968fac9a89c66 (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/hercules.h"

struct mmo_charstatus;

/**
 * inter_mercenary interface
 **/
struct inter_mercenary_interface {
	bool (*owner_fromsql) (int char_id, struct mmo_charstatus *status);
	bool (*owner_tosql) (int char_id, struct mmo_charstatus *status);
	bool (*owner_delete) (int char_id);
	int (*sql_init) (void);
	void (*sql_final) (void);
	int (*parse_frommap) (int fd);
};

#ifdef HERCULES_CORE
void inter_mercenary_defaults(void);
#endif // HERCULES_CORE

HPShared struct inter_mercenary_interface *inter_mercenary;

#endif /* CHAR_INT_MERCENARY_H */