s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
SceneNetworkSystem
chevron_left Classes
class
SceneNetworkSystem

Methods

functionsAcceptConnectionfunctionsDisposefunctionsGetMountedVPKsfunctionsGetSnapshotfunctionsMountVPKsfunctionsOnBecameHostfunctionsOnConnectedfunctionsOnHostChangedfunctionsOnInitializefunctionsOnJoinedfunctionsOnLeavefunctionsPushfunctionsSetSnapshotAsynclockTicklockWorkoutMapName
SceneNetworkSystem
This is created and referenced by the network system, as a way to route.
class Sandbox .account_tree extends GameNetworkSystem
Sandbox.Engine

functions Methods 15

AcceptConnection (channel, reason)
bool
Called on the host to decide whether to accept a Sandbox.Connection. If any Sandbox.Component that implements this returns false, the connection will be denied.
Dispose ()
GetMountedVPKs (source, msg)
A client has joined and wants to know what VPKs to preload.
GetSnapshot (source, msg)
A client has joined and wants a snapshot of the world.
MountVPKs (source, msg)
Task
Asynchronously load and mount any VPKs from the provided server response.
OnBecameHost (previousHost)
OnConnected (client)
OnHostChanged (previousHost, newHost)
OnInitialize ()
OnJoined (client)
OnLeave (client)
Push ()
IDisposable
SetSnapshotAsync (msg)
Task
We have received a snapshot of the world.
Tick ()
WorkoutMapName ()
string

Inheritance

GameNetworkSystem
SceneNetworkSystem
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter