NetworkPrediction

Windows
MacOS
Linux

Filters

Classes

Name

Description

Public class UClass

ANetworkPredictionReplicatedManager

Public struct

AuthorityOnly

Will only play on the authority path and not replicate to anyone else.

Public struct

FConditionalAutoConsoleRegister

This is required because these cvars live in header files that will be included across different compilation units Just using standard FAutoConsoleVariableRef will cause multiple registrations of the same variable

Public struct

FConditionalSimulationPtr

Public struct

FCueDispatcherTraitsBase

Traits for TNetSimCueDispatcher.

Public struct

FFixedTickState

(Global) Tick state for fixed tick services

Public struct

FGenericKinematicActorDef

Generic def for kinematic (non physics) actor that doesn't have a backing simulation.

Public struct

FGenericKinematicActorSyncState

Public struct

FGenericPhysicsModelDef

Generic model def for physics actors with no backing simulation

Public class

FGlobalCueTypeTable

GlobalCueTypeTable: Cue types register with this to get a Type ID assigned (TCue::ID).

Public struct

FNetSerializeParams

The parameters for NetSerialize that are passed around the system. Everything should use this, expecting to have to add more.

Public struct

FNetSimCueCallbacks

Callbacks

Public struct

FNetSimCueDispatcher

Non-templated, "networking model independent" base: this is what the pure simulation code gets to invoke cues.

Public struct

FNetSimCueSystemParamemters

System parameters for NetSimCue events

Public struct

FNetSimCueWrapperBase

Wrapper: wraps the actual user NetSimCue.

Public struct

FNetSimTimeStep

TimeStep info that is passed into SimulationTick.

Public struct UStruct

FNetworkPhysicsState

PhysicsState that is networked and marshelled between GT and PT.

Public struct

FNetworkPredictionDriver

This is the actual template to specialize when wanting to override functions.

Public struct

FNetworkPredictionDriverBase

Public struct

FNetworkPredictionID

Unique server assigned ID for a network sim instance.

Public struct

FNetworkPredictionInstanceArchetype

How a registered instance should behave globally.

Public struct

FNetworkPredictionInstanceConfig

The config should tell us what services we should be subscribed to.

Public struct

FNetworkPredictionModelDef

Public struct

FNetworkPredictionModelDefCapabilities

What a ModelDef of capable of.

Public class

FNetworkPredictionModelDefRegistry

Basic ModelDef type registry.

Public struct

FNetworkPredictionPhysicsState

Public struct UStruct

FNetworkPredictionProxy

Public struct

FNetworkPredictionSerialization

Public struct UStruct meta

FNetworkPredictionSettings

Public struct

FNetworkPredictionStateView

Generic view into a managed instance's state.

Public class

FNetworkPredictionTrace

Public struct UStruct

FReplicationProxy

Redirects NetSerialize to a dynamically set NetSerializeFunc.

Public struct

FReplicationProxySet

Collection of each replication proxy.

Public struct

FSavedCue

SavedCue: a recorded Invocation of a NetSimCue

Public struct

FScopedBandwidthLimitBypass

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

Public struct UStruct

FServerReplicationRPCParameter

FServerRPCProxyParameter Used for the client->Server RPC.

Public struct

FServiceTimeStep

Data that is needed to tick the internal ticking services but is not passed to the user code.

Public struct UStruct

FSharedPackageMap

Public struct UStruct

FSharedPackageMapItem

This is a replicated "manager" for network prediction.

Public struct

FVariableTickState

Variable tick state tracking for independent tick services.

Public class

INetworkPredictionModule

Public struct

NonReplicatedResimulated

Non replicated but if a resimulate happens, the cue is undone and replayed.

Public struct

ReplicatedNonPredicted

Only invoked on authority and will replicate to everyone else.

Public struct

ReplicatedXOrPredicted

Replicated to interpolating proxies, predicted by autonomous/simulated proxy Best for events you want everyone to see but don't need to get perfect in the predicting cases: doesn't need to rollback and cheap on cpu (no NetIdentical tests on predicted path)

Public struct

Strong

Invoked and replicated to all.

Public class

TCommonReplicator_AP

Server -> AP Client

Public class

TCommonReplicator_SP

Server -> SP Client Like the AP case, the core payload is the same between fixed and independent: Input/Sync/Aux/Physics/Cues

Public struct

TConditionalState

Public struct

TCueDispatcherTraits

Public class

TCueDispatchTable

Per-Receiver dispatch table. This is how we go from a serialized ID to a function call

Public class

TFixedTickReplicator_AP

Public class

TFixedTickReplicator_Server

AP Client -> Server replication

Public class

TFixedTickReplicator_SP

Public struct

THasNetIdenticalHelper

Helper to compile time check if NetIdentical exists (since argument is template type, must be wrapped in helper struct)

Public struct

THasNetSimCueTraits

Helper to see if T has a Traits type or not.

Public class

TIndependentTickReplicator_AP

Public class

TIndependentTickReplicator_Server

Public class

TIndependentTickReplicator_SP

Public struct

TNetCueNetIdenticalHelper

Helper to call NetIdentical if type defines it.

Public struct

TNetCueNetSerializeHelper

Helper to call NetSerialize if type defines it.

Public struct

TNetSimCueDispatcher

Templated cue dispatcher that can be specialized per networking model definition. This is what the system actually uses internally, but is not exposed to user code.

Public struct

TNetSimCueHandlerAutoRegisterHelper

Register a handler's cue types via a static "RegisterNetSimCueTypes" on the handler itself

Public struct

TNetSimCueSetHandlerAutoRegisterHelper

Register a handler's cue types via an intermediate "set" class with a static "RegisterNetSimCueTypes" function

Public struct

TNetSimCueTraits

Actual trait struct that we use to look up traits.

Public struct

TNetSimCueTraitsExplicit

Explicit trait settings. This can be used to explicitly set your traits without using a preset.

Public struct

TNetSimCueTypeAutoRegisterHelper

Register a cue type with the global table.

Public struct

TNetSimCueTypeRequirements

Type requirements: helper to determine if NetSerialize/NetIdentical functions need to be defined for user types based on the above traits.

Public struct

TNetSimCueWrapper

Public struct

TNetSimLazyWriter

Reference version of LazyWriter. This is what gets passed through chains of ::SimulationTick calls. This is to avoid copying the TFunction in TNetSimLazyWriterFunc around.

Public struct

TNetSimLazyWriterFunc

Helper struct to encapsulate optional, delayed writing of new element to TNetworkSimAuxBuffer buffer.

Public struct

TNetSimOutput

Output state: the output SyncState (always created) and TNetSimLazyWriter for the AuxState (created on demand since every tick does not generate a new aux frame)

Public struct

TNetworkedSimulationState

Public struct

TNetworkPredictionBuffer

Circular buffer for storing continuous frame data.

Public struct

TNetworkPredictionModelDefRegisterHelper

Public struct

TNetworkPredictionModelInfo

Public struct

TNetworkPredictionState

Tuple of state types.

Public struct

TNetworkPredictionStateTypes

State type defines.

Public struct

TNetworkSimAuxBuffer

Sparse buffer: each element has explicit Frame value.

Public struct

TSelectNetSimCueTraits

Selects explicit traits set by T.

Public struct

TSyncAuxPair

Just the Sync/Aux pair.

Public struct

TToVoid

SFINAE helper.

Public class UClass BlueprintType Meta

UNetworkPhysicsComponent

Public class UClass

UNetworkPhysicsManager

Public class UClass Abstract

UNetworkPredictionComponent

UNetworkPredictionComponent This is the base component for running a TNetworkedSimulationModel through an actor component.

Public class UClass BlueprintType Meta

UNetworkPredictionPhysicsComponent

UNetworkPredictionPhysicsComponent

Public class UClass NotPlaceable, Meta Config defaultconfig

UNetworkPredictionSettingsObject

Public class UClass

UNetworkPredictionWorldManager

Public struct

Weak

Non replicated cue that only plays during "latest" simulate.

Public struct

WeakClientsOnly

Same as above but will play on all clients, just not the authority.

Public struct

WeakOwningClientOnly

Same as above but will only play on the owning, autonomous proxy client (not on authority, not on simulated clients) Useful if the Cue is needed for only the controlling player, maybe like a HUD/UI notification pop

Typedefs

Name

Description

Default

Default Traits: if you do not explicitly set Traits on your class, this is what it defaults to.

FModelDefId

FNetSimCueTypeId

TNetSimInput

Input state is just a collection of references to the simulation state types.

Enums

Name

Description

Public enum

ENetSimCueInvoker

High level "who can invoke this". Does not take resimulate into account yet. All combinations of this enum are valid (though Authority | SimExtrapolate is a bit weird maybe)

Public enum

ENetSimCueReplicationTarget

Who a NetSimCue should replicate/be accepted by.

Public enum UEnum

ENetworkLOD

Must be kept in sync with ENP_NetworkLOD.

Public enum

ENetworkPredictionLocalInputPolicy

Public enum

ENetworkPredictionSortPriority

Arbitrary sort values used by system default definitions.

Public enum UEnum

ENetworkPredictionStateRead

Public enum

ENetworkPredictionStateType

Copyright Epic Games, Inc. All Rights Reserved.

Public enum UEnum

ENetworkPredictionTickingPolicy

Must be kept in sync with ENP_TickingPolicy.

Public enum

EReplicationProxyTarget

Target of replication.

Public enum

ESimulationTickContext

Copyright Epic Games, Inc. All Rights Reserved.

Functions

Name Description

Public function

 

ENUM_CLASS_FLAGS

Public function

 

ENUM_CLASS_FLAGS

(
    ENetSimCueInvoker
)

Public function

 

ENUM_CLASS_FLAGS

Public function

IConsoleVari...

 

FindConsoleVarHelper

(
    const TCHAR* VarName
)

"Shipping const" cvars: cvars that should compile out to const functions in shipping/test builds This got a little tricky due to templated usage across different modules.

Public function

 

GENERATE_MEMBER_FUNCTION_CHECK

(
    NetSerialize,
    void,
    FArchive&
)

Helper to compile time check if NetSerialize exists.

Public function Static

constexpr EN...

 

GetHighestNetworkLOD

(
    ENetworkLOD Mask
)

Public function Static

constexpr ES...

 

GetSimTickMask

(
    const ENetSimCueInvoker Invoker,
    const bool bAllowResimulate
)

Turns "Who can invoke this" + "Does this play during resimulate" into the final ESimulationTickContext mask we use at runtime. This is done so users can't make invalid configurations (like "Authority | Resimulate")

Public function

FString

 

LexToString

Public function

const TCHAR ...

 

LexToString

Public function

void

 

NpClearBitArray

(
    BitArrayType& BitArray
)

Set bit array contents to false.

Public function

void

 

NpResizeAndSetBit

(
    BitArrayType& BitArray,
    int32 Index,
    bool Value
)

Sets index to value, resizing bit array if necessary and setting new bits to false.

Public function

void

 

NpResizeBitArray

(
    BitArrayType& BitArray,
    int32 NewNum
)

Resize BitArray to NewNum, setting default value of new bits to false.

Public function

constexpr bo...

 

operator!

(
    ENetworkLOD E
)

Public function

constexpr bo...

 

operator!

Public function

constexpr EN...

 

operator&

Public function

constexpr EN...

 

operator&

(
    ENetworkLOD Lhs,
    ENetworkLOD Rhs
)

Public function

ENetworkPred...

 

operator&=

Public function

ENetworkLOD ...

 

operator&=

(
    ENetworkLOD& Lhs,
    ENetworkLOD Rhs
)

Public function

constexpr EN...

 

operator^

Public function

constexpr EN...

 

operator^

(
    ENetworkLOD Lhs,
    ENetworkLOD Rhs
)

Public function

ENetworkPred...

 

operator^=

Public function

ENetworkLOD ...

 

operator^=

(
    ENetworkLOD& Lhs,
    ENetworkLOD Rhs
)

Public function

constexpr EN...

 

operator|

Public function

constexpr EN...

 

operator|

(
    ENetworkLOD Lhs,
    ENetworkLOD Rhs
)

Public function

ENetworkPred...

 

operator|=

Public function

ENetworkLOD ...

 

operator|=

(
    ENetworkLOD& Lhs,
    ENetworkLOD Rhs
)

Public function

constexpr EN...

 

operator~

Public function

constexpr EN...

 

operator~

(
    ENetworkLOD E
)

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