int inter_storage_parse_frommap(int fd) { switch(RFIFOW(fd,0)){ case 0x3018: mapif_parse_LoadGuildStorage(fd); break; case 0x3019: mapif_parse_SaveGuildStorage(fd); break; default: return 0; } return 1; }
int inter_storage_parse_frommap(int fd) { RFIFOHEAD(fd); switch( RFIFOW(fd,0) ) { case 0x3018: mapif_parse_LoadGuildStorage(fd); break; case 0x3019: mapif_parse_SaveGuildStorage(fd); break; #ifdef BOUND_ITEMS case 0x3056: mapif_parse_itembound_retrieve(fd); break; #endif default: return 0; } return 1; }