|
|
Bomberman Multiplayer
Authoritative multiplayer networking layer for Bomberman.
|
Public Types | |
| enum class | EPlayerFlags : uint8_t { None = 0x00 , Alive = 0x01 , Invulnerable = 0x02 , InputLocked = 0x04 , BombRangeBoost = 0x08 , MaxBombsBoost = 0x10 , SpeedBoost = 0x20 } |
Public Attributes | |
| uint8_t | playerId = 0 |
| Player identifier [0, kMaxPlayers). | |
| int16_t | xQ = 0 |
| Player X position in tile-space Q8 (center position). | |
| int16_t | yQ = 0 |
| Player Y position in tile-space Q8 (center position). | |
| EPlayerFlags | flags = EPlayerFlags::None |
| Player alive status and other state flags. | |
Static Public Attributes | |
| static constexpr uint8_t | kKnownFlags |
|
strong |
| Enumerator | |
|---|---|
| None | No replicated player flags are set. |
| Alive | Player is alive if set, dead if unset. |
| Invulnerable | Player is invulnerable if set. |
| InputLocked | Player input/movement is server-locked if set. |
| BombRangeBoost | Player currently has the bomb-range boost active. |
| MaxBombsBoost | Player currently has the max-bombs boost active. |
| SpeedBoost | Player currently has the speed boost active. |
|
staticconstexpr |