UNetworkPredictionComponent::InitializeForNetworkRole

Finalizes initialization when NetworkRole changes. Does not need to be overridden.

Windows
MacOS
Linux

References

Module

NetworkPrediction

Header

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

Include

#include "NetworkPredictionComponent.h"

Source

/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Private/NetworkPredictionComponent.cpp

Syntax

virtual void InitializeForNetworkRole
(
    ENetRole Role,
    const bool bHasNetConnection
)

Remarks

Finalizes initialization when NetworkRole changes. Does not need to be overridden.

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