diff options
Diffstat (limited to 'src/map/chrif.hpp')
-rw-r--r-- | src/map/chrif.hpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/map/chrif.hpp b/src/map/chrif.hpp index 6dca70c..97760c3 100644 --- a/src/map/chrif.hpp +++ b/src/map/chrif.hpp @@ -2,14 +2,15 @@ #define CHRIF_HPP #include "../common/dumb_ptr.hpp" +#include "../common/human_time_diff.hpp" #include "map.hpp" -void chrif_setuserid(const char *); -void chrif_setpasswd(const char *); -char *chrif_getpasswd(void); +void chrif_setuserid(AccountName); +void chrif_setpasswd(AccountPass); +AccountPass chrif_getpasswd(void); -void chrif_setip(const char *); +void chrif_setip(IP_String); void chrif_setport(int); int chrif_isconnect(void); @@ -19,15 +20,14 @@ int chrif_save(dumb_ptr<map_session_data>); int chrif_charselectreq(dumb_ptr<map_session_data>); int chrif_changemapserver(dumb_ptr<map_session_data> sd, - char *name, int x, int y, + MapName name, int x, int y, struct in_addr ip, short port); int chrif_searchcharid(int char_id); -int chrif_changegm(int id, const char *pass, int len); -int chrif_changeemail(int id, const char *actual_email, - const char *new_email); -int chrif_char_ask_name(int id, char *character_name, short operation_type, - int year, int month, int day, int hour, int minute, int second); +void chrif_changegm(int id, ZString pass); +void chrif_changeemail(int id, AccountEmail actual_email, AccountEmail new_email); +void chrif_char_ask_name(int id, CharName character_name, short operation_type, + HumanTimeDiff modif); int chrif_saveaccountreg2(dumb_ptr<map_session_data> sd); int chrif_reloadGMdb(void); int chrif_send_divorce(int char_id); |