Navigation
API > API/Plugins > API/Plugins/NetworkPrediction > API/Plugins/NetworkPrediction/FNetworkPredictionDriverBase
Description
ShouldReconcile
Determines if Sync/Aux state have diverged enough to force a correction. The default implementation will call ShouldReconcile on the state itself: bool FMySyncState::ShouldReconcile(const FMySyncState& Authority) const. May also be defined as Driver member functions (separately for Synx/Aux): bool MyDriver::ShouldReconcile(const FMySyncState* PredictedState, const FMySyncState* AuthorityState).
| Name | ShouldReconcile |
| Type | function |
| Header File | /Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionDriver.h |
| Include Path | #include "NetworkPredictionDriver.h" |
static bool ShouldReconcile
(
DriverType * Driver,
const TSyncAuxPair < StateTypes > & Predicted,
const TSyncAuxPair < StateTypes > & Authority
)