-
-
Notifications
You must be signed in to change notification settings - Fork 525
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Modrinth, Fabric/Quilt automated installation
- Loading branch information
1 parent
42cb6a0
commit 4c075f6
Showing
25 changed files
with
682 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
#import <UIKit/UIKit.h> | ||
|
||
@class ModpackAPI; | ||
|
||
@interface MinecraftResourceDownloadTask : NSObject | ||
@property NSProgress* progress; | ||
@property NSMutableArray *fileList, *progressList; | ||
@property NSMutableDictionary* verMetadata; | ||
@property NSMutableDictionary* metadata; | ||
@property(nonatomic, copy) void(^handleError)(void); | ||
|
||
- (NSURLSessionDownloadTask *)createDownloadTask:(NSString *)url sha:(NSString *)sha altName:(NSString *)altName toPath:(NSString *)path; | ||
- (void)addDownloadTaskToProgress:(NSURLSessionDownloadTask *)task; | ||
- (void)finishDownloadWithErrorString:(NSString *)error; | ||
|
||
- (void)downloadVersion:(NSDictionary *)version; | ||
- (void)downloadModpackFromAPI:(ModpackAPI *)api detail:(NSDictionary *)modDetail atIndex:(NSUInteger)selectedVersion; | ||
|
||
@end |
Oops, something went wrong.