Files
AetherBags/KamiToolKit/Timelines/TimelineLabelSetKeyFrame.cs
T
KnackAtNite 8db4ce6094
Debug Build and Test / Build against Latest Dalamud (push) Has been cancelled
Debug Build and Test / Build against Staging Dalamud (push) Has been cancelled
Initial commit: AetherBags + KamiToolKit for FC Gitea
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-08 14:46:31 -05:00

44 lines
984 B
C#

using FFXIVClientStructs.FFXIV.Component.GUI;
namespace KamiToolKit.Timelines;
public class TimelineLabelSetKeyFrame : TimelineKeyFrame {
private AtkTimelineLabel data;
public AtkTimelineJumpBehavior JumpBehavior {
get => data.JumpBehavior;
set {
data.JumpBehavior = value;
UpdateValue();
}
}
public int LabelId {
get => data.LabelId;
set {
data.LabelId = (ushort)value;
UpdateValue();
}
}
public int JumpLabelId {
get => data.JumpLabelId;
set {
data.JumpLabelId = (byte)value;
UpdateValue();
}
}
private void UpdateValue() {
Value = new AtkTimelineKeyValue {
Label = data,
};
GroupType = AtkTimelineKeyGroupType.Label;
SpeedEnd = 0.0f;
Interpolation = AtkTimelineInterpolation.None;
GroupSelector = KeyFrameGroupType.TextLabel;
}
}