FNetworkGUID

Implements a globally unique identifier for network related use.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/NetworkGuid.h

Include

#include "Misc/NetworkGuid.h"

Syntax

class FNetworkGUID

Remarks

Implements a globally unique identifier for network related use.

For now, this is just a uint32 with some bits meaning special things. This may be expanded (beyond a uint32) eventually while keeping the API the same.

Variables

Name Description

Public variable

uint32

 

Value

Constructors

Name Description

Public function

FNetworkGUID()

Public function

FNetworkGUID

(
    uint32 V
)

Functions

Name Description

Public function

void

 

BuildFromNetIndex

(
    int32 StaticNetIndex
)

Public function

int32

 

ExtractNetIndex()

Public function Static

FNetworkGUID

 

GetDefault()

Public function Const

bool

 

IsDefault()

A Valid but unassigned NetGUID

Public function Const

bool

 

IsDynamic()

Public function Const

bool

 

IsStatic()

Public function Const

bool

 

IsValid()

Public function Static

FNetworkGUID

 

Make

(
    int32 seed,
    bool bIsStatic
)

Public function

bool

 

NetSerialize

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

Public function

void

 

Reset()

Public function Const

FString

 

ToString()

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