UNetworkPredictionWorldManager::CreateSimulationID

Returns unique ID for a new simulation instance regardless of type.

Windows
MacOS
Linux

References

Module

NetworkPrediction

Header

/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionWorldManager.h

Include

#include "NetworkPredictionWorldManager.h"

Syntax

FNetworkPredictionID CreateSimulationID
(
    const bool bForClient
)

Remarks

Returns unique ID for a new simulation instance regardless of type. Clients set bForClient to get a negative, temp ID to use until server version comes in

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