internal File( CMsgCREEnumeratePublishedFilesResponse.PublishedFileId file ) { this.FileID = file.published_file_id; this.Reports = file.reports; this.Score = file.score; this.UpVotes = file.votes_for; this.DownVotes = file.votes_against; }
internal PublishedFilesCallback( JobID jobID, CMsgCREEnumeratePublishedFilesResponse msg ) { this.JobID = jobID; this.Result = ( EResult )msg.eresult; var fileList = msg.published_files .Select( f => new File( f ) ) .ToList(); this.Files = new ReadOnlyCollection<File>( fileList ); this.TotalResults = ( int )msg.total_results; }
internal PublishedFilesCallback( SteamClient client, CMsgCREEnumeratePublishedFilesResponse msg ) : base( client )