init
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
// © 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);
|
||||
};
|
||||
Reference in New Issue
Block a user