mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-29 20:03:44 +01:00
27 lines
1 KiB
C#
27 lines
1 KiB
C#
using OtterGui.Classes;
|
|
using Penumbra.Collections;
|
|
|
|
namespace Penumbra.Communication;
|
|
|
|
/// <summary>
|
|
/// Triggered whenever a collections inheritances change.
|
|
/// <list type="number">
|
|
/// <item>Parameter is the collection whose ancestors were changed. </item>
|
|
/// <item>Parameter is whether the change was itself inherited, i.e. if it happened in a direct parent (false) or a more removed ancestor (true). </item>
|
|
/// </list>
|
|
/// </summary>
|
|
public sealed class CollectionInheritanceChanged()
|
|
: EventWrapper<ModCollection, bool, CollectionInheritanceChanged.Priority>(nameof(CollectionInheritanceChanged))
|
|
{
|
|
public enum Priority
|
|
{
|
|
/// <seealso cref="Collections.Cache.CollectionCacheManager.OnCollectionInheritanceChange"/>
|
|
CollectionCacheManager = 0,
|
|
|
|
/// <seealso cref="UI.AdvancedWindow.ItemSwapTab.OnInheritanceChange"/>
|
|
ItemSwapTab = 0,
|
|
|
|
/// <seealso cref="UI.ModsTab.ModFileSystemSelector.OnInheritanceChange"/>
|
|
ModFileSystemSelector = 0,
|
|
}
|
|
}
|