FNetworkPredictionProxy::Init

The init function that you need to call. This is defined in NetworkPredictionProxyInit.h (which should only be included by your .cpp file)

Windows
MacOS
Linux

References

Module

NetworkPrediction

Header

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

Include

#include "NetworkPredictionProxy.h"

Source

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

Syntax

template<typename ModelDef>
void Init
(
    UWorld * World,
    const FReplicationProxySet & RepProxies,
    typename ModelDef::Simulation * Simulation,
    typename ModelDef::Driver * Driver
)

Remarks

The init function binds to the templated methods on UNetworkPredictionMAnager. This will "bring in" all the templated systems on NP, so this file should only be included in your .cpp file that is calling Init.

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