-
Notifications
You must be signed in to change notification settings - Fork 0
/
IMinecraftProject.cs
43 lines (35 loc) · 1.06 KB
/
IMinecraftProject.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using MinecraftJars.Core.Versions;
namespace MinecraftJars.Core.Projects;
public interface IMinecraftProject
{
/// <summary>
/// Group of the project e.g. Server, Bedrock or Proxy
/// </summary>
ProjectGroup ProjectGroup { get; }
/// <summary>
/// Name of the project e.g. Vanilla, Spigot, etc.
/// </summary>
string Name { get; }
/// <summary>
/// Short description of the project
/// </summary>
string Description { get; }
/// <summary>
/// Url of the project
/// </summary>
string Url { get; }
/// <summary>
/// Required runtime for the project
/// </summary>
ProjectRuntime ProjectRuntime { get; }
/// <summary>
/// PNG logo of the project
/// </summary>
byte[] Logo { get; }
/// <summary>
/// Get available versions for the project from the provider
/// </summary>
Task<IEnumerable<IMinecraftVersion>> GetVersions(
VersionOptions? options = null,
CancellationToken cancellationToken = default!);
}