mirror of
https://github.com/SteamRE/DepotDownloader.git
synced 2026-10-20 01:46:17 +00:00
Anonymous users cannot use UFSGetUGCDetails
This commit is contained in:
1 parent
a58059eb80
commit
f146251555
1 file changed
+10
-1
@@ -401,7 +401,16 @@ namespace DepotDownloader
|
||||
|
||||
public static async Task DownloadUGCAsync( uint appId, ulong ugcId )
|
||||
{
|
||||
var details = steam3.GetUGCDetails( ugcId );
|
||||
SteamCloud.UGCDetailsCallback details = null;
|
||||
|
||||
if ( steam3.steamUser.SteamID.AccountType != EAccountType.AnonUser )
|
||||
{
|
||||
steam3.GetUGCDetails( ugcId );
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine( $"Unable to query UGC details for {ugcId} from an anonymous account" );
|
||||
}
|
||||
|
||||
if ( !string.IsNullOrEmpty( details?.URL ) )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user