/// Notifies the client about the result of a request to take off an item (ZC_REQ_TAKEOFF_EQUIP_ACK). /// 00ac .W .W .B /// 08d1 .W .W .B /// 099a .W .L .B /// result: /// 0 = failure /// 1 = success void clif_unequipitemack(struct map_session_data *sd,int n,int pos,int ok) { int fd; long pos_v5 = (long)pos; nullpo_retv(sd); fd=sd->fd; #if PACKETVER < 20130000 WFIFOHEAD(fd,packet_len(0xac)); #else WFIFOHEAD(fd,packet_len(0x99a)); #endif WFIFOW(fd,0)=0xac; WFIFOW(fd,2)=n+2; #if PACKETVER < 20130000 WFIFOW(fd,4)=pos; WFIFOB(fd,6)=ok; WFIFOSET(fd,packet_len(0xac)); #else WBUFL(fd,4)=pos_v5; WFIFOB(fd,8)=ok; WFIFOSET(fd,packet_len(0x99a)); #endif }