Player Sessions Completed - working project at this point

This commit is contained in:
Norman Lansing
2026-04-07 06:36:11 -04:00
parent b7c4a07d00
commit 1370b05ff4
458 changed files with 287 additions and 36 deletions

View File

@@ -167,6 +167,15 @@ void UPortalManager::FindPlayerSession_Response(FHttpRequestPtr Request, FHttpRe
const FString IPAndPort = PlayerSession.IpAddress + TEXT(":") + FString::FromInt(PlayerSession.Port);
const FName Address(*IPAndPort);
APlayerController* LocalPlayerController = GEngine->GetFirstLocalPlayerController(GetWorld());
if (IsValid(LocalPlayerController))
{
FInputModeGameOnly InputModeData;
LocalPlayerController->SetInputMode(InputModeData);
LocalPlayerController->SetShowMouseCursor(false);
}
UGameplayStatics::OpenLevel(this, Address);
}
}