Changed SteamUser.LoggedOffCallback to expose the Steam2Ticket directly, instead of the data.

Added various bits of XML documentation.
pull/8/head
Ryan Stecker 14 years ago
parent 90b9051de3
commit d638dc7ec2

@ -318,7 +318,7 @@ namespace DepotDownloader
return new ContentServerClient.Credentials()
{
Steam2Ticket = new Steam2Ticket(steam3Credentials.Steam2Ticket),
Steam2Ticket = steam3Credentials.Steam2Ticket,
AppTicket = steam3.AppTickets[appId],
SessionToken = steam3Credentials.SessionToken,
};
@ -513,16 +513,14 @@ namespace DepotDownloader
return;
}
byte[] manifest = cdnClient.DownloadDepotManifest(depotId, depot_manifest);
DepotManifest depotManifest = cdnClient.DownloadDepotManifest( depotId, depot_manifest );
if (manifest == null)
if ( depotManifest == null )
{
Console.WriteLine("\nUnable to download manifest {0} for depot {1}", depot_manifest, depotId);
Console.WriteLine( "\nUnable to download manifest {0} for depot {1}", depot_manifest, depotId );
return;
}
DepotManifest depotManifest = new DepotManifest(manifest);
if (!depotManifest.DecryptFilenames(depotKey))
{
Console.WriteLine("\nUnable to decrypt manifest for depot {0}", depotId);

@ -15,7 +15,7 @@ namespace DepotDownloader
public class Credentials
{
public ulong SessionToken { get; set; }
public byte[] Steam2Ticket { get; set; }
public Steam2Ticket Steam2Ticket { get; set; }
public bool IsValid
{

Loading…
Cancel
Save