Add interface collection.

This commit is contained in:
Ottermandias 2022-09-17 22:53:14 +02:00
parent 8597070063
commit 273111775c
8 changed files with 91 additions and 14 deletions

View file

@ -276,6 +276,7 @@ public class Penumbra : IDalamudPlugin
public void Dispose()
{
ShutdownWebServer();
DisposeInterface();
Ipc?.Dispose();
Api?.Dispose();
@ -289,8 +290,6 @@ public class Penumbra : IDalamudPlugin
ResourceLogger?.Dispose();
ResourceLoader?.Dispose();
CharacterUtility?.Dispose();
ShutdownWebServer();
}
public static bool SetCollection( string type, string collectionName )
@ -481,6 +480,7 @@ public class Penumbra : IDalamudPlugin
sb.AppendFormat( "> **`#Collections: `** {0}\n", CollectionManager.Count - 1 );
sb.AppendFormat( "> **`Active Collections: `** {0}\n", CollectionManager.Count( c => c.HasCache ) );
sb.AppendFormat( "> **`Base Collection: `** {0}\n", CollectionManager.Default.AnonymizedName );
sb.AppendFormat( "> **`Interface Collection: `** {0}\n", CollectionManager.Interface.AnonymizedName );
sb.AppendFormat( "> **`Selected Collection: `** {0}\n", CollectionManager.Current.AnonymizedName );
foreach( var type in CollectionTypeExtensions.Special )
{