// © 2025 Naked People Team. All Rights Reserved. #include "ClothingItemData.h" #include "../SaveGame/ClothingItemSaveData.h" FClothingItemSaveData UClothingItemData::ToSaveData() const { FClothingItemSaveData SaveData; SaveData.ClothingItem = Info; return SaveData; } UClothingItemData* UClothingItemData::CreateFromSaveData(const FClothingItemSaveData& SaveData) { UClothingItem* ClothingItem = SaveData.ClothingItem.LoadSynchronous(); UClothingItemData* ClothingItemData = NewObject(); ClothingItemData->Info = ClothingItem; return ClothingItemData; }