-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReleaseInfo.cs
41 lines (39 loc) · 1.23 KB
/
ReleaseInfo.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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MechanicMonke.SimpleJSON;
namespace MonkeModManager.Internals
{
public class ReleaseInfo
{
public string Version;
public string Link;
public string Name;
public string Author;
public string GitPath;
public string Tag;
public string Group;
public string InstallLocation;
public int ReleaseId;
public bool Install = true;
public List<string> Dependencies = new List<string>();
public List<string> Dependents = new List<string>();
public ReleaseInfo(string _name, string _author, string _version, string _group, string _link, string _installLocation, string _gitPath, JSONArray dependencies)
{
Name = _name;
Author = _author;
Version = _version;
Group = _group;
Link = _link;
GitPath = _gitPath;
InstallLocation = _installLocation;
Group = _group;
if (dependencies == null) return;
for (int i = 0; i < dependencies.Count; i++)
{
Dependencies.Add(dependencies[i]);
}
}
}
}