FUniqueNetIdString

Unique net id wrapper for a string

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

TSharedFromThis

FUniqueNetId

FUniqueNetIdString

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/OnlineSubsystemTypes.h

Include

#include "OnlineSubsystemTypes.h"

Syntax

class FUniqueNetIdString : public FUniqueNetId

Remarks

Unique net id wrapper for a string

Variables

Name Description

Public variable

FName

 

Type

Public variable

FString

 

UniqueNetIdStr

Holds the net id for a player

Constructors

Name Description

Public function

FUniqueNetIdString()

Public constructors of FUniqueNetId types are deprecated. Please use the corresponding Create method instead to create a FUniqueNetIdRef

Public function

FUniqueNetIdString

(
    const FString& InUniqueNetId
)

Public constructors of FUniqueNetId types are deprecated. Please use the corresponding Create method instead to create a FUniqueNetIdRef

Public function

FUniqueNetIdString

(
    FString&& InUniqueNetId
)

Public constructors of FUniqueNetId types are deprecated. Please use the corresponding Create method instead to create a FUniqueNetIdRef

Public function

FUniqueNetIdString

(
    const FUniqueNetId& Src
)

Public constructors of FUniqueNetId types are deprecated. Please use the corresponding Create method instead to create a FUniqueNetIdRef

Public function

FUniqueNetIdString

(
    const FString& InUniqueNetId,
    const FName InType
)

Public constructors of FUniqueNetId types are deprecated. Please use the corresponding Create method instead to create a FUniqueNetIdRef

Protected function

FUniqueNetIdString

(
    FString&& InUniqueNetId,
    const FName InType
)

Destructors

Name Description

Public function Virtual

~FUniqueNetIdString()

Functions

Name Description

Public function Static

FUniqueNetId...

 

Create

(
    FString&& InUniqueNetId,
    const FName InType
)

Public function Static

FUniqueNetId...

 

Create

(
    const FString& InUniqueNetId,
    const FName InType
)

Public function Static

FUniqueNetId...

 

EmptyId()

Overridden from FUniqueNetId

Name Description

Public function Virtual Const

const uint8 ...

 

GetBytes()

Get the raw byte representation of this opaque data This data is platform dependent and shouldn't be manipulated directly

Public function Virtual Const

int32

 

GetSize()

Get the size of the opaque data

Public function Virtual Const

FName

 

GetType()

Get the type token for this opaque data This is useful for inferring UniqueId subclasses and knowing which OSS it "goes with"

Public function Virtual Const

bool

 

IsValid()

Check the validity of the opaque data

Public function Virtual Const

FString

 

ToDebugString()

Get a human readable representation of the opaque data Shouldn't be used for anything other than logging/debugging

Public function Virtual Const

FString

 

ToString()

Platform specific conversion to string representation of data

Deprecated Functions

Name Description

Public function Static

FUniqueNetId...

 

Create

(
    FString&& InUniqueNetId
)

This FUniqueNetIdString Create method is deprecated. Please use Create(FString&& InUniqueNetId, const FName InType)

Public function Static

FUniqueNetId...

 

Create

(
    const FString& InUniqueNetId
)

This FUniqueNetIdString Create method is deprecated. Please use Create(const FString& InUniqueNetId, const FName InType)

Public function

 

FUniqueNetIdString

(
    const FString& InUniqueNetId,
    const FName InType
)

Public constructors of FUniqueNetId types are deprecated. Please use the corresponding Create method instead to create a FUniqueNetIdRef

Public function

 

FUniqueNetIdString()

Public constructors of FUniqueNetId types are deprecated. Please use the corresponding Create method instead to create a FUniqueNetIdRef

Public function

 

FUniqueNetIdString

(
    const FString& InUniqueNetId
)

Public constructors of FUniqueNetId types are deprecated. Please use the corresponding Create method instead to create a FUniqueNetIdRef

Public function

 

FUniqueNetIdString

(
    FString&& InUniqueNetId
)

Public constructors of FUniqueNetId types are deprecated. Please use the corresponding Create method instead to create a FUniqueNetIdRef

Public function

 

FUniqueNetIdString

(
    const FUniqueNetId& Src
)

Public constructors of FUniqueNetId types are deprecated. Please use the corresponding Create method instead to create a FUniqueNetIdRef