public static abstract sealed class Sandbox.Debug.Networking
Related Guides
Broader workflow and conceptual references connected to this API.
This event interface allows you to listen to Scene startup events. These events are run in three places:
The networking system in s&box is purposefully simple and easy. Our initial aim isn't to provide a bullet proof server-authoritative networking system. Our aim is to provide a system that is really easy to use and understand.
If you are using HTTP requests or WebSockets in your game, you can use Auth Tokens to validate that the requests were sent from a valid Steam user in a s&box game session. This is useful if you want to tie data to a specific Steam account, or prevent botting.
There are various interfaces that can be given to components for specific purposes.
The host can change some permissions for a specific Connection. The ideal place to set these permissions would be in the OnActive network event.
S&box uses a scene system to create games. We feel this is the easiest system for people to pick up, while still being powerful.
Methods
Showing 1 methods
public static void AddEmptyConnection()
Add an empty connection for debugging purposes. This connection cannot receive or send data and it won't be visible to other clients.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.Debug |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Debug.Networking |