SDKs code references for Unreal Engine
Easily embed Xsolla services with this ready-to-use libraries for Unreal Engine applications and games.
XsollaSocialLinkingBrowserWrapper.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 "XsollaSocialLinkingBrowserWrapper.generated.h"
8
12DECLARE_DELEGATE_FourParams(FOnSocialLinkingBrowserClosed, bool bIsManually, const FString& Token, const FString& ErrorCode, const FString& ErrorDescription);
13
14UCLASS()
15class XSOLLALOGIN_API UXsollaSocialLinkingBrowserWrapper : public UUserWidget
16{
17 GENERATED_BODY()
18
19public:
20 UFUNCTION(BlueprintCallable, BlueprintImplementableEvent, Category = "Xsolla|Login|Browser")
21 void LoadUrl(const FString& Url);
22
23 UFUNCTION(BlueprintCallable, Category = "Xsolla|Login|Browser")
24 void ExecuteBrowserClosed(bool bIsManually, const FString& Token, const FString& ErrorCode, const FString& ErrorDescription);
25
26 FOnSocialLinkingBrowserClosed OnBrowserClosed;
27};
Definition: XsollaSocialLinkingBrowserWrapper.h:16