Navigation
API > API/Plugins > API/Plugins/NetworkPrediction
References
| Module | NetworkPrediction |
| Header | /Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionStateView.h |
| Include | #include "NetworkPredictionStateView.h" |
Syntax
struct FNetworkPredictionStateView
Remarks
Generic view into a managed instance's state.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bTickInProgress | ::SimulationTick is in progress | |
| FNetSimCueDispatcher * | CueDispatcher | CueDispatcher is exposed so that game code can invoke OOB cues Future versions may move this / make Invoking OOB cues go through a different API | |
| void * | PendingAuxState | ||
| int32 | PendingFrame | Simulation PendingFrame number. | |
| void * | PendingInputCmd | Pending states: these are what will be used as input into the next SimulationTick call, if we are running a local tick. | |
| void * | PendingSyncState | ||
| void * | PresentationAuxState | ||
| void * | PresentationSyncState | Presentation states: the latest locally smoothed/interpolated states that will not be fed back into the sim (these will be null in cases where there is no smoothing/interpolation) | |
| void * | PrevPresentationAuxState | ||
| void * | PrevPresentationSyncState | Previous presentation states: these may be used by a smoothing service to represent state that we're smoothing away from. | |
| int32 | SimTimeMS | Latest Simulation time. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | UpdatePresentationView
(
void* Sync, |
||
| void | UpdatePrevPresentationView
(
void* Sync, |
||
| void | UpdateView
(
int32 Frame, |