Bomberman Multiplayer
Authoritative multiplayer networking layer for Bomberman.
Loading...
Searching...
No Matches
NetDiagConfig.h File Reference

Shared policy constants for lightweight multiplayer diagnostics. More...

#include <cstddef>
#include <cstdint>
#include "Sim/SimConfig.h"

Go to the source code of this file.

Namespaces

namespace  bomberman::net
 Shared multiplayer protocol types and transport-facing wire helpers.
 

Variables

constexpr std::size_t bomberman::net::kRecentEventCapacity = 256
 Maximum number of recent events retained in the NetDiagnostics ring buffer.
 
constexpr uint64_t bomberman::net::kRecentEventDedupeCooldownMs = 1000
 Minimum time between repeated recent events with the same semantic signature.
 
constexpr uint32_t bomberman::net::kServerInputBatchLogIntervalTicks = static_cast<uint32_t>(sim::kTickRate) * 2u
 Accepted-input debug log cadence in authoritative server ticks.
 
constexpr uint32_t bomberman::net::kServerSnapshotLogIntervalTicks = static_cast<uint32_t>(sim::kTickRate) * 2u
 Snapshot summary debug log cadence in authoritative server ticks.
 
constexpr uint32_t bomberman::net::kPeerTransportSampleTicks = static_cast<uint32_t>(sim::kTickRate)
 ENet transport-health sampling cadence in authoritative server ticks.
 
constexpr uint16_t bomberman::net::kRepeatedInputWarnThreshold = 6
 Consecutive anomaly streak that triggers a WARN log for repeated ahead drops or input gaps.
 
constexpr uint32_t bomberman::net::kRepeatedInputWarnCooldownTicks = static_cast<uint32_t>(sim::kTickRate) * 2u
 Minimum authoritative tick spacing between repeated anomaly WARN lines for the same peer.
 

Detailed Description

Shared policy constants for lightweight multiplayer diagnostics.