diff --git a/Facepunch.Steamworks/Interfaces/Workshop.Query.cs b/Facepunch.Steamworks/Interfaces/Workshop.Query.cs
index 3cb98ea..5c1cda0 100644
--- a/Facepunch.Steamworks/Interfaces/Workshop.Query.cs
+++ b/Facepunch.Steamworks/Interfaces/Workshop.Query.cs
@@ -35,6 +35,12 @@ namespace Facepunch.Steamworks
public ulong? UserId { get; set; }
+ ///
+ /// If order is RankedByTrend, this value represents how many days to take
+ /// into account.
+ ///
+ public int RankedByTrendDays { get; set; }
+
public UserQueryType UserQueryType { get; set; } = UserQueryType.Published;
///
@@ -108,6 +114,9 @@ namespace Facepunch.Steamworks
if ( RequireTags.Count > 0 )
workshop.ugc.SetMatchAnyTag( Handle, !RequireAllTags );
+ if ( RankedByTrendDays > 0 )
+ workshop.ugc.SetRankedByTrendDays( Handle, (uint) RankedByTrendDays );
+
foreach ( var tag in ExcludeTags )
workshop.ugc.AddExcludedTag( Handle, tag );
@@ -214,6 +223,8 @@ namespace Facepunch.Steamworks
///
public List FileId { get; set; } = new List();
+
+
///
/// Don't call this in production!
///