Files
2026-04-22 15:51:07 +02:00

119 lines
4.1 KiB
C++

#pragma once
#include "CoreMinimal.h"
#include "FortActivatablePanel.h"
#include "FortAccountPinLinkingWindow.generated.h"
class UBackgroundBlur;
class UCircularThrobber;
class UCommonButton;
class UCommonTextBlock;
class UCommonWidgetSwitcher;
class UVerticalBox;
UCLASS(Abstract, Blueprintable, EditInlineNew)
class UFortAccountPinLinkingWindow : public UFortActivatablePanel {
GENERATED_BODY()
public:
DECLARE_DYNAMIC_MULTICAST_DELEGATE(FFortNewPlatformReceipt);
private:
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UCommonWidgetSwitcher* Switcher_Main;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UBackgroundBlur* PinGrantCodeInfoBlur;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UBackgroundBlur* InitialRequestBlur;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UBackgroundBlur* SkipSignInBlur;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UCommonWidgetSwitcher* Switcher_NoThanks;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UCircularThrobber* Throbber_LoginDelay;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UCircularThrobber* Throbber_GettingPinCode;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UCommonButton* Button_GoLinking;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UCommonButton* Button_SkipLinking;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UCommonButton* Button_GenerateCode;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UCommonButton* Button_CancelPinRequest;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UCommonButton* Button_SkipGoBackLinking;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UCommonButton* Button_SkipSignInNoThanks;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UCommonTextBlock* Text_PinCode;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UCommonTextBlock* Text_ErrorMsg;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UCommonTextBlock* Text_ActivationURL;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UCommonTextBlock* Text_CodeExpiringTime;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UCommonTextBlock* Text_Info;
UPROPERTY(BlueprintReadWrite, EditAnywhere, Instanced, meta=(AllowPrivateAccess=true))
UVerticalBox* Container_ActivationURL;
public:
UFortAccountPinLinkingWindow();
UFUNCTION(BlueprintCallable)
void UpdateExpiringTime(int32 RemainingTime);
UFUNCTION(BlueprintCallable)
void ShowCurrentPinInfo();
UFUNCTION(BlueprintCallable)
void SetPinGrantInfo(const FString& PinCode, const FString& ActivationURL, const FText& InfoText);
UFUNCTION(BlueprintCallable)
void SetInitialSection();
UFUNCTION(BlueprintCallable)
void PinCodeIssue(const FText& ErrorMessage, const FText& InfoText);
protected:
UFUNCTION(BlueprintCallable)
void HandleSkipNoThanksClicked();
UFUNCTION(BlueprintCallable)
void HandleSkipLinkingClicked();
UFUNCTION(BlueprintCallable)
void HandleGoLinkingClicked();
UFUNCTION(BlueprintCallable)
void HandleGoBackToInitialRequest();
UFUNCTION(BlueprintCallable)
void HandleGenerateCodeClicked();
UFUNCTION(BlueprintCallable)
void HandleCancelPinRequestClicked();
public:
UFUNCTION(BlueprintCallable)
void CreateHeadlessAccount();
};