Navigation
API > API/Plugins > API/Plugins/NetworkPrediction
Redirects NetSerialize to a dynamically set NetSerializeFunc. This is how we hook into the replication systems role-based serialization
| Name | FReplicationProxy |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionReplicationProxy.h |
| Include Path | #include "NetworkPredictionReplicationProxy.h" |
Syntax
USTRUCT ()
struct FReplicationProxy
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NetSerializeFunc | TFunction< void(const FNetSerializeParams &P)> | NetworkPredictionReplicationProxy.h | ||
| NetSimProxy | FNetworkPredictionProxy * | NetworkPredictionReplicationProxy.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedPendingFrame | int32 | NetworkPredictionReplicationProxy.h | ||
| ReplicationTarget | EReplicationProxyTarget | NetworkPredictionReplicationProxy.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Identical
(
const FReplicationProxy* Other, |
NetworkPredictionReplicationProxy.h | ||
void Init
(
FNetworkPredictionProxy* InNetSimProxy, |
NetworkPredictionReplicationProxy.h | ||
bool NetSerialize
(
FArchive& Ar, |
NetworkPredictionReplicationProxy.h | ||
void OnPreReplication() |
NetworkPredictionReplicationProxy.h |