File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Source/ModManager/Manifest Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ public class Manifest
1919 private string version ;
2020 private ModMetaData mod ;
2121 public Version Version { get ; private set ; }
22+ public List < string > tags = new List < string > ( ) ;
2223 public string identifier ;
2324 public List < Dependency > dependencies = new List < Dependency > ( ) ;
2425 public List < Dependency > incompatibleWith = new List < Dependency > ( ) ;
@@ -272,6 +273,8 @@ public List<ModIssue> LoadOrderIssues
272273 public override string ToString ( )
273274 {
274275 var str = $ "Manifest for: { mod . Name } ({ Version ? . ToString ( ) ?? "unknown" } )";
276+ if ( ! tags . NullOrEmpty ( ) )
277+ tags . ForEach ( d => str += $ "\n \t tag: { d } ") ;
275278 if ( ManifestUri != null ) str += $ "\n \t manifestUri: { ManifestUri } ";
276279 if ( DownloadUri != null ) str += $ "\n \t downloadUri: { DownloadUri } ";
277280 if ( ! dependencies . NullOrEmpty ( ) )
You can’t perform that action at this time.
0 commit comments