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

Owner-only correction payload sent by the server. More...

#include <NetCommon.h>

Public Attributes

uint32_t matchId = 0
 Authoritative match identifier that produced this correction.
 
uint32_t serverTick = 0
 Server tick at which this correction applies.
 
uint32_t lastProcessedInputSeq = 0
 Highest input seq the server has processed for this player.
 
int16_t xQ = 0
 Corrected X position in tile-space Q8.
 
int16_t yQ = 0
 Corrected Y position in tile-space Q8.
 
uint8_t playerFlags = 0
 Owner-local copy of the current replicated player flags.
 
uint8_t reserved [3] {}
 Currently unused wire padding.
 

Detailed Description

Owner-only correction payload sent by the server.

A correction acknowledges the highest input sequence the server has processed for that player and carries the authoritative local position at that point. It is not a broadcast world-state message.


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