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

Reliable authoritative explosion-resolution event sent by the server. More...

#include <NetCommon.h>

Public Attributes

uint32_t matchId = 0
 Authoritative match identifier that resolved this explosion.
 
uint32_t serverTick = 0
 Server tick at which the bomb explosion resolved.
 
uint8_t ownerId = 0
 Player identifier [0, kMaxPlayers) that owned the bomb.
 
uint8_t originCol = 0
 Explosion origin column.
 
uint8_t originRow = 0
 Explosion origin row.
 
uint8_t radius = 0
 Radius snapped from the bomb that detonated.
 
uint8_t killedPlayerMask = 0
 Bitmask of player ids killed by this resolved explosion.
 
uint8_t blastCellCount = 0
 Number of valid entries stored in blastCells.
 
uint8_t destroyedBrickCount = 0
 Number of valid entries stored in destroyedBricks.
 
MsgCell blastCells [kMaxExplosionBlastCells] {}
 Blast footprint cells in propagation order.
 
MsgCell destroyedBricks [kMaxExplosionDestroyedBricks] {}
 Brick cells destroyed by this detonation.
 

Detailed Description

Reliable authoritative explosion-resolution event sent by the server.

Carries the resolved blast footprint and the set of bricks destroyed by the detonation so connected clients can update world presentation immediately. This complements snapshots because snapshots do not carry destroyed-tile history for later admission or recovery.


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