Initial commit: AetherBags + KamiToolKit for FC Gitea
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user