28 lines
597 B
C++
28 lines
597 B
C++
// © 2025 Naked People Team. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "ClothingItem.h"
|
|
#include "ClothingItemData.generated.h"
|
|
|
|
struct FClothingItemSaveData;
|
|
/**
|
|
*
|
|
*/
|
|
UCLASS(EditInlineNew, BlueprintType)
|
|
class NAKEDDESIRE_API UClothingItemData : public UObject
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
UPROPERTY(BlueprintReadOnly, EditDefaultsOnly)
|
|
UClothingItem* Info = nullptr;
|
|
|
|
UFUNCTION(BlueprintCallable)
|
|
FClothingItemSaveData ToSaveData() const;
|
|
|
|
UFUNCTION(BlueprintCallable)
|
|
static UClothingItemData* CreateFromSaveData(const FClothingItemSaveData& SaveData);
|
|
};
|