Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h |
Include |
#include "Editor/EditorEngine.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/PlayLevel.cpp |
virtual void CreateNewPlayInEditorInstance
(
FRequestPlaySessionParams & InRequestParams,
const bool bInDedicatedInstance,
const EPlayNetMode InNetMode
)
Creates a new Play in Editor instance (which may be in a new process if not running under one process. This reads the current session state to start the next instance needed.
Parameter |
Description |
---|---|
InRequestParams |
Mostly used for global settings. Probably shouldn't vary per instance. |
bInDedicatedInstance |
If true, this will create a dedicated server instance. Shouldn't be used if we're using multiple processes. |
InNetMode |
The net mode to launch this instance with. Not pulled from the RequestParams because some net modes (such as ListenServer) need different net modes for subsequent instances. |