summaryrefslogtreecommitdiff
path: root/src/char_sql/int_mercenary.h
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-09-01 00:03:10 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-09-01 00:03:10 +0000
commitbb1a4e56b358c36a7996be8d34b84e7f118f63f5 (patch)
tree7e67cb25e378bfa10fad402e50b75b8ea991775d /src/char_sql/int_mercenary.h
parent08c870656aeb76d839a8ad2fd071818b8618f899 (diff)
downloadhercules-bb1a4e56b358c36a7996be8d34b84e7f118f63f5.tar.gz
hercules-bb1a4e56b358c36a7996be8d34b84e7f118f63f5.tar.bz2
hercules-bb1a4e56b358c36a7996be8d34b84e7f118f63f5.tar.xz
hercules-bb1a4e56b358c36a7996be8d34b84e7f118f63f5.zip
- Moved char server's mercenary code to a different file (int_mercenary.*)
- New Sql Patch for create mercenary_owner DB. - Removed mer_id from char_db. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13166 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/int_mercenary.h')
-rw-r--r--src/char_sql/int_mercenary.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/char_sql/int_mercenary.h b/src/char_sql/int_mercenary.h
new file mode 100644
index 000000000..5674b6dcf
--- /dev/null
+++ b/src/char_sql/int_mercenary.h
@@ -0,0 +1,20 @@
+// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
+// For more information, see LICENCE in the main folder
+
+#ifndef _INT_MERCENARY_SQL_H_
+#define _INT_MERCENARY_SQL_H_
+
+struct s_mercenary;
+
+int inter_mercenary_sql_init(void);
+void inter_mercenary_sql_final(void);
+int inter_mercenary_parse_frommap(int fd);
+
+// Mercenary Owner Database
+bool mercenary_owner_fromsql(int char_id, struct mmo_charstatus *status);
+bool mercenary_owner_tosql(int char_id, struct mmo_charstatus *status);
+bool mercenary_owner_delete(int char_id);
+
+bool mapif_mercenary_delete(int merc_id);
+
+#endif /* _INT_MERCENARY_SQL_H_ */