diff options
author | Haru <haru@dotalux.com> | 2018-06-25 05:17:28 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2018-06-30 01:51:13 +0200 |
commit | 1999d1f7b120802c7a8ef6a465fdd244b9ba7797 (patch) | |
tree | ed416684547bfd70b480b2f7245f7971010698a5 /src/char/char.h | |
parent | 031f6ee5a7c8bb2f33929d5e17cd264b21d08b9f (diff) | |
download | hercules-1999d1f7b120802c7a8ef6a465fdd244b9ba7797.tar.gz hercules-1999d1f7b120802c7a8ef6a465fdd244b9ba7797.tar.bz2 hercules-1999d1f7b120802c7a8ef6a465fdd244b9ba7797.tar.xz hercules-1999d1f7b120802c7a8ef6a465fdd244b9ba7797.zip |
Move some non-mapif functionality from the mapif interface to the inter/char interfaces
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/char/char.h')
-rw-r--r-- | src/char/char.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/char/char.h b/src/char/char.h index a644f11ab..4d816583a 100644 --- a/src/char/char.h +++ b/src/char/char.h @@ -147,7 +147,8 @@ struct char_interface { int (*mmo_char_sql_init) (void); bool (*char_slotchange) (struct char_session_data *sd, int fd, unsigned short from, unsigned short to); int (*rename_char_sql) (struct char_session_data *sd, int char_id); - int (*check_char_name) (char * name, char * esc_name); + bool (*name_exists) (const char *name, const char *esc_name); + int (*check_char_name) (const char *name, const char *esc_name); int (*make_new_char_sql) (struct char_session_data *sd, const char *name_, int str, int agi, int vit, int int_, int dex, int luk, int slot, int hair_color, int hair_style, short starting_job, uint8 sex); int (*divorce_char_sql) (int partner_id1, int partner_id2); int (*count_users) (void); |