Exemplo n.º 1
0
        public Outfit Deserialize(OutfitData outfitData)
        {
            var outfit             = new Outfit(outfitData.outfitType);
            var itemUiDataTransfer = new ItemUiDataTransfer();

            itemUiDataTransfer.SetItemUiSlotIndex(outfitData.slotUiIndex);
            outfit.SetItemUi(itemUiDataTransfer);
            return(outfit);
        }