public class Sandbox.Storage.Query
Query the Steam Workshop for items
Related Guides
Broader workflow and conceptual references connected to this API.
Some Input methods are specific to Controllers/Gamepads, and are useful to know for making sure your player experience caters to those who don't play on a Keyboard + Mouse.
The Storage system provides a simple, unified way to manage user-generated content in your game. Whether you're saving game progress, storing player creations, or anything else, Storage handles everything from local file management to Steam Workshop integration.
Constructors
Showing 1 constructors
public Query()
No results match this filter.
Methods
Showing 1 methods
public System.Threading.Tasks.Task`1<Sandbox.Storage.QueryResult> Run(System.Threading.CancellationToken token = null)
Run the query
Parameters
token: Default: null
No results match this filter.
Properties
Showing 9 properties
public Sandbox.SteamId Sandbox.Storage.Query.Author { get; set; }
Filter results to items published by this Steam ID. When set, uses a user-specific query instead of a global one.
public System.Collections.Generic.List`1<ulong> Sandbox.Storage.Query.FileIds { get; set; }
Specific workshop file IDs to query. When set, other filters are ignored and the query returns details for these specific items.
public System.Collections.Generic.Dictionary`2<string,string> Sandbox.Storage.Query.KeyValues { get; set; }
KeyValues that the item must match to be included in results.
public int Sandbox.Storage.Query.RankTrendDays { get; set; }
Number of days to consider for rank trend calculations
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Storage.Query |