Exemplo n.º 1
0
 public static ModInfo BuildModInfoFromManifest(ModManifest manifest, bool active = false)
 {
     return(new ModInfo
     {
         Active = active,
         Guid = manifest.Guid,
         DisplayName = manifest.DisplayName
     });
 }
Exemplo n.º 2
0
 public static string GetModDirectory(ModManifest mod)
 {
     return(Path.Combine(ModsStorageRoot, mod.Guid.ToString()));
 }