SDK for / Overview

XsollaLoginBrowserWrapper.h

1// Copyright 2024 Xsolla Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Blueprint/UserWidget.h"
7#include "XsollaLoginBrowserWrapper.generated.h"
8
12DECLARE_DELEGATE_TwoParams(FOnLoginBrowserClosed, bool, FString);
13
14UCLASS()
15class XSOLLALOGIN_API UXsollaLoginBrowserWrapper : public UUserWidget
16{
17GENERATED_BODY()
18
19public:
20UFUNCTION(BlueprintCallable, BlueprintImplementableEvent, Category = "Xsolla|Login|Browser")
21void LoadUrl(const FString& Url);
22
23UFUNCTION(BlueprintCallable, Category = "Xsolla|Login|Browser")
24void ExecuteBrowserClosed(bool bIsManually, const FString& AuthenticationCode);
25
26FOnLoginBrowserClosed OnBrowserClosed;
27};
Definition: XsollaLoginBrowserWrapper.h:16