You've already forked LuckyWorld
40 lines
903 B
C++
40 lines
903 B
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Blueprint/UserWidget.h"
|
|
#include "SelectGoalUserWidget.generated.h"
|
|
|
|
class UComboBoxString;
|
|
class UPathfindingSelectorUserWidget;
|
|
/**
|
|
*
|
|
*/
|
|
UCLASS()
|
|
class LUCKYWORLDV2_API USelectGoalUserWidget : public UUserWidget
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
protected:
|
|
virtual void NativeConstruct() override;
|
|
|
|
public:
|
|
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Config")
|
|
UDataTable* AllGoalListDataTable;
|
|
|
|
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
|
UPathfindingSelectorUserWidget* NavigateSimpleEnvironments;
|
|
|
|
public:
|
|
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
|
bool bInitAddOption;
|
|
|
|
public:
|
|
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
|
void DoAutoConfirm();
|
|
|
|
UFUNCTION(BlueprintPure, BlueprintImplementableEvent)
|
|
UComboBoxString* GetComboBoxString();
|
|
};
|