// Request the value of all registries. int mapif_parse_RegistryRequest(int fd) { //Load Char Registry if (RFIFOB(fd,12)) mapif_account_reg_reply(fd,RFIFOL(fd,2),RFIFOL(fd,6),3); //Load Account Registry if (RFIFOB(fd,11)) mapif_account_reg_reply(fd,RFIFOL(fd,2),RFIFOL(fd,6),2); //Ask Login Server for Account2 values. if (RFIFOB(fd,10)) request_accreg2(RFIFOL(fd,2),RFIFOL(fd,6)); return 1; }
RecvResult mapif_parse_AccRegRequest(Session *s) { Packet_Fixed<0x3005> fixed; RecvResult rv = recv_fpacket<0x3005, 6>(s, fixed); if (rv != RecvResult::Complete) return rv; mapif_account_reg_reply(s, fixed.account_id); return rv; }
// アカウント変数送信要求 static void mapif_parse_AccRegRequest(int fd) { mapif_account_reg_reply(fd, RFIFOL(fd, 2)); }
// Request the value of account_reg int mapif_parse_AccRegRequest(int fd) { // printf("mapif: accreg request\n"); return mapif_account_reg_reply(fd,RFIFOL(fd,2)); }