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()

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback