Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

chrif.h

00001 // $Id: chrif.h 549 2006-04-19 06:01:05Z akrus $
00002 #ifndef _CHRIF_H_
00003 #define _CHRIF_H_
00004 
00005 void chrif_setuserid(char*);
00006 void chrif_setpasswd(char*);
00007 void chrif_setip(char*);
00008 void chrif_setport(int);
00009 
00010 int chrif_isconnect(void);
00011 
00012 int chrif_authreq(struct map_session_data *);
00013 void chrif_save(struct map_session_data*);
00014 int chrif_charselectreq(struct map_session_data *);
00015 
00016 int chrif_changemapserver(struct map_session_data *sd, char *name, int x, int y, int ip, short port);
00017 
00018 int chrif_searchcharid(int char_id);
00019 int chrif_changegm(int id, const char *pass, int len);
00020 int chrif_changeemail(int id, const char *actual_email, const char *new_email);
00021 int chrif_char_ask_name(int id, char * character_name, short operation_type, int year_gmlvl, int month, int day, int hour, int minute, int second);
00022 void chrif_saveaccountreg2(struct map_session_data *sd);
00023 void chrif_saveglobalreg(struct map_session_data *sd);
00024 int chrif_reloadGMdb(void);
00025 
00026 void chrif_send_friends(int friend_char_id1, int friend_char_id2); // 0x2b24 <friend_char_id1>.L <friend_char_id2>.L
00027 void chrif_friend_delete(int friend_list_char_id, int deleted_char_id, unsigned char flag); // owner of friend list, deleted friend (flag: 0: done on map-server, 1: not done for friend)
00028 
00029 int chrif_save_scdata(struct map_session_data *sd);
00030 
00031 int do_final_chrif(void);
00032 int do_init_chrif(void);
00033 
00034 #endif // _CHRIF_H_

Generated on Fri Apr 28 10:20:05 2006 for OpenAthena by  doxygen 1.4.4