diff --git a/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/Callbacks.cs b/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/Callbacks.cs
index 6d8719e84..c277bc2d2 100644
--- a/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/Callbacks.cs
+++ b/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/Callbacks.cs
@@ -13,87 +13,6 @@ namespace SteamKit2
{
public sealed partial class SteamWorkshop
{
- ///
- /// This callback is received in response to calling .
- ///
- public sealed class PublishedFilesCallback : CallbackMsg
- {
- ///
- /// Represents the details of a single published file.
- ///
- public sealed class File
- {
- ///
- /// Gets the file ID.
- ///
- public PublishedFileID FileID { get; private set; }
-
- ///
- /// Gets the number of reports for this file.
- ///
- public int Reports { get; private set; }
-
- ///
- /// Gets the score of this file, based on up and down votes.
- ///
- public float Score { get; private set; }
-
- ///
- /// Gets the total count of up votes.
- ///
- public int UpVotes { get; private set; }
- ///
- /// Gets the total count of down votes.
- ///
- public int DownVotes { get; private set; }
-
-
- 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;
- }
- }
-
-
- ///
- /// Gets the result.
- ///
- public EResult Result { get; private set; }
-
- ///
- /// Gets the list of enumerated files.
- ///
- public ReadOnlyCollection Files { get; private set; }
-
- ///
- /// Gets the count of total results.
- ///
- public int TotalResults { get; private set; }
-
-
- 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( fileList );
-
- this.TotalResults = ( int )msg.total_results;
- }
- }
-
///
/// This callback is received in response to calling .
///
diff --git a/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/SteamWorkshop.cs b/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/SteamWorkshop.cs
index 31701d6f0..66eed1d95 100644
--- a/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/SteamWorkshop.cs
+++ b/SteamKit2/SteamKit2/Steam/Handlers/SteamWorkshop/SteamWorkshop.cs
@@ -20,7 +20,6 @@ internal SteamWorkshop()
{
dispatchMap = new Dictionary>
{
- { EMsg.CREEnumeratePublishedFilesResponse, HandleEnumPublishedFiles },
{ EMsg.ClientUCMEnumerateUserPublishedFilesResponse, HandleEnumUserPublishedFiles },
{ EMsg.ClientUCMEnumerateUserSubscribedFilesResponse, HandleEnumUserSubscribedFiles },
{ EMsg.ClientUCMEnumeratePublishedFilesByUserActionResponse, HandleEnumPublishedFilesByAction },
@@ -144,104 +143,6 @@ public AsyncJob EnumeratePublishedFilesByUserA
return new AsyncJob( this.Client, enumRequest.SourceJobID );
}
- ///
- /// Represents the details of an enumeration request for all published files.
- ///
- public sealed class EnumerationDetails
- {
- ///
- /// Gets or sets the AppID of the workshop to enumerate.
- ///
- ///
- /// The AppID.
- ///
- public uint AppID { get; set; }
-
- ///
- /// Gets or sets the type of the enumeration.
- ///
- ///
- /// The type.
- ///
- public EWorkshopEnumerationType Type { get; set; }
-
- ///
- /// Gets or sets the start index.
- ///
- ///
- /// The start index.
- ///
- public uint StartIndex { get; set; }
-
- ///
- /// Gets or sets the days.
- ///
- ///
- /// The days.
- ///
- public uint Days { get; set; }
- ///
- /// Gets or sets the number of results to return.
- ///
- ///
- /// The number of results.
- ///
- public uint Count { get; set; }
-
- ///
- /// Gets the list of tags to enumerate.
- ///
- public List Tags { get; private set; }
- ///
- /// Gets the list of user tags to enumerate.
- ///
- public List UserTags { get; private set; }
-
-
- ///
- /// Initializes a new instance of the class.
- ///
- public EnumerationDetails()
- {
- Tags = new List();
- UserTags = new List();
- }
- }
-
- ///
- /// Enumerates the list of all published files on the Steam workshop.
- /// Results are returned in a .
- /// The returned can also be awaited to retrieve the callback result.
- ///
- /// The specific details of the request.
- /// The Job ID of the request. This can be used to find the appropriate .
- public AsyncJob EnumeratePublishedFiles( EnumerationDetails details )
- {
- if ( details == null )
- {
- throw new ArgumentNullException( nameof(details) );
- }
-
- var enumRequest = new ClientMsgProtobuf( EMsg.CREEnumeratePublishedFiles );
- enumRequest.SourceJobID = Client.GetNextJobID();
-
- enumRequest.Body.app_id = details.AppID;
-
- enumRequest.Body.query_type = ( int )details.Type;
-
- enumRequest.Body.start_index = details.StartIndex;
-
- enumRequest.Body.days = details.Days;
- enumRequest.Body.count = details.Count;
-
- enumRequest.Body.tags.AddRange( details.Tags );
- enumRequest.Body.user_tags.AddRange( details.UserTags );
-
- Client.Send( enumRequest );
-
- return new AsyncJob( this.Client, enumRequest.SourceJobID );
- }
-
///
/// Handles a client message. This should not be called directly.
///
@@ -266,13 +167,6 @@ public override void HandleMsg( IPacketMsg packetMsg )
#region ClientMsg Handlers
- void HandleEnumPublishedFiles( IPacketMsg packetMsg )
- {
- var response = new ClientMsgProtobuf( packetMsg );
-
- var callback = new PublishedFilesCallback(response.TargetJobID, response.Body);
- Client.PostCallback( callback );
- }
void HandleEnumUserPublishedFiles( IPacketMsg packetMsg )
{
var response = new ClientMsgProtobuf( packetMsg );