Lesson 68 - JoinGame Callbacks

This commit is contained in:
Norman Lansing
2026-03-31 08:15:28 -04:00
parent cc35c1bd1b
commit 2d8de0369c
7 changed files with 44 additions and 0 deletions

View File

@@ -6,6 +6,8 @@
#include "UI/HTTP/HTTPRequestManager.h"
#include "PortalManager.generated.h"
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FBroadcastJoinGameSessionMessage, const FString&, StatusMessage);
/**
*
*/
@@ -13,4 +15,11 @@ UCLASS()
class DEDICATEDSERVERS_API UPortalManager : public UHTTPRequestManager
{
GENERATED_BODY()
public:
UPROPERTY(BlueprintAssignable)
FBroadcastJoinGameSessionMessage BroadcastJoinGameSessionMessage;
void JoinGameSession();
};

View File

@@ -34,4 +34,10 @@ private:
UPROPERTY()
TObjectPtr<UPortalManager> PortalManager;
UFUNCTION()
void OnJoinGameButtonClicked();
UFUNCTION()
void UpdateJoinGameStatusMessage(const FString& StatusMessage);
};