import { OutPacketBase } from 'packets/out/packet' ; class export class OutFavoriteCosmetics { public static build ( ctItem , terItem , headItem , gloveItem , backItem , stepsItem , cardItem , sprayItem , outPacket ) { outPacket . writeUInt8 ( 10 ) ; let curItem = 0 ; this . writeItem ( ctItem , curItem ++ , outPacket ) ; this . writeItem ( terItem , curItem ++ , outPacket ) ; this . writeItem ( headItem , curItem ++ , outPacket ) ; this . writeItem ( gloveItem , curItem ++ , outPacket ) ; this . writeItem ( backItem , curItem ++ , outPacket ) ; this . writeItem ( stepsItem , curItem ++ , outPacket ) ; this . writeItem ( cardItem , curItem ++ , outPacket ) ; this . writeItem ( sprayItem , curItem ++ , outPacket ) ; this . writeItem ( 0 , curItem ++ , outPacket ) ; this . writeItem ( 0 , curItem ++ , outPacket ) ; } private static writeItem ( itemNum , curItem , outPacket ) { outPacket . writeUInt8 ( curItem ) ; outPacket . writeUInt32 ( itemNum ) ; } }