Bomberman Multiplayer
Authoritative multiplayer networking layer for Bomberman.
Loading...
Searching...
No Matches
bomberman::net::NetEvent Struct Reference

Discrete diagnostics event stored in a recent-event ring buffer. More...

#include <NetDiagShared.h>

Public Attributes

NetEventType type = NetEventType::Unknown
 
uint64_t timestampMs = 0
 Monotonic timestamp. Zero means "stamp on record".
 
NetPacketDirection packetDirection = NetPacketDirection::Outgoing
 Valid for packet events.
 
NetPacketResult packetResult = NetPacketResult::Ok
 Valid for packet events.
 
NetPeerLifecycleType lifecycleType = NetPeerLifecycleType::TransportConnected
 Valid for lifecycle events.
 
NetSimulationEventType simulationType = NetSimulationEventType::Gap
 Valid for simulation events.
 
uint8_t peerId = 0xFF
 Gameplay player id when known, otherwise 0xFF.
 
uint8_t channelId = 0xFF
 Raw ENet channel id for packet events.
 
uint8_t msgType = 0
 Raw EMsgType value for packet events.
 
uint32_t seq = 0
 
uint32_t detailA = 0
 
uint32_t detailB = 0
 
std::string note
 Optional short note for reports.
 

Detailed Description

Discrete diagnostics event stored in a recent-event ring buffer.


The documentation for this struct was generated from the following file: