UEditorEngine::BuildPlayWorldURL

Builds a URL for game spawned by the editor (not including map name!).

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h

Include

#include "Editor/EditorEngine.h"

Source

/Engine/Source/Editor/UnrealEd/Private/PlayLevel.cpp

Syntax

virtual FString BuildPlayWorldURL
(
    const TCHAR * MapName,
    bool bSpectatorMode,
    FString AdditionalURLOptions
)

Remarks

Builds a URL for game spawned by the editor (not including map name!).

Returns

The URL for the game

Parameters

Parameter

Description

MapName

The name of the map to put into the URL

bSpecatorMode

If true, the player starts in spectator mode

AdditionalURLOptions

Additional URL Options to append (e.g, ?OptionX?OptionY). This is in addition to InEditorGameURLOptions.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss