|
|
Bomberman Multiplayer
Authoritative multiplayer networking layer for Bomberman.
|
Private helpers shared by authoritative server-flow implementation files. More...
#include <algorithm>#include <array>#include <cstddef>#include <cstdint>#include <string_view>#include "Net/NetSend.h"#include "ServerHandlers.h"#include "ServerState.h"#include "Sim/SimConfig.h"Go to the source code of this file.
Namespaces | |
| namespace | bomberman::server |
| Authoritative dedicated-server state, match flow, and fixed-tick simulation support. | |
Functions | |
| constexpr uint32_t | bomberman::server::flow_internal::playerMaskBit (const uint8_t playerId) |
| template<std::size_t N> | |
| bool | bomberman::server::flow_internal::queueReliableControlToPlayer (ServerState &state, const uint8_t playerId, const net::EMsgType type, const std::size_t payloadSize, const std::array< uint8_t, N > &packet) |
| uint8_t | bomberman::server::flow_internal::computeCountdownSecondsRemaining (const ServerState &state) |
| constexpr std::string_view | bomberman::server::flow_internal::coarseServerFlowState (const ServerPhase phase) |
| bool | bomberman::server::flow_internal::isServerIdleForDiagnostics (const ServerState &state) |
| void | bomberman::server::flow_internal::cancelStartingMatch (ServerState &state, uint32_t notifyMask, std::string_view reason) |
Variables | |
| constexpr uint32_t | bomberman::server::flow_internal::kLobbyCountdownTicks = static_cast<uint32_t>(sim::kTickRate) * 3u |
| constexpr uint32_t | bomberman::server::flow_internal::kMatchStartLoadTimeoutTicks = static_cast<uint32_t>(sim::kTickRate) * 5u |
| constexpr uint32_t | bomberman::server::flow_internal::kMatchStartGoDelayTicks = static_cast<uint32_t>(sim::kTickRate) |
| constexpr uint32_t | bomberman::server::flow_internal::kMatchStartUnlockDelayTicks = kMatchStartGoDelayTicks |
| constexpr uint32_t | bomberman::server::flow_internal::kEndOfMatchReturnTicks = static_cast<uint32_t>(sim::kTickRate) * 3u |
Private helpers shared by authoritative server-flow implementation files.