More changes

This commit is contained in:
Zeffuro
2025-12-30 00:12:20 +01:00
parent 0d232e1fa0
commit acdd79f73a
10 changed files with 206 additions and 8 deletions
@@ -88,7 +88,7 @@ public sealed class InventoryNotificationNode : SimpleComponentNode
Timeline?.PlayAnimation(101);
}
}
} = null!;
// Future Zeff, this always goes on a parent
private Timeline ParentLabels => new TimelineBuilder()
@@ -0,0 +1,32 @@
using System. Numerics;
using FFXIVClientStructs.FFXIV.Component.GUI;
using KamiToolKit.Classes;
using KamiToolKit.Nodes;
namespace AetherBags.Nodes.Inventory;
public class SaddleBagFooterNode : SimpleComponentNode
{
private readonly TextNode _slotCounterNode;
private const float Padding = 8f;
public SaddleBagFooterNode()
{
_slotCounterNode = new TextNode
{
Position = new Vector2(Padding, 4f),
Size = new Vector2(100, 20),
AlignmentType = AlignmentType.Left,
TextColor = new Vector4(1f, 1f, 1f, 1f),
FontSize = 14,
};
_slotCounterNode.AttachNode(this);
}
public string SlotAmountText
{
get => _slotCounterNode.String;
set => _slotCounterNode.String = $"Slots: {value}";
}
}