ANetworkPredictionExtrasCharacter::GetNetConnection

Get the owning connection used for communicating between client/server

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

AActor::GetNetConnection()

APawn::GetNetConnection()

ANetworkPredictionExtrasCharacter::GetNetConnection()

References

Module

NetworkPredictionExtras

Header

/Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/NetworkPredictionExtrasCharacter.h

Include

#include "NetworkPredictionExtrasCharacter.h"

Source

/Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Private/NetworkPredictionExtrasCharacter.cpp

Syntax

virtual UNetConnection * GetNetConnection() const

Remarks

Get the owning connection used for communicating between client/server

Returns

NetConnection to the client or server for this actor