Navigation
API > API/Plugins > API/Plugins/NetworkPrediction
Classes
| Type | Name | Description | |
|---|---|---|---|
| FNetworkPredictionServiceRegistry | Services do the actual system work on batches of registered instances. | ||
| IFinalizeService | |||
| IFixedInterpolateService | FixedTick Interpolation | ||
| IFixedRollbackService | |||
| IIndependentInterpolateService | IndependentTick Interpolation | ||
| IIndependentRollbackService | |||
| IInputService | |||
| ILocalTickService | The tick service's role is to tick new simulation frames based on local frame state (fixed or independent/variable) | ||
| IPhysicsService | The PhysicsService does bookkeeping for physics objects -Tracing -Updates PendingFrame for physics-only sims (no backing NetworkPrediction simulation) | ||
| IRemoteFinalizeService | |||
| IRemoteIndependentTickService | Service for ticking independent simulations that are remotely controlled. | ||
| IServerRPCService | The ServerRPCService's job is to tell the Driver to call the Server RPC that sends InputCmds upstream. | ||
| TClientRecvData | Data the client receives from the server. | ||
| TFinalizeService | |||
| TFixedInterpolateService | |||
| TFixedRollbackService | |||
| TIndependentInterpolateService | |||
| TIndependentRollbackService | |||
| TInstanceData | Basic data that all instances have. | ||
| TInstanceFrameState | Frame data that instances with StateTypes will have. | ||
| TInstanceMap | Generic associative container for instance data keyed off of the FNetworkPredictionID SortedMap + SparseArray provides: -O(log n) add/remove. | ||
| TLocalInputService | Calls ProduceInput on driver to get local input Requires valid FNetworkPredictionDriver::ProduceInput function | ||
| TLocalTickService | To allow template specialization. | ||
| TLocalTickServiceBase | |||
| TModelDataStore | Stores all public data for a given model def. | ||
| TPhysicsService | |||
| TRemoteFinalizeService | |||
| TRemoteIndependentTickService | Ticking remote clients on the server. | ||
| TRemoteInputService | Pulls input from ServerRecvData. E.g: server side input buffering. | ||
| TServerRecvData_Fixed | Data the server receives from a fixed ticking AP client. | ||
| TServerRecvData_Independent | Data the server receives from an independent ticking AP client. | ||
| TServerRPCService | |||
| TStableInstanceMap | |||
| TTickUtil | Common util used by the ticking services. Might make sense to move to FNetworkPredictionDriverBase if needed elsewhere. |
Constants
| Name | Description |
|---|---|
| NetworkPredictionCVars::DisableInterpolationAuto | |
| NetworkPredictionCVars::DrawInterpolationAuto | |
| NetworkPredictionCVars::ForceReconcileAuto | |
| NetworkPredictionCVars::ForceReconcileExtraFramesAuto | |
| NetworkPredictionCVars::PrintReconcilesAuto | |
| NetworkPredictionCVars::PrintSyncInterpolationAuto | These are pretty bare bones. Will move to Insights tracing in the future for interpolation debugging. |
| NetworkPredictionCVars::SkipReconcileAuto |
Enums
| Type | Name | Description | |
|---|---|---|---|
| ENetworkPredictionService | Enum that maps to internal NetworkPrediction services, see notes in NetworkPredictionServiceRegistry.h. |