-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
174 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace ColorMC.Core.Objs.Modrinth; | ||
|
||
public record ModrinthVersionFileObj | ||
{ | ||
public record FileObj | ||
{ | ||
public record HashesObj | ||
{ | ||
public string sha1 { get; set; } | ||
public string sha512 { get; set; } | ||
} | ||
public HashesObj hashes { get; set; } | ||
public string url { get; set; } | ||
public string filename { get; set; } | ||
public object file_type { get; set; } | ||
public bool primary { get; set; } | ||
public long size { get; set; } | ||
} | ||
public List<string> game_versions { get; set; } | ||
public List<string> loaders { get; set; } | ||
public string id { get; set; } | ||
public string project_id { get; set; } | ||
public string author_id { get; set; } | ||
public bool featured { get; set; } | ||
public string name { get; set; } | ||
public string version_number { get; set; } | ||
public string changelog { get; set; } | ||
public string changelog_url { get; set; } | ||
public string date_published { get; set; } | ||
public int downloads { get; set; } | ||
public string version_type { get; set; } | ||
public string status { get; set; } | ||
public object requested_status { get; set; } | ||
public List<FileObj> files { get; set; } | ||
} |
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