37 lines
		
	
	
		
			883 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			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;
 | |
| };
 |