23 lines
607 B
C#
23 lines
607 B
C#
using System;
|
|
using FFXIVClientStructs.FFXIV.Component.GUI;
|
|
using Lumina.Text.ReadOnly;
|
|
|
|
namespace KamiToolKit.Nodes;
|
|
|
|
public class SimpleComponentNode : ComponentNode<AtkComponentBase, AtkUldComponentDataBase> {
|
|
public override ReadOnlySeString TextTooltip {
|
|
get => CollisionNode.TextTooltip;
|
|
set => CollisionNode.TextTooltip = value;
|
|
}
|
|
|
|
public bool DisableCollisionNode {
|
|
set {
|
|
if (!value) {
|
|
throw new Exception("Clearing DisableCollisionNode is not supported.");
|
|
}
|
|
|
|
CollisionNode.NodeFlags = 0;
|
|
}
|
|
}
|
|
}
|