public sealed struct Sandbox.SteamId
Represents a Steam ID (64-bit unique identifier for Steam accounts). Provides type-safe storage and conversion between long/ulong representations.
Related Guides
Broader workflow and conceptual references connected to this API.
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.
Components can contain RPCs. An RPC is a function that when called, is called remotely too.
On a Dedicated Server, you can specify who is an admin of your server, or customize permissions even further with claims for individual Steam accounts.
The API for leaderboards is publically accessible. Have fun!
Errors will happen. Here's how to make a useful error report.
Constructors
Showing 2 constructors
No results match this filter.
Properties
Showing 3 properties
public Sandbox.SteamId.AccountTypes Sandbox.SteamId.AccountType { get; set; }
Gets the type of Steam account this ID represents.
public long Sandbox.SteamId.Value { get; set; }
Gets the Steam ID as a signed 64-bit integer.
public ulong Sandbox.SteamId.ValueUnsigned { get; set; }
Gets the Steam ID as an unsigned 64-bit integer.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.System |
| Doc ID | T:Sandbox.SteamId |