s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejams
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Classes
LobbyInformation
chevron_left Classes
struct
LobbyInformation

Fields

crop_dinDatacrop_dinGamecrop_dinIsPingEstimatedcrop_dinLobbyIdcrop_dinMapcrop_dinMaxMemberscrop_dinMemberscrop_dinNamecrop_dinOwnerIdcrop_dinPing

Properties

data_objectApiVersiondata_objectIsFulldata_objectIsHiddendata_objectIsNewerVersiondata_objectIsOutdateddata_objectIsPasswordProtecteddata_objectNetworkProtocol

Methods

functionsGet
LobbyInformation
struct Sandbox.Network .
sealedSandbox.Engine

crop_din Fields 10

Data
Dictionary`2
Game
string
IsPingEstimated
bool
True when Ping is estimated from Steam relay locations rather than measured from a server query.
LobbyId
UInt64
Map
string
MaxMembers
int
Members
int
Name
string
OwnerId
UInt64
Ping
int
Round-trip latency in milliseconds, or -1 if unknown. Steam lobbies use a relay-route estimate.

data_object Properties 7

ApiVersion
int
The engine API version it's running - 0 if it doesn't say (a dedicated server's tags can be cut short).
IsFull
bool
True if this lobby is full (Members >= MaxMembers).
IsHidden
bool
True if this lobby should be hidden from server lists.
IsNewerVersion
bool
True if it's Sandbox.Network.LobbyInformation.IsOutdated the other way - on a newer version than this one, which is what needs updating.
IsOutdated
bool
True if it can't be joined from this version of the game - it runs a different API version or network protocol. Lobbies like this are only listed when asked for (Networking.QueryLobbies with includeOutdated). What it doesn't say isn't held against it.
IsPasswordProtected
bool
True if you need a password to join this lobby or server.
NetworkProtocol
int
The network protocol it talks - 0 if it doesn't say.

functions Methods 1

Get (key, defaultValue)
string
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter