IOnlineSubsystemUtils::CreateForeignUniqueNetId

Create a TRANSPORT LAYER unique id NOTE: Do NOT Use this for anything other than replication to non native platforms This is NOT a shortcut for creating unique ids

Windows
MacOS
Linux

References

Module

OnlineSubsystemUtils

Header

/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Public/OnlineSubsystemUtils.h

Include

#include "OnlineSubsystemUtils.h"

Syntax

TSharedPtr< const FUniqueNetId > CreateForeignUniqueNetId
(
    const FString & Str,
    FName Type
) const

Remarks

Create a TRANSPORT LAYER unique id NOTE: Do NOT Use this for anything other than replication to non native platforms This is NOT a shortcut for creating unique ids

Returns

unique net id in "transport" format

Parameters

Parameter

Description

Str

string form an opaque unique net id

Type

name of the online subsystem this unique id belongs to

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