Bomberman Multiplayer
Authoritative multiplayer networking layer for Bomberman.
Loading...
Searching...
No Matches
ServerSnapshot.cpp File Reference

Authoritative snapshot cadence and connected-client snapshot construction. More...

#include "ServerSnapshot.h"
#include <algorithm>
#include <array>
#include "ServerPowerups.h"
#include "ServerState.h"
#include "Util/Log.h"

Namespaces

namespace  bomberman::server
 Authoritative dedicated-server state, match flow, and fixed-tick simulation support.
 

Functions

bool bomberman::server::shouldBroadcastSnapshot (const ServerState &state)
 Returns true when the current tick should broadcast a snapshot.
 
net::MsgSnapshot bomberman::server::buildSnapshot (const ServerState &state)
 Builds a MsgSnapshot from the current round state.
 

Detailed Description

Authoritative snapshot cadence and connected-client snapshot construction.