TNetworkedSimulationModel::SetDesiredServerRPCSendFrequency

RPC Sending helper: provides basic send frequency settings for tracking when the Server RPC can be invoked.

Windows
MacOS
Linux

References

Module

NetworkPrediction

Header

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

Include

#include "NetworkedSimulationModel.h"

Syntax

void SetDesiredServerRPCSendFrequency
(
    float DesiredHz
)

Remarks

RPC Sending helper: provides basic send frequency settings for tracking when the Server RPC can be invoked. Note that the Driver is the one that must call the RPC, that cannot be rolled into this templated structure. More flexbile/dynamic send rates may be desireable. There is not reason this has to be done here, it could completely be tracked at the driver level, but that will also push more boilerplate to that layer for users.

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