2026-03-31 07:42:56 -04:00
|
|
|
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
class UJoinGame;
|
|
|
|
|
|
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
|
#include "Blueprint/UserWidget.h"
|
|
|
|
|
#include "SignInOverlay.generated.h"
|
|
|
|
|
|
|
|
|
|
class UPortalManager;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
UCLASS()
|
|
|
|
|
class DEDICATEDSERVERS_API USignInOverlay : public UUserWidget
|
|
|
|
|
{
|
|
|
|
|
GENERATED_BODY()
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
UPROPERTY(meta = (BindWidget))
|
|
|
|
|
TObjectPtr<UJoinGame> JoinGameWidget;
|
|
|
|
|
|
|
|
|
|
UPROPERTY(EditDefaultsOnly)
|
|
|
|
|
TSubclassOf<UPortalManager> PortalManagerClass;
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
virtual void NativeConstruct() override;
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
UPROPERTY()
|
|
|
|
|
TObjectPtr<UPortalManager> PortalManager;
|
2026-03-31 08:15:28 -04:00
|
|
|
|
|
|
|
|
UFUNCTION()
|
|
|
|
|
void OnJoinGameButtonClicked();
|
|
|
|
|
|
|
|
|
|
UFUNCTION()
|
|
|
|
|
void UpdateJoinGameStatusMessage(const FString& StatusMessage);
|
2026-03-31 07:42:56 -04:00
|
|
|
};
|