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

Session-local multiplayer diagnostics recorder and report model. More...

#include <array>
#include <cstddef>
#include <cstdint>
#include <optional>
#include <string>
#include <string_view>
#include <unordered_map>
#include <nlohmann/json.hpp>
#include "NetCommon.h"
#include "NetDiagConfig.h"
#include "NetDiagShared.h"

Go to the source code of this file.

Classes

struct  bomberman::net::ServerSessionConfig
 Static server-side session configuration captured into diagnostics output. More...
 
struct  bomberman::net::ServerKeyMessageAggregates
 Sparse per-message aggregates retained for server tuning. More...
 
struct  bomberman::net::NetSessionSummary
 Aggregate counters and timing collected across one diagnostics session. More...
 
class  bomberman::net::NetDiagnostics
 Session-local recorder for recent multiplayer diagnostics and aggregate counters. More...
 

Namespaces

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

Detailed Description

Session-local multiplayer diagnostics recorder and report model.

The recorder stays lightweight:

  • recent noteworthy events live in a fixed-size ring buffer
  • transport and input-continuity state keep only the latest sample per gameplay player id
  • aggregate counters summarize one diagnostics session
  • reporting writes a machine-readable JSON session report