Module |
|
Header |
/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionProxy.h |
Include |
#include "NetworkPredictionProxy.h" |
Source |
/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionProxyInit.h |
template<typename ModelDef>
void Init
(
UWorld * World,
const FReplicationProxySet & RepProxies,
typename ModelDef::Simulation * Simulation,
typename ModelDef::Driver * Driver
)
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.