s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Network
Networking
Disconnect
chevron_left Network
class
Networking

Static Properties

remove_circleConnectionsremove_circleHostConnectiondata_objectHostStatsdata_objectIsActivedata_objectIsClientdata_objectIsConnectingdata_objectIsDedicatedServerdata_objectIsHostdata_objectMapNamedata_objectMaxPlayersdata_objectServerName

Static Methods

functionsConnectfunctionsCreateLobbyfunctionsDisconnectremove_circleFindConnectionfunctionsGetDatafunctionsJoinBestLobbyfunctionsQueryLanServersfunctionsQueryLobbiesfunctionsSetDatafunctionsTryConnectSteamId
Disconnect
Disconnect from current multiplayer session. If we're the host, the game is handed to another player first.
methodstatic
static void Disconnect ()
Declared in Sandbox.Networking ยท Assembly Sandbox.Engine
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