Bomberman Multiplayer
Authoritative multiplayer networking layer for Bomberman.
Loading...
Searching...
No Matches
bomberman::net::PredictionStats Struct Reference

Aggregate prediction stats for diagnostics. More...

#include <ClientPrediction.h>

Public Attributes

uint32_t localInputsApplied = 0
 Inputs simulated immediately.
 
uint32_t localInputsDeferred = 0
 Inputs retained but not simulated yet.
 
uint32_t rejectedLocalInputs = 0
 Inputs rejected for invalid or non-contiguous sequence progression.
 
uint32_t correctionsApplied = 0
 Newer authoritative corrections consumed by the helper.
 
uint32_t correctionsWithRetainedPredictedState = 0
 Corrections whose acked sequence still had retained predicted state.
 
uint32_t correctionsMismatched = 0
 Corrections whose authoritative ack state differed from retained prediction.
 
uint32_t totalCorrectionDeltaQ = 0
 Sum of correction Manhattan deltas over corrections with retained predicted state.
 
uint32_t maxCorrectionDeltaQ = 0
 Largest correction Manhattan delta seen so far.
 
uint32_t totalReplayedInputs = 0
 Sum of replayed retained inputs across all correction applications.
 
uint32_t maxReplayedInputs = 0
 Largest replay suffix rebuilt from one correction.
 
uint32_t replayTruncations = 0
 Replay attempts that fell back to recovery because retained input history was incomplete.
 
uint32_t totalMissingInputHistory = 0
 Sum of missing retained suffix sizes that caused replay truncation.
 
uint32_t maxMissingInputHistory = 0
 Largest missing retained suffix observed during replay.
 
uint32_t recoveryActivations = 0
 Transitions from active prediction into authoritative recovery mode.
 
uint32_t recoveryResolutions = 0
 Times recovery replay succeeded and prediction resumed.
 

Detailed Description

Aggregate prediction stats for diagnostics.

These counters are session-local and reflect behavior. Deferred inputs include both the pre-baseline buffer and inputs retained while recovery is active.


The documentation for this struct was generated from the following file: