First commit, step 4 completed

This commit is contained in:
bepis
2026-10-15 14:27:00 +11:00
commit 9a30efa170
5378 changed files with 1136719 additions and 0 deletions
@@ -0,0 +1,56 @@
local DurationTextBindingShared =
{
Tables =
{
{
Name = "DurationTextBindingProperty",
Type = "Enumeration",
NumValues = 7,
MinValue = 0,
MaxValue = 6,
Fields =
{
{ Name = "RemainingDuration", Type = "DurationTextBindingProperty", EnumValue = 0 },
{ Name = "RemainingPercent", Type = "DurationTextBindingProperty", EnumValue = 1 },
{ Name = "ElapsedDuration", Type = "DurationTextBindingProperty", EnumValue = 2 },
{ Name = "ElapsedPercent", Type = "DurationTextBindingProperty", EnumValue = 3 },
{ Name = "TotalDuration", Type = "DurationTextBindingProperty", EnumValue = 4 },
{ Name = "StartTime", Type = "DurationTextBindingProperty", EnumValue = 5 },
{ Name = "EndTime", Type = "DurationTextBindingProperty", EnumValue = 6 },
},
},
{
Name = "DurationTextBindingColorOptions",
Type = "Structure",
Fields =
{
{ Name = "curve", Type = "LuaColorCurveObject", Nilable = false },
{ Name = "property", Type = "DurationTextBindingProperty", Nilable = false },
},
},
{
Name = "DurationTextBindingFormatComponent",
Type = "Structure",
Fields =
{
{ Name = "property", Type = "DurationTextBindingProperty", Nilable = false, Documentation = { "The duration property sampled for this format component." } },
{ Name = "formatter", Type = "NumericFormatter", Nilable = false, Documentation = { "The numeric formatter used to convert the sampled duration property into text." } },
},
},
{
Name = "DurationTextBindingFormatOptions",
Type = "Structure",
Fields =
{
{ Name = "formatString", Type = "stringView", Nilable = false },
{ Name = "components", Type = "table", InnerType = "DurationTextBindingFormatComponent", Nilable = false },
},
},
},
Predicates =
{
},
};
APIDocumentation:AddDocumentationTable(DurationTextBindingShared);