FScopedBandwidthLimitBypass

Helper struct to bypass the bandwidth limit imposed by the engine's NetDriver (QueuedBits, NetSpeed, etc).

Windows
MacOS
Linux

References

Module

NetworkPrediction

Header

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

Include

#include "NetworkPredictionTypes.h"

Syntax

struct FScopedBandwidthLimitBypass

Remarks

Helper struct to bypass the bandwidth limit imposed by the engine's NetDriver (QueuedBits, NetSpeed, etc). This is really a temp measure to make the system easier to drop in/try in a project without messing with your engine settings. (bandwidth optimizations have not been done yet and the system in general hasn't been stressed with packetloss / gaps in command streams) So, you are free to use this in your own code but it may be removed one day. Hopefully in general bandwidth limiting will also become more robust.

Constructors

Name Description

Public function

FScopedBandwidthLimitBypass

(
    AActor* OwnerActor
)

Destructors

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