Navigation
API > API/Plugins > API/Plugins/NetworkPrediction
Generic view into a managed instance's state.
| Name | FNetworkPredictionStateView |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionStateView.h |
| Include Path | #include "NetworkPredictionStateView.h" |
Syntax
struct FNetworkPredictionStateView
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bTickInProgress | bool | ::SimulationTick is in progress | NetworkPredictionStateView.h | |
| CueDispatcher | FNetSimCueDispatcher * | 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 | NetworkPredictionStateView.h | |
| PendingAuxState | void * | NetworkPredictionStateView.h | ||
| PendingFrame | int32 | Simulation PendingFrame number. | NetworkPredictionStateView.h | |
| PendingInputCmd | void * | Pending states: these are what will be used as input into the next SimulationTick call, if we are running a local tick. | NetworkPredictionStateView.h | |
| PendingSyncState | void * | NetworkPredictionStateView.h | ||
| PresentationAuxState | void * | NetworkPredictionStateView.h | ||
| PresentationSyncState | void * | 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) | NetworkPredictionStateView.h | |
| PrevPresentationAuxState | void * | NetworkPredictionStateView.h | ||
| PrevPresentationSyncState | void * | Previous presentation states: these may be used by a smoothing service to represent state that we're smoothing away from. | NetworkPredictionStateView.h | |
| SimTimeMS | int32 | Latest Simulation time. | NetworkPredictionStateView.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ClearPresentationView() |
NetworkPredictionStateView.h | ||
void UpdatePresentationView
(
void* Sync, |
NetworkPredictionStateView.h | ||
void UpdatePrevPresentationView
(
void* Sync, |
NetworkPredictionStateView.h | ||
void UpdateView
(
int32 Frame, |
NetworkPredictionStateView.h |