FServerReplicationRPCParameter

FServerRPCProxyParameter Used for the client->Server RPC.

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 FServerReplicationRPCParameter

Remarks

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).

Constructors

Name Description

Public function

FServerReplicationRPCParameter()

Receive flow: ctor() -> NetSerializetoProxy.

Public function

FServerReplicationRPCParameter

(
    FReplicationProxy& InProxy
)

Send flow: ctor(Proxy) -> NetSerialize.

Functions

Name Description

Public function

bool

 

NetSerialize

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

Public function

void

 

NetSerializeToProxy

(
    FReplicationProxy& InProxy
)

Constants

Name

Description

TempStorage

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