Bring in AAC!
project ive been working on for a while, just felt confident enough to move it here
This commit is contained in:
parent
e608e2a56b
commit
1d7052a258
209 changed files with 1561 additions and 74738 deletions
31
AAC/AACCore/Editor/LayerGroup.cs
Normal file
31
AAC/AACCore/Editor/LayerGroup.cs
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
using System.Collections.Generic;
|
||||
using nadena.dev.ndmf;
|
||||
|
||||
namespace gay.lilyy.aaccore {
|
||||
public abstract class LayerGroup
|
||||
{
|
||||
public virtual bool enabled { get { return true; } }
|
||||
public virtual bool experimental { get { return false; } }
|
||||
private V5AACLayerGroupLogger _logger;
|
||||
|
||||
|
||||
protected V5AACLayerGroupLogger Logger => _logger ??= new V5AACLayerGroupLogger(SystemName);
|
||||
|
||||
private static readonly List<LayerGroup> instances = new();
|
||||
|
||||
protected LayerGroup() => instances.Add(this);
|
||||
|
||||
public static IEnumerable<LayerGroup> Instances => instances;
|
||||
|
||||
public virtual bool shouldWarnIfNotApplicable => true;
|
||||
public virtual BuildPhase buildPhase => BuildPhase.Generating;
|
||||
|
||||
public virtual bool IsApplicable(AACAssets assets) {
|
||||
return true;
|
||||
}
|
||||
public abstract string DisplayName { get; }
|
||||
public abstract string SystemName { get; }
|
||||
|
||||
public abstract void Run(AACAssets assets);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue