struct

FNetSessionSettings

Module
Networking
Header
#include "Networking/Session/NetSessionTypes.h"
Namespace
Mowo

Properties

TypeNameDescription
std::stringsessionNameDefault "Mowo Session".
std::stringplayerNameDefault "Player".
std::stringplayerPawnPrefab
uint16_tportDefault 7777.
std::stringjoinKeyThe host's join key when joining a direct (ENet) session from another machine; the host shows it (FNetSession::GetJoinKey). Unused for Steam joins and on loopback.
uint32_tmaxPlayersDefault 5.
floatsnapshotHzDefault 20.0f.
floatinterpolationDelayDefault 0.10f.
floatconnectTimeoutSecondsDefault 15.0f.
floattravelAckTimeoutSecondsDefault 60.0f.
boolrelevancyEnabledDefault true.
boolspawnPlayerPawnsDefault true.
boolspawnHostPawnDefault true.
boolcreateSteamLobbyDefault false.
booladvertiseRichPresenceDefault true.
booldirectListenA LAN / direct-IP game: the host also opens its UDP port beside the Steam relay, so peers can join by address and see the host's IP. Off, a host with Steam up is reachable through the relay only. Default false.
uint32_tmaxUpdatesPerTickDefault 64.
uint32_tmaxSnapshotBytesDefault 1200.
uint32_tpeerByteBudgetPerSecond6000 B/s = 48 kbit/s per client, the figure the co-op target budget is written against — a five-player host on a domestic uplink. The old 32768 was 262 kbit/s, which no five-player listen server has to spare and which nothing ever measured against the target. Default 6000.
uint32_thostUplinkBytesPerSecondWhat the host's uplink may spend on all clients together: 30000 B/s = 240 kbit/s, the bottom of the co-op target's 240-350 range. The session divides it among maxPlayers - 1 clients and lowers the per-peer budget when the two disagree, so a bigger lobby cannot quietly outgrow a domestic uplink. 0 = no host-wide cap. Default 30000.
uint32_tpeerInboundByteBudgetPerSecondThe other direction, absent until now: the RPC and input limiters bound how MANY packets a peer may send, never how large they are. Default 8192.
floatplayerCullDistanceDefault 0.0f.
floatplayerNetPriorityDefault 8.0f.
floatrejoinGraceSecondsSeconds a dropped client keeps its slot, its pawn and its NetworkIds before the server releases them for good. Negative follows the net.rejoin_grace_seconds cvar (60 s); 0 disables the grace window and restores the old "a disconnect is a leave" behaviour. Default -1.0f.
floatshotCoalesceSecondsA held-trigger sensor fires every frame. Shots are gathered for this long and shipped as ONE batch: five scans in one packet cost one header and one rate token instead of five of each. 0 sends each shot on its own. Default 0.05f.
uint32_tmaxShotsPerPacketDefault 32.
ENetLateJoinPolicylateJoinPolicyDefault ENetLateJoinPolicy::Anytime.
uint32_tautoRejoinAttemptsA client whose link to the host dropped while its slot is held retries on its own this many times, this far apart, before it gives the host up as lost (HostLost) and asks the runtime to return to the menu. 0 leaves rejoining to the game, the old behaviour. Default 3.
floatautoRejoinDelaySecondsDefault 2.0f.
Generated from Networking/Session/NetSessionTypes.h via networking.json · Nov 4, 2026Version 1.0.0