DRG-Femboy-Voice/Source/FSD/Public/TutorialLevelWidget.h
2025-04-15 12:39:31 -07:00

37 lines
1 KiB
C++
Executable file

#pragma once
#include "CoreMinimal.h"
#include "FSDUserWidget.h"
#include "Templates/SubclassOf.h"
#include "TutorialLevelWidget.generated.h"
class UTutorialContentWidget;
UCLASS(Blueprintable, EditInlineNew)
class UTutorialLevelWidget : public UFSDUserWidget {
GENERATED_BODY()
public:
protected:
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
float DelayBetweenTutorials;
public:
UTutorialLevelWidget();
UFUNCTION(BlueprintCallable)
void ShowTutorialWidget(TSubclassOf<UTutorialContentWidget> TutorialWidget, bool ignoreQueue);
UFUNCTION(BlueprintCallable)
void RemoveTutorialWidget(UTutorialContentWidget* TutorialWidget);
UFUNCTION(BlueprintCallable)
void RemoveAllTutorials();
protected:
UFUNCTION(BlueprintCallable)
void OnTutorialFinished(UTutorialContentWidget* TutorialWidget);
public:
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
void OnNewActiveTutorial(UTutorialContentWidget* Widget);
};