Initial commit: AetherBags + KamiToolKit for FC Gitea
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using KamiToolKit.Nodes;
|
||||
|
||||
namespace KamiToolKit.Premade.Nodes;
|
||||
|
||||
public abstract class ConfigNode<T> : SimpleComponentNode {
|
||||
public T? ConfigurationOption {
|
||||
get;
|
||||
set {
|
||||
field = value;
|
||||
OptionChanged(value);
|
||||
}
|
||||
}
|
||||
|
||||
protected abstract void OptionChanged(T? option);
|
||||
|
||||
public Action<T>? OnConfigChanged { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user