Removed "Limit to my creatures", the code now automatically detects this for all owned actors. If you liked to apply edits to minions and stuff of other players... too bad. Implemented UI for setting profiles to NPC, minions and mounts (still WIP, will probably have to implement multiple characters per profile)
37 lines
808 B
C#
37 lines
808 B
C#
using CustomizePlus.Templates.Data;
|
|
using OtterGui.Classes;
|
|
using System;
|
|
|
|
namespace CustomizePlus.Templates.Events;
|
|
|
|
/// <summary>
|
|
/// Triggered when Template is changed
|
|
/// </summary>
|
|
public class TemplateChanged() : EventWrapper<TemplateChanged.Type, Template?, object?, TemplateChanged.Priority>(nameof(TemplateChanged))
|
|
{
|
|
public enum Type
|
|
{
|
|
Created,
|
|
Deleted,
|
|
Renamed,
|
|
NewBone,
|
|
UpdatedBone,
|
|
DeletedBone,
|
|
EditorEnabled,
|
|
EditorDisabled,
|
|
EditorCharacterChanged,
|
|
ReloadedAll,
|
|
WriteProtection
|
|
}
|
|
|
|
public enum Priority
|
|
{
|
|
TemplateCombo = -2,
|
|
TemplateFileSystemSelector = -1,
|
|
TemplateFileSystem,
|
|
ArmatureManager,
|
|
ProfileManager,
|
|
CustomizePlusIpc
|
|
}
|
|
}
|