Services

Windows
MacOS
Linux

Classes

Name

Description

Public class

FNetworkPredictionServiceRegistry

Services do the actual system work on batches of registered instances.

Public class

IFinalizeService

Public class

IFixedInterpolateService

FixedTick Interpolation

Public class

IFixedRollbackService

Public class

IIndependentInterpolateService

IndependentTick Interpolation

Public class

IIndependentRollbackService

Public class

IInputService

Public class

ILocalTickService

The tick service's role is to tick new simulation frames based on local frame state (fixed or independent/variable)

Public class

IPhysicsService

The PhysicsService does bookkeeping for physics objects -Tracing -Updates PendingFrame for physics-only sims (no backing NetworkPrediction simulation)

Public class

IRemoteFinalizeService

Public class

IRemoteIndependentTickService

Service for ticking independent simulations that are remotely controlled.

Public class

IServerRPCService

The ServerRPCService's job is to tell the Driver to call the Server RPC that sends InputCmds upstream.

Public struct

TClientRecvData

Data the client receives from the server.

Public class

TFinalizeService

Public class

TFixedInterpolateService

Public class

TFixedRollbackService

Public class

TIndependentInterpolateService

Public class

TIndependentRollbackService

Public struct

TInstanceData

Basic data that all instances have.

Public struct

TInstanceFrameState

Frame data that instances with StateTypes will have.

Public struct

TInstanceMap

Generic associative container for instance data keyed off of the FNetworkPredictionID SortedMap + SparseArray provides: -O(log n) add/remove.

Public class

TLocalInputService

Calls ProduceInput on driver to get local input Requires valid FNetworkPredictionDriver::ProduceInput function

Public class

TLocalTickService

To allow template specialization.

Public class

TLocalTickServiceBase

Public struct

TModelDataStore

Stores all public data for a given model def.

Public class

TPhysicsService

Public class

TRemoteFinalizeService

Public class

TRemoteIndependentTickService

Ticking remote clients on the server.

Public class

TRemoteInputService

Pulls input from ServerRecvData. E.g: server side input buffering.

Public struct

TServerRecvData_Fixed

Data the server receives from a fixed ticking AP client.

Public struct

TServerRecvData_Independent

Data the server receives from an independent ticking AP client.

Public class

TServerRPCService

Public struct

TStableInstanceMap

Public struct

TTickUtil

Common util used by the ticking services. Might make sense to move to FNetworkPredictionDriverBase if needed elsewhere.

Enums

Name

Description

Public enum

ENetworkPredictionService

Enum that maps to internal NetworkPrediction services, see notes in NetworkPredictionServiceRegistry.h.

Functions

Name Description

Public function

 

NetworkPredictionCVars::NETSIM_DEVCVAR_SHIPCONST_INT

(
    DrawInterpolation,
    0,
    "np.Interpolation.PrintSync",
    "Print Sync State buffer during int...
)

These are pretty bare bones. Will move to Insights tracing in the future for interpolation debugging.

Public function

 

NetworkPredictionCVars::NETSIM_DEVCVAR_SHIPCONST_INT

(
    PrintSyncInterpolation,
    0,
    "np.Interpolation.Draw",
    "Draw interpolation debug state in ...
)

Public function

 

NetworkPredictionCVars::NETSIM_DEVCVAR_SHIPCONST_INT

(
    DisableInterpolation,
    0,
    "np.Interpolation.Disable",
    "Disables smooth interpolation and ...
)

Public function

 

NetworkPredictionCVars::NETSIM_DEVCVAR_SHIPCONST_INT

(
    ForceReconcile,
    0,
    "np.ForceReconcile",
    "Force a single reconcile"
)

Public function

 

NetworkPredictionCVars::NETSIM_DEVCVAR_SHIPCONST_INT

(
    SkipReconcile,
    0,
    "np.SkipReconcile",
    "Skip all reconciles"
)

Public function

 

NetworkPredictionCVars::NETSIM_DEVCVAR_SHIPCONST_INT

(
    PrintReconciles,
    0,
    "np.PrintReconciles",
    "Print reconciles to log"
)

Public function

constexpr bo...

 

operator!

Public function

constexpr EN...

 

operator&

Public function

ENetworkPred...

 

operator&=

Public function

constexpr EN...

 

operator^

Public function

ENetworkPred...

 

operator^=

Public function

constexpr EN...

 

operator|

Public function

ENetworkPred...

 

operator|=

Public function

constexpr EN...

 

operator~

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