Initial commit: AetherBags + KamiToolKit for FC Gitea
Debug Build and Test / Build against Latest Dalamud (push) Has been cancelled
Debug Build and Test / Build against Staging Dalamud (push) Has been cancelled

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-02-08 14:46:31 -05:00
commit 8db4ce6094
375 changed files with 34124 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
namespace KamiToolKit.Enums;
public enum CounterFont {
MoneyFont,
ChocoboRace,
}
+21
View File
@@ -0,0 +1,21 @@
using System;
namespace KamiToolKit.Enums;
[Flags]
public enum DrawFlags : uint {
None = 0,
IsDirty = 0x1,
IsAnimating = 0x2,
CalculateTransformation = 0x4,
DisableRapidUp = 0x10,
DisableRapidDown = 0x20,
DisableRapidLeft = 0x40,
DisableRapidRight = 0x80,
DisableTimelineLabel = 0x100,
ClickableCursor = 0x100000,
RenderOnTop = 0x200000,
TextInputCursor = 0x400000,
UseEllipticalCollision = 0x800000,
UseTransformedCollision = 0x1000000,
}
+31
View File
@@ -0,0 +1,31 @@
using System;
namespace KamiToolKit.Enums;
[Flags]
public enum FlexFlags {
/// <summary>
/// Adjusts the height of the inserted node to be the same as the area generated
/// </summary>
FitHeight = 1 << 0,
/// <summary>
/// Adjusts the width of the inserted node to be the same as the area generated
/// </summary>
FitWidth = 1 << 1,
/// <summary>
/// Adjusts the FlexNode's height to fit the nodes that are inserted into it
/// </summary>
FitContentHeight = 1 << 3,
/// <summary>
/// Center inserted nodes into the middle of the flex area horizontally
/// </summary>
CenterVertically = 1 << 4,
/// <summary>
/// Center inserted nodes into the middle of the flex area vertically
/// </summary>
CenterHorizontally = 1 << 5,
}
+11
View File
@@ -0,0 +1,11 @@
using System.ComponentModel;
namespace KamiToolKit.Enums;
public enum HorizontalListAnchor {
[Description("Left")]
Left,
[Description("Right")]
Right,
}
+17
View File
@@ -0,0 +1,17 @@
using System.ComponentModel;
namespace KamiToolKit.Enums;
public enum LayoutAnchor {
[Description("Top Left")]
TopLeft,
[Description("Top Right")]
TopRight,
[Description("Bottom Left")]
BottomLeft,
[Description("Bottom Right")]
BottomRight,
}
+6
View File
@@ -0,0 +1,6 @@
namespace KamiToolKit.Enums;
public enum LayoutOrientation {
Vertical,
Horizontal,
}
+9
View File
@@ -0,0 +1,9 @@
using System;
namespace KamiToolKit.Enums;
[Flags]
public enum NodeEditMode {
Resize = 1 << 1,
Move = 1 << 2,
}
+7
View File
@@ -0,0 +1,7 @@
namespace KamiToolKit.Enums;
internal enum OverlayAddonState {
None,
WaitForReady,
Ready,
}
@@ -0,0 +1,7 @@
namespace KamiToolKit.Enums;
internal enum ControllerState {
WaitForNameplate,
WaitForReady,
Ready,
}
+51
View File
@@ -0,0 +1,51 @@
using System;
using System.ComponentModel;
namespace KamiToolKit.Enums;
public enum OverlayLayer {
/// <summary>
/// Layer that is the back most, this is below nameplates, but above the world itself.
/// </summary>
[Description("KTK_Overlay_Back")]
Background,
/// <summary>
/// Above nameplate layer
/// </summary>
[Description("KTK_Overlay_Middle")]
BehindUserInterface,
/// <summary>
/// Above most windows but below certain popup windows like battle text
/// </summary>
[Description("KTK_Overlay_Higher")]
AboveUserInterface,
/// <summary>
/// Above everything, use with caution
/// </summary>
[Description("KTK_Overlay_Front")]
Foreground,
}
public static class OverlayLayerExtensions {
extension(OverlayLayer layer) {
public int DepthLayer => layer switch {
OverlayLayer.Background => 1,
OverlayLayer.BehindUserInterface => 3,
OverlayLayer.AboveUserInterface => 7,
OverlayLayer.Foreground => 13,
_ => 1,
};
}
// Note: The game does not have a layer zero, but offsets the desired layer by one.
public static OverlayLayer GetOverlayLayer(this uint layer) => (layer + 1) switch {
1 => OverlayLayer.Background,
3 => OverlayLayer.BehindUserInterface,
7 => OverlayLayer.AboveUserInterface,
13 => OverlayLayer.Foreground,
_ => throw new Exception("Unknown depth layer: " + layer),
};
}
+6
View File
@@ -0,0 +1,6 @@
namespace KamiToolKit.Enums;
internal enum ResizeDirection {
BottomRight,
BottomLeft,
}
+20
View File
@@ -0,0 +1,20 @@
using System;
namespace KamiToolKit.Enums;
[Flags]
public enum TextInputFlags : ushort {
Capitalize = 0x1,
Mask = 0x2,
EnableDictionary = 0x4,
EnableHistory = 0x8,
EnableIme = 0x10,
EscapeClears = 0x20,
AllowUpperCase = 0x40,
AllowLowerCase = 0x80,
AllowNumberInput = 0x100,
AllowSymbolInput = 0x200,
WordWrap = 0x400,
MultiLine = 0x800,
AutoMaxWidth = 0x1000,
}
@@ -0,0 +1,11 @@
using System.ComponentModel;
namespace KamiToolKit.Enums;
public enum VerticalListAlignment {
[Description("Left")]
Left,
[Description("Right")]
Right,
}
+11
View File
@@ -0,0 +1,11 @@
using System.ComponentModel;
namespace KamiToolKit.Enums;
public enum VerticalListAnchor {
[Description("Top")]
Top,
[Description("Bottom")]
Bottom,
}
+8
View File
@@ -0,0 +1,8 @@
namespace KamiToolKit.Enums;
public enum WrapMode {
None = 0,
Tile = 1,
Stretch = 2,
TileMirrored = 3,
}