// 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; class USizeBox; /** * */ 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; UPROPERTY(EditAnywhere, BlueprintReadWrite) UUserWidget* CreatedUserWidget; public: FTimerHandle DelayAddGoalTimerHandle; public: UPROPERTY(EditAnywhere, BlueprintReadWrite) bool bInitAddOption; public: UFUNCTION(BlueprintCallable) void DoSelectionChanged(const FString& SelectedItem); UFUNCTION(BlueprintCallable) void DoCloseWindow(); UFUNCTION(BlueprintCallable) void DoAutoConfirm(); UFUNCTION(BlueprintCallable) void DoAddGoalAndStopTracing(); void DelayAddGoal(); public: UFUNCTION(BlueprintPure, BlueprintImplementableEvent) UComboBoxString* GetComboBoxString(); UFUNCTION(BlueprintPure, BlueprintImplementableEvent) USizeBox* GetSizeBox(); UFUNCTION(BlueprintCallable, BlueprintImplementableEvent) void DoSendDetail(const FString& Explanationn); UFUNCTION(BlueprintCallable, BlueprintImplementableEvent) void DoSaveGoalsBTNClick(); };