Files
ReSkate/Engine/Game/Multiplayer/session_limits.h
T
2026-10-02 14:40:41 -05:00

9 lines
410 B
C++

#pragma once
namespace dingosdk {
// Everyone a session can hold: the wire protocol's limit, reached by dedicated servers.
inline constexpr int multiplayer_player_limit = 250;
// Players in a lobby a player hosts (their own game relays everyone, and the lobby is one party).
inline constexpr int multiplayer_lobby_player_limit = 32;
static_assert(multiplayer_lobby_player_limit <= multiplayer_player_limit);
}