mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-30 20:33:43 +01:00
Tmp for Mod2
This commit is contained in:
parent
069ae772a5
commit
48e442a9fd
30 changed files with 697 additions and 252 deletions
|
|
@ -1,6 +1,8 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using OtterGui.Raii;
|
||||
using Penumbra.Mods;
|
||||
using Penumbra.UI.Classes;
|
||||
|
||||
namespace Penumbra.UI;
|
||||
|
||||
|
|
@ -20,7 +22,7 @@ public partial class SettingsInterface
|
|||
public TabBrowser()
|
||||
{
|
||||
_fileSystem = ModFileSystemA.Load();
|
||||
_selector = new ModFileSystemSelector( _fileSystem );
|
||||
_selector = new ModFileSystemSelector( _fileSystem, new HashSet<Mod>() );
|
||||
}
|
||||
|
||||
public void Draw()
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ public class ModListCache : IDisposable
|
|||
PluginLog.Debug( "Resetting mod selector list..." );
|
||||
if( _modsInOrder.Count == 0 )
|
||||
{
|
||||
foreach( var modData in _manager.StructuredMods.AllMods( _manager.Config.SortFoldersFirst ) )
|
||||
foreach( var modData in _manager.StructuredMods.AllMods( Penumbra.Config.SortFoldersFirst ) )
|
||||
{
|
||||
var idx = Penumbra.ModManager.Mods.IndexOf( modData );
|
||||
var mod = new FullMod( Penumbra.CollectionManager.Current[ idx ].Settings ?? ModSettings.DefaultSettings( modData.Meta ),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue