Files
BusyRabbit/Source/BusyRabbit/Public/BusyDataAsset.h
2025-07-09 01:08:35 +08:00

37 lines
883 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Engine/DataAsset.h"
#include "Blueprint/UserWidget.h"
#include "BusyDataAsset.generated.h"
UCLASS()
class BUSYRABBIT_API UBusyActorClassAsset: public UDataAsset
{
GENERATED_BODY()
public:
UPROPERTY(EditAnywhere, Category = "Blueprint Mapping")
TMap<FString, TSubclassOf<AActor>> ClassPathConfig;
};
/**
*
*/
UCLASS()
class BUSYRABBIT_API UBusyDataAsset : public UDataAsset
{
GENERATED_BODY()
public:
UPROPERTY(EditAnywhere, Category = "DataTable Mapping")
TMap<FString, TObjectPtr<UDataTable>> DataTableMapping;
UPROPERTY(EditAnywhere, Category = "Actor Class Mapping")
TMap<FString, TSubclassOf<AActor>> ClassPathMapping;
UPROPERTY(EditAnywhere, Category = "UI Class Mapping")
TMap<FString, TSubclassOf<UUserWidget>> UIPathMapping;
};