Module |
|
Header |
/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionWorldManager.h |
Include |
#include "NetworkPredictionWorldManager.h" |
template<typename ModelDef>
void ConfigureInstance
(
FNetworkPredictionID ID,
const FNetworkPredictionInstanceArchetype & Archetype,
const FNetworkPredictionInstanceConfig & Config,
FReplicationProxySet RepProxies,
ENetRole Role,
bool bHasNetConnection
)
This is the function that takes the config and current network state (role/connection) and subscribes to the appropriate internal NetworkPrediction services.