s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Editor Classes
Network
chevron_left
Editor Classes
class
Network
search
Static Properties
data_object
Active
data_object
Channels
data_object
Client
data_object
Hosting
data_object
HostPrivacy
data_object
Sockets
Static Methods
functions
Connect
functions
Disconnect
functions
StartHosting
Network
class
Editor.EditorUtility
.
static
sealed
abstract
Sandbox.Tools
data_object
Static Properties
6
Active
bool
True if the network system is active
Channels
Connection[]
Return all of the channels on this connection. If you're the host, it should return all client connections. If you're the client, it should return empty - unless you're in a p2p session (lobby). Returns empty if you're not connected
Client
bool
True if the network system is active and we're the host
Hosting
bool
True if the network system is active and we're the host
HostPrivacy
LobbyPrivacy
Determines who can join a lobby hosted from the editor. Should only be set before creating a lobby. Persists between lobbies.
Sockets
NetworkSocket[]
Return all of the sockets on this connection. If you're the host, it should return all active sockets. If you're the client, it should return empty - unless you're in a p2p session (lobby). Returns empty if you're not connected
functions
Static Methods
3
Connect
(
address
)
Connenct to a network address
Disconnect
(
)
Disconnect from the current network session
StartHosting
(
)
Start hosting a lobby. If we're not already in play mode, we'll enter play mode first.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.