Navigation
API > API/Plugins > API/Plugins/NetworkPrediction
FServerRPCProxyParameter Used for the client->Server RPC. Since this is instantiated on the stack by the replication system prior to net serializing, we have no opportunity to point the RPC parameter to the member variables we want. So we serialize into a generic temp byte buffer and move them into the real buffers on the component in the RPC body (via ::NetSerialzeToProxy).
| Name | FServerReplicationRPCParameter |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionReplicationProxy.h |
| Include Path | #include "NetworkPredictionReplicationProxy.h" |
Syntax
USTRUCT ()
struct FServerReplicationRPCParameter
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Receive flow: ctor() -> NetSerializetoProxy. | NetworkPredictionReplicationProxy.h | ||
FServerReplicationRPCParameter
(
FReplicationProxy& InProxy |
Send flow: ctor(Proxy) -> NetSerialize. | NetworkPredictionReplicationProxy.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TempStorage | TArray< uint8 > | NetworkPredictionReplicationProxy.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedNumBits | int64 | NetworkPredictionReplicationProxy.h | ||
| CachedPackageMap | UPackageMap * | NetworkPredictionReplicationProxy.h | ||
| Proxy | FReplicationProxy * | NetworkPredictionReplicationProxy.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool NetSerialize
(
FArchive& Ar, |
NetworkPredictionReplicationProxy.h | ||
void NetSerializeToProxy
(
FReplicationProxy& InProxy |
NetworkPredictionReplicationProxy.h |