Introducing custom Sort Order for mods and collapsible folders inside the mod selector based on '/' in the sort order.

This commit is contained in:
Ottermandias 2021-06-28 22:33:36 +02:00
parent 702e3b9305
commit d52086b69c
7 changed files with 157 additions and 13 deletions

View file

@ -11,6 +11,7 @@ namespace Penumbra.Mod
public DirectoryInfo BasePath;
public ModMeta Meta;
public ModResources Resources;
public string SortOrder;
public FileInfo MetaFile { get; set; }
@ -20,6 +21,7 @@ namespace Penumbra.Mod
Meta = meta;
Resources = resources;
MetaFile = MetaFileInfo( basePath );
SortOrder = meta.Name;
}
public static FileInfo MetaFileInfo( DirectoryInfo basePath )