Code commit
This commit is contained in:
30
CustomizePlus/Armatures/Events/ArmatureChanged.cs
Normal file
30
CustomizePlus/Armatures/Events/ArmatureChanged.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using CustomizePlus.Armatures.Data;
|
||||
using OtterGui.Classes;
|
||||
using System;
|
||||
|
||||
namespace CustomizePlus.Armatures.Events;
|
||||
|
||||
/// <summary>
|
||||
/// Triggered when armature is changed
|
||||
/// </summary>
|
||||
public sealed class ArmatureChanged() : EventWrapper<ArmatureChanged.Type, Armature?, object?, ArmatureChanged.Priority>(nameof(ArmatureChanged))
|
||||
{
|
||||
public enum Type
|
||||
{
|
||||
//Created,
|
||||
Deleted
|
||||
}
|
||||
|
||||
public enum Priority
|
||||
{
|
||||
ProfileManager
|
||||
}
|
||||
|
||||
public enum DeletionReason
|
||||
{
|
||||
Gone,
|
||||
NoActiveProfiles,
|
||||
ProfileManagerEvent,
|
||||
TemplateEditorEvent
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user