Files
BusyRabbit/Source/BusyRabbit/Public/Tables/BusyPreCookTable.h
wyatt be6e40383d 刀光预研
初步实现了刀光交互效果
2025-08-27 00:56:05 +08:00

35 lines
890 B
C

#pragma once
#include "CoreMinimal.h"
#include "Engine/Texture2D.h"
#include "BusyPreCookTable.generated.h"
UENUM(BlueprintType)
enum class EPreCookSlotType: uint8{
PreCookTool = 0,
PreCookContainer = 1,
PreCookRawMaterial = 2,
PreCookFinishedMaterial = 3
};
USTRUCT(BlueprintType)
struct FBusyPreCookItemConfig: public FTableRowBase {
GENERATED_BODY()
UPROPERTY(EditAnywhere, BlueprintReadOnly, DisplayName = "名称")
FText Name;
UPROPERTY(EditAnywhere, BlueprintReadOnly, DisplayName = "描述")
FText Desc;
UPROPERTY(EditAnywhere, BlueprintReadOnly, DisplayName = "备注")
FString Description;
UPROPERTY(EditAnywhere, BlueprintReadOnly, DisplayName = "用于显示的资源")
TSoftObjectPtr<UTexture2D> DisplayResource;
UPROPERTY(EditAnywhere, BlueprintReadOnly, DisplayName = "放在中心时的资源")
TSoftObjectPtr<UTexture2D> CenterDisplayResource;
};