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

Client-side multiplayer connection lifecycle and packet endpoint. More...

#include <memory>
#include <optional>
#include <string>
#include <string_view>
#include "Net/NetCommon.h"

Go to the source code of this file.

Classes

class  bomberman::net::NetClient
 ENet client connection and protocol endpoint. More...
 
struct  bomberman::net::NetClient::ClientLiveStats
 Live multiplayer/network HUD state updated during gameplay. More...
 
struct  bomberman::net::NetClient::GameplayEvent
 One reliable gameplay event dequeued in original receive order. More...
 

Namespaces

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

Enumerations

enum class  bomberman::net::EConnectState : uint8_t {
  bomberman::net::Disconnected , bomberman::net::Connecting , bomberman::net::Handshaking , bomberman::net::Connected ,
  bomberman::net::Disconnecting , bomberman::net::FailedResolve , bomberman::net::FailedConnect , bomberman::net::FailedHandshake ,
  bomberman::net::FailedProtocol , bomberman::net::FailedInit
}
 Client connection lifecycle state. More...
 

Functions

constexpr bool bomberman::net::isFailedState (EConnectState state)
 Returns true if the state represents a terminal failure.
 
constexpr std::string_view bomberman::net::connectStateName (EConnectState state)
 Returns a human-readable label for a connection state.
 

Detailed Description

Client-side multiplayer connection lifecycle and packet endpoint.