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

Batched input payload sent by client each simulation tick. More...

#include <NetCommon.h>

Public Attributes

uint32_t baseInputSeq = 0
 Sequence number of the first entry in the batch.
 
uint8_t count = 0
 Number of valid entries (1..kMaxInputBatchSize).
 
uint8_t inputs [kMaxInputBatchSize] {}
 Button bitmasks, zero-padded beyond count.
 

Detailed Description

Batched input payload sent by client each simulation tick.

Carries up to kMaxInputBatchSize input entries for redundancy. Each entry is a button bitmask. Unused entries are zero-padded.


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