From fd124d461d537e8885ba4501e18d9af9ac53be77 Mon Sep 17 00:00:00 2001 From: Ben Date: Wed, 20 Mar 2024 20:28:38 +0000 Subject: [PATCH] Added WithDifferentApp to set consumer and creator App Id for UGCQuery --- Facepunch.Steamworks/Structs/UgcQuery.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Facepunch.Steamworks/Structs/UgcQuery.cs b/Facepunch.Steamworks/Structs/UgcQuery.cs index 79893bbb..e67b0ee1 100644 --- a/Facepunch.Steamworks/Structs/UgcQuery.cs +++ b/Facepunch.Steamworks/Structs/UgcQuery.cs @@ -202,6 +202,13 @@ public QueryType WithoutTag( string tag ) excludedTags.Add( tag ); return this; } + + public QueryType WithDifferentApp( AppId consumerAppId, AppId creatorAppId ) + { + consumerApp = consumerAppId; + creatorApp = creatorAppId; + return this; + } void ApplyConstraints( UGCQueryHandle_t handle ) { @@ -317,4 +324,4 @@ private void ApplyReturns(UGCQueryHandle_t handle) #endregion } -} \ No newline at end of file +}