IConcertClientPresenceManager::GetPresenceWorldPath

Returns the path to the [UWorld](API\Runtime\Engine\Engine\UWorld) object opened in the editor of the specified client endpoint.

Windows
MacOS
Linux

References

Module

ConcertSyncClient

Header

/Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncClient/Source/ConcertSyncClient/Public/IConcertClientPresenceManager.h

Include

#include "IConcertClientPresenceManager.h"

Syntax

FString GetPresenceWorldPath
(
    const FGuid & EndpointId,
    EEditorPlayMode & OutEditorPlayMode
) const

Remarks

Returns the path to the UWorld object opened in the editor of the specified client endpoint. The information may be unavailable if the client was disconnected, the information hasn't replicated yet or the code was not compiled as part of the UE Editor. This function always returns the editor context world path, never the PIE/SIE context world path (which contains a UEDPIE_d_ decoration embedded) even if the user is in PIE or SIE. For example, the PIE/SIE context world path would look like '/Game/UEDPIE_10_FooMap.FooMap' while the editor context world returned by this function looks like '/Game/FooMap.FooMap'.

Returns

The path to the world being opened in the specified end point editor or an empty string if the information is not available.

Parameters

Parameter

Description

EndpointId

The endpoint of a client connected to the session (local or remote).

OutEditorPlayMode

Indicates if the client corresponding to the end point is in PIE, SIE or simply editing.

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