diff --git a/Generated/Classes.cs b/Generated/Classes.cs index 574c2f7..c7f0e7f 100644 --- a/Generated/Classes.cs +++ b/Generated/Classes.cs @@ -1,5 +1,5 @@ // Auto-generated list of creatable Roblox classes. -// Updated as of 0.522.0.5220281 +// Updated as of 0.525.0.5250378 using System; @@ -1114,6 +1114,14 @@ namespace RobloxFiles public bool Visible = true; } + public class FaceAnimatorService : Instance + { + public FaceAnimatorService() + { + IsService = true; + } + } + public class FaceControls : Instance { } @@ -1296,6 +1304,11 @@ namespace RobloxFiles } public LocalizationTable RootLocalizationTable; + public SelectionBehavior SelectionBehaviorDown = SelectionBehavior.Escape; + public SelectionBehavior SelectionBehaviorLeft = SelectionBehavior.Escape; + public SelectionBehavior SelectionBehaviorRight = SelectionBehavior.Escape; + public SelectionBehavior SelectionBehaviorUp = SelectionBehavior.Escape; + public bool SelectionGroup; } public abstract class GuiObject : GuiBase2d @@ -1338,6 +1351,7 @@ namespace RobloxFiles public float Rotation = 0; public bool Selectable; public GuiObject SelectionImageObject; + public int SelectionOrder = 0; public UDim2 Size = new UDim2(); public SizeConstraint SizeConstraint = SizeConstraint.RelativeXY; @@ -2373,7 +2387,6 @@ namespace RobloxFiles public MaterialVariant TerrainSlate; public MaterialVariant TerrainSnow; public MaterialVariant TerrainWoodPlanks; - public bool Use2022Materials; public MaterialVariant Wood; public string WoodName = "Wood"; public MaterialVariant WoodPlanks; @@ -3155,6 +3168,7 @@ namespace RobloxFiles public int PropertyOrder = 5000; public string ScriptContext = ""; public bool ServerOnly; + public string SliderScaling = ""; public double UIMaximum = 0; public double UIMinimum = 0; public double UINumTicks = 0; @@ -3270,6 +3284,14 @@ namespace RobloxFiles } } + public class ScriptCloneWatcherHelperV2 : Instance + { + public ScriptCloneWatcherHelperV2() + { + IsService = true; + } + } + public class ScriptContext : Instance { public ScriptContext() diff --git a/Generated/Enums.cs b/Generated/Enums.cs index 27f9d84..532f04e 100644 --- a/Generated/Enums.cs +++ b/Generated/Enums.cs @@ -1,5 +1,5 @@ // Auto-generated list of Roblox enums. -// Updated as of 0.522.0.5220281 +// Updated as of 0.525.0.5250378 namespace RobloxFiles.Enums { @@ -22,7 +22,9 @@ namespace RobloxFiles.Enums Shorts, LeftShoe, RightShoe, - DressSkirt + DressSkirt, + Eyebrow, + Eyelash } public enum ActuatorRelativeTo @@ -1077,6 +1079,12 @@ namespace RobloxFiles.Enums XY = 4 } + public enum SelectionBehavior + { + Escape, + Stop + } + public enum SignalBehavior { Default, diff --git a/Plugins/GenerateApiDump.rbxm b/Plugins/GenerateApiDump.rbxm index a657ee7..6b76b77 100644 Binary files a/Plugins/GenerateApiDump.rbxm and b/Plugins/GenerateApiDump.rbxm differ diff --git a/Plugins/GenerateApiDump/Formatting.lua b/Plugins/GenerateApiDump/Formatting.lua index 5a79d79..a652d8e 100644 --- a/Plugins/GenerateApiDump/Formatting.lua +++ b/Plugins/GenerateApiDump/Formatting.lua @@ -303,24 +303,32 @@ function Format.SharedString(str: string): string end function Format.FontFace(font: Font): string - local family = string.format("%q", font.Family) - local args = { family } - - local style = font.Style - local weight = font.Weight - - if style ~= Enum.FontStyle.Normal then - table.insert(args, "FontStyle." .. style.Name) + local success, result = pcall(function () + local family = string.format("%q", font.Family) + local args = { family } + + local style = font.Style + local weight = font.Weight + + if style ~= Enum.FontStyle.Normal then + table.insert(args, "FontStyle." .. style.Name) + end + + if #args > 1 or weight ~= Enum.FontWeight.Regular then + table.insert(args, "FontWeight." .. weight.Name) + end + + local fmt = "new FontFace(%s)" + local argStr = table.concat(args, ", ") + + return fmt:format(argStr) + end) + + if success then + return result end - if #args > 1 or weight ~= Enum.FontWeight.Regular then - table.insert(args, "FontWeight." .. weight.Name) - end - - local fmt = "new FontFace(%s)" - local argStr = table.concat(args, ", ") - - return fmt:format(argStr) + return nil end return Format \ No newline at end of file diff --git a/RobloxFileFormat.csproj b/RobloxFileFormat.csproj index 0a0dbe6..83d7457 100644 --- a/RobloxFileFormat.csproj +++ b/RobloxFileFormat.csproj @@ -92,6 +92,7 @@ + @@ -164,4 +165,7 @@ + + copy /y $(TargetPath) $(ProjectDir)$(TargetFileName) + \ No newline at end of file diff --git a/RobloxFileFormat.dll b/RobloxFileFormat.dll index 8910c78..62b40c3 100644 Binary files a/RobloxFileFormat.dll and b/RobloxFileFormat.dll differ diff --git a/Tree/Instance.cs b/Tree/Instance.cs index 1e9b6e1..b284dfc 100644 --- a/Tree/Instance.cs +++ b/Tree/Instance.cs @@ -4,6 +4,8 @@ using System.Linq; using System.Reflection; using System.Text; +using RobloxFiles.DataTypes; + namespace RobloxFiles { ///