Update KTK, Swap Dropdowns to EnumDropdowns

This commit is contained in:
Zeffuro
2026-01-23 14:49:33 +01:00
parent 0fee7d0954
commit 26b3de8a1d
14 changed files with 141 additions and 77 deletions
@@ -5,7 +5,7 @@ using AetherBags.Nodes.Currency;
using FFXIVClientStructs.FFXIV.Component.GUI;
using KamiToolKit.Classes;
using KamiToolKit.Nodes;
using Lumina.Text.ReadOnly;
using static AetherBags.Inventory.State.InventoryStateBase;
namespace AetherBags.Nodes.Inventory;
@@ -60,7 +60,7 @@ public sealed class InventoryFooterNode : SimpleComponentNode
});
}
public string SlotAmountText
public ReadOnlySeString SlotAmountText
{
get => _slotAmountTextNode.String;
set => _slotAmountTextNode.String = value;
@@ -74,8 +74,8 @@ public sealed class InventoryNotificationNode : SimpleComponentNode
{
field = value;
titleTextNode.SeString = value.Title;
messageTextNode.SeString = value.Message;
titleTextNode.String = value.Title;
messageTextNode.String = value.Message;
if (value.Title.IsEmpty && value.Message.IsEmpty)
{
@@ -1,6 +1,7 @@
using System. Numerics;
using FFXIVClientStructs.FFXIV.Component.GUI;
using KamiToolKit.Nodes;
using Lumina.Text.ReadOnly;
namespace AetherBags.Nodes.Inventory;
@@ -23,7 +24,7 @@ public class SaddleBagFooterNode : SimpleComponentNode
_slotCounterNode.AttachNode(this);
}
public string SlotAmountText
public ReadOnlySeString SlotAmountText
{
get => _slotCounterNode.String;
set => _slotCounterNode.String = $"Slots: {value}";