diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-08 23:25:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-15 11:47:30 +0300 |
commit | e4f78d0a13233181cec890b24c77748e32b2fd03 (patch) | |
tree | 548b3bcc77904039b6535b71053e722ea3f61e6f /src/char/mapif.c | |
parent | 1c3205f761b1894a7f2347f8ab1275f1791dbcbc (diff) | |
download | hercules-e4f78d0a13233181cec890b24c77748e32b2fd03.tar.gz hercules-e4f78d0a13233181cec890b24c77748e32b2fd03.tar.bz2 hercules-e4f78d0a13233181cec890b24c77748e32b2fd03.tar.xz hercules-e4f78d0a13233181cec890b24c77748e32b2fd03.zip |
Add most functions from inter.c to interfaces.
Diffstat (limited to 'src/char/mapif.c')
-rw-r--r-- | src/char/mapif.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/char/mapif.c b/src/char/mapif.c index 6b6d41cb9..1cd4c3ea5 100644 --- a/src/char/mapif.c +++ b/src/char/mapif.c @@ -170,6 +170,23 @@ int mapif_parse_SaveGuildStorage(int fd); int mapif_itembound_ack(int fd, int aid, int guild_id); int mapif_parse_ItemBoundRetrieve_sub(int fd); void mapif_parse_ItemBoundRetrieve(int fd); +void mapif_parse_accinfo(int fd); +void mapif_parse_accinfo2(bool success, int map_fd, int u_fd, int u_aid, int account_id, const char *userid, const char *user_pass, + const char *email, const char *last_ip, const char *lastlogin, const char *pin_code, const char *birthdate, int group_id, int logincount, int state); +int mapif_broadcast(unsigned char *mes, int len, unsigned int fontColor, short fontType, short fontSize, short fontAlign, short fontY, int sfd); +int mapif_wis_message(struct WisData *wd); +void mapif_wis_response(int fd, unsigned char *src, int flag); +int mapif_wis_end(struct WisData *wd, int flag); +int mapif_account_reg_reply(int fd,int account_id,int char_id, int type); +int mapif_disconnectplayer(int fd, int account_id, int char_id, int reason); +int mapif_parse_broadcast(int fd); +int mapif_parse_WisRequest(int fd); +int mapif_parse_WisReply(int fd); +int mapif_parse_WisToGM(int fd); +int mapif_parse_Registry(int fd); +int mapif_parse_RegistryRequest(int fd); +void mapif_namechange_ack(int fd, int account_id, int char_id, int type, int flag, const char *const name); +int mapif_parse_NameChangeRequest(int fd); void mapif_defaults(void) { mapif = &mapif_s; @@ -324,4 +341,20 @@ void mapif_defaults(void) { mapif->itembound_ack = mapif_itembound_ack; mapif->parse_ItemBoundRetrieve_sub = mapif_parse_ItemBoundRetrieve_sub; mapif->parse_ItemBoundRetrieve = mapif_parse_ItemBoundRetrieve; + mapif->parse_accinfo = mapif_parse_accinfo; + mapif->parse_accinfo2 = mapif_parse_accinfo2; + mapif->broadcast = mapif_broadcast; + mapif->wis_message = mapif_wis_message; + mapif->wis_response = mapif_wis_response; + mapif->wis_end = mapif_wis_end; + mapif->account_reg_reply = mapif_account_reg_reply; + mapif->disconnectplayer = mapif_disconnectplayer; + mapif->parse_broadcast = mapif_parse_broadcast; + mapif->parse_WisRequest = mapif_parse_WisRequest; + mapif->parse_WisReply = mapif_parse_WisReply; + mapif->parse_WisToGM = mapif_parse_WisToGM; + mapif->parse_Registry = mapif_parse_Registry; + mapif->parse_RegistryRequest = mapif_parse_RegistryRequest; + mapif->namechange_ack = mapif_namechange_ack; + mapif->parse_NameChangeRequest = mapif_parse_NameChangeRequest; } |