FNetworkPredictionProxy::ReadSyncState

Returns Presentation SyncState by default, if it is set. Otherwise returns pending Simulation value.

Windows
MacOS
Linux

References

Module

NetworkPrediction

Header

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

Include

#include "NetworkPredictionProxy.h"

Syntax

template<typename TSyncState>
const TSyncState * ReadSyncState
(
    ENetworkPredictionStateRead ReadType
) const

Remarks

Returns Presentation SyncState by default, if it is set. Otherwise returns pending Simulation value.

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