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

Shared diagnostics event/sample types used by both server and client recorders. More...

#include <cstdint>
#include <string>

Go to the source code of this file.

Classes

struct  bomberman::net::NetEvent
 Discrete diagnostics event stored in a recent-event ring buffer. More...
 
struct  bomberman::net::NetPeerTransportSample
 Latest sampled transport health values for a single gameplay player id. More...
 
struct  bomberman::net::NetPeerContinuitySummary
 Aggregate input-continuity facts for one authoritative gameplay player id. More...
 
struct  bomberman::net::RecentEventRepeatState
 Recent-event dedupe state keyed by semantic event signature. More...
 

Namespaces

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

Enumerations

enum class  bomberman::net::NetEventType : uint8_t {
  Unknown , SessionBegin , SessionEnd , PeerLifecycle ,
  PacketSent , PacketRecv , Simulation , Flow
}
 High-level kinds of recent events captured during a diagnostics session.
 
enum class  bomberman::net::NetPeerLifecycleType : uint8_t {
  TransportConnected , PlayerAccepted , PeerRejected , PeerDisconnected ,
  TransportDisconnectedBeforeHandshake
}
 Peer lifecycle milestones emitted by multiplayer networking flows.
 
enum class  bomberman::net::NetPacketDirection : uint8_t { Outgoing , Incoming }
 Packet travel direction recorded in a recent packet event.
 
enum class  bomberman::net::NetPacketResult : uint8_t { Ok , Dropped , Rejected , Malformed }
 Diagnostics classification for one packet attempt or receive path outcome.
 
enum class  bomberman::net::NetSimulationEventType : uint8_t { Gap , BufferedDeadlineRecovery , RoundEnded }
 Simulation/input-timeline events worth retaining in recent-event history.
 

Variables

constexpr uint32_t bomberman::net::kDiagnosticsReportVersion = 1
 Shared JSON report schema version for diagnostics outputs.
 

Detailed Description

Shared diagnostics event/sample types used by both server and client recorders.