API Referenceglobal
Queryclass
Query the Steam Workshop for items
object→Query
Constructors1
Showing 1 constructors
public Query()
No results match this filter.
Methods1
Showing 1 methods
public System.Threading.Tasks.Task`1<Sandbox.Storage.QueryResult> Run(System.Threading.CancellationToken token = null)
Run the query
| Parameter | Type | Description |
|---|---|---|
| token = null | CancellationToken | — |
No results match this filter.
Properties9
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.
Returns:
List<ulong>—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.
Returns:
Dictionary<string,string>—public int Sandbox.Storage.Query.RankTrendDays { get; set; }
Number of days to consider for rank trend calculations
Returns:
int—No results match this filter.