Language:
Discover
By Skill Level
By Category

FUniqueNetIdRepl

Choose your OS:

Inheritance Hierarchy

FUniqueNetIdWrapper

FUniqueNetIdRepl

Syntax

struct FUniqueNetIdRepl : public FUniqueNetIdWrapper

Remarks

Wrapper for opaque type FUniqueNetId

Makes sure that the opaque aspects of FUniqueNetId are properly handled/serialized over network RPC and actor replication

Constructors

Name Description

Public function

FUniqueNetIdRepl()

Public function

FUniqueNetIdRepl

(
    const FUniqueNetIdRepl & InWrapper
)

Public function

FUniqueNetIdRepl

(
    const FUniqueNetIdWrapper & InWrapp...
)

Public function

FUniqueNetIdRepl

(
    const TSharedRef < const FUniqueNetI ...
)

Public function

FUniqueNetIdRepl

(
    const TSharedPtr < const FUniqueNetI ...
)

Destructors

Name Description

Public function Virtual

~FUniqueNetIdRepl()

Functions

Name Description

Public function

bool

 

ExportTextItem

(
    FString & ValueStr,
    FUniqueNetIdRepl const& DefaultVal...,
    UObject * Parent,
    int32 PortFlags,
    UObject * ExportRootScope
)

Export contents of this struct as a string

Public function

void

 

FromJson

(
    const FString & InValue
)

Create a unique id from a json string

Public function

bool

 

ImportTextItem

(
    const TCHAR *& Buffer,
    int32 PortFlags,
    UObject * Parent,
    FOutputDevice * ErrorText
)

Import string contexts and try to map them into a unique id

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) b...

 

NetSerialize

(
    FArchive & Ar,
    UPackageMap * Map,
    bool& bOutSuccess
)

Network serialization

Public function

bool

 

Serialize

(
    FArchive & Ar
)

Serialization to any FArchive

Public function

TSharedRef < ...

 

ToJson()

Convert this unique id to a json value

Protected function

void

 

UniqueIdFromString

(
    const FString & Contents
)

Helper to create an FUniqueNetId from a string

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/OnlineReplStructs.h