FReplicationProxy

Redirects NetSerialize to a dynamically set NetSerializeFunc.

Windows
MacOS
Linux

References

Module

NetworkPrediction

Header

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

Include

#include "NetworkPredictionReplicationProxy.h"

Syntax

[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)()
struct FReplicationProxy

Remarks

Redirects NetSerialize to a dynamically set NetSerializeFunc. This is how we hook into the replication systems role-based serialization

Variables

Functions

Name Description

Public function Const

bool

 

Identical

(
    const FReplicationProxy* Other,
    uint32 PortFlags
)

Public function

void

 

Init

(
    FNetworkPredictionProxy* InNet...,
    EReplicationProxyTarget InReplicati...
)

Public function

bool

 

NetSerialize

(
    FArchive& Ar,
    UPackageMap* Map,
    bool& bOutSuccess
)

Public function

void

 

OnPreReplication()

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