UNetworkPredictionWorldManager::ConfigureInstance

This is the function that takes the config and current network state (role/connection) and subscribes to the appropriate internal NetworkPrediction services.

Windows
MacOS
Linux

References

Module

NetworkPrediction

Header

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

Include

#include "NetworkPredictionWorldManager.h"

Syntax

template<typename ModelDef>
void ConfigureInstance
(
    FNetworkPredictionID ID,
    const FNetworkPredictionInstanceArchetype & Archetype,
    const FNetworkPredictionInstanceConfig & Config,
    FReplicationProxySet RepProxies,
    ENetRole Role,
    bool bHasNetConnection
)

Remarks

This is the function that takes the config and current network state (role/connection) and subscribes to the appropriate internal NetworkPrediction services.

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