mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-14 20:54:16 +01:00
Now that's a collection manager.
This commit is contained in:
parent
5a817db069
commit
f85fc46fb7
55 changed files with 2433 additions and 2317 deletions
|
|
@ -5,7 +5,8 @@ using Penumbra.Mods;
|
|||
using System.Collections.Generic;
|
||||
using Penumbra.Services;
|
||||
using Penumbra.String.Classes;
|
||||
|
||||
using Penumbra.Collections.Manager;
|
||||
|
||||
namespace Penumbra.Api;
|
||||
|
||||
public enum RedirectResult
|
||||
|
|
@ -26,12 +27,12 @@ public class TempModManager : IDisposable
|
|||
public TempModManager(CommunicatorService communicator)
|
||||
{
|
||||
_communicator = communicator;
|
||||
_communicator.CollectionChange.Event += OnCollectionChange;
|
||||
_communicator.CollectionChange.Subscribe(OnCollectionChange);
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
_communicator.CollectionChange.Event -= OnCollectionChange;
|
||||
_communicator.CollectionChange.Unsubscribe(OnCollectionChange);
|
||||
}
|
||||
|
||||
public IReadOnlyDictionary<ModCollection, List<TemporaryMod>> Mods
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue