0.525.0.5250378

This commit is contained in:
Max 2022-05-06 14:37:23 -05:00
parent 5dc0e9f99c
commit b5e471a2bf
7 changed files with 64 additions and 20 deletions

View File

@ -1,5 +1,5 @@
// Auto-generated list of creatable Roblox classes. // Auto-generated list of creatable Roblox classes.
// Updated as of 0.522.0.5220281 // Updated as of 0.525.0.5250378
using System; using System;
@ -1114,6 +1114,14 @@ namespace RobloxFiles
public bool Visible = true; public bool Visible = true;
} }
public class FaceAnimatorService : Instance
{
public FaceAnimatorService()
{
IsService = true;
}
}
public class FaceControls : Instance public class FaceControls : Instance
{ {
} }
@ -1296,6 +1304,11 @@ namespace RobloxFiles
} }
public LocalizationTable RootLocalizationTable; 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 public abstract class GuiObject : GuiBase2d
@ -1338,6 +1351,7 @@ namespace RobloxFiles
public float Rotation = 0; public float Rotation = 0;
public bool Selectable; public bool Selectable;
public GuiObject SelectionImageObject; public GuiObject SelectionImageObject;
public int SelectionOrder = 0;
public UDim2 Size = new UDim2(); public UDim2 Size = new UDim2();
public SizeConstraint SizeConstraint = SizeConstraint.RelativeXY; public SizeConstraint SizeConstraint = SizeConstraint.RelativeXY;
@ -2373,7 +2387,6 @@ namespace RobloxFiles
public MaterialVariant TerrainSlate; public MaterialVariant TerrainSlate;
public MaterialVariant TerrainSnow; public MaterialVariant TerrainSnow;
public MaterialVariant TerrainWoodPlanks; public MaterialVariant TerrainWoodPlanks;
public bool Use2022Materials;
public MaterialVariant Wood; public MaterialVariant Wood;
public string WoodName = "Wood"; public string WoodName = "Wood";
public MaterialVariant WoodPlanks; public MaterialVariant WoodPlanks;
@ -3155,6 +3168,7 @@ namespace RobloxFiles
public int PropertyOrder = 5000; public int PropertyOrder = 5000;
public string ScriptContext = ""; public string ScriptContext = "";
public bool ServerOnly; public bool ServerOnly;
public string SliderScaling = "";
public double UIMaximum = 0; public double UIMaximum = 0;
public double UIMinimum = 0; public double UIMinimum = 0;
public double UINumTicks = 0; public double UINumTicks = 0;
@ -3270,6 +3284,14 @@ namespace RobloxFiles
} }
} }
public class ScriptCloneWatcherHelperV2 : Instance
{
public ScriptCloneWatcherHelperV2()
{
IsService = true;
}
}
public class ScriptContext : Instance public class ScriptContext : Instance
{ {
public ScriptContext() public ScriptContext()

View File

@ -1,5 +1,5 @@
// Auto-generated list of Roblox enums. // Auto-generated list of Roblox enums.
// Updated as of 0.522.0.5220281 // Updated as of 0.525.0.5250378
namespace RobloxFiles.Enums namespace RobloxFiles.Enums
{ {
@ -22,7 +22,9 @@ namespace RobloxFiles.Enums
Shorts, Shorts,
LeftShoe, LeftShoe,
RightShoe, RightShoe,
DressSkirt DressSkirt,
Eyebrow,
Eyelash
} }
public enum ActuatorRelativeTo public enum ActuatorRelativeTo
@ -1077,6 +1079,12 @@ namespace RobloxFiles.Enums
XY = 4 XY = 4
} }
public enum SelectionBehavior
{
Escape,
Stop
}
public enum SignalBehavior public enum SignalBehavior
{ {
Default, Default,

Binary file not shown.

View File

@ -303,24 +303,32 @@ function Format.SharedString(str: string): string
end end
function Format.FontFace(font: Font): string function Format.FontFace(font: Font): string
local family = string.format("%q", font.Family) local success, result = pcall(function ()
local args = { family } local family = string.format("%q", font.Family)
local args = { family }
local style = font.Style
local weight = font.Weight local style = font.Style
local weight = font.Weight
if style ~= Enum.FontStyle.Normal then
table.insert(args, "FontStyle." .. style.Name) 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 end
if #args > 1 or weight ~= Enum.FontWeight.Regular then return nil
table.insert(args, "FontWeight." .. weight.Name)
end
local fmt = "new FontFace(%s)"
local argStr = table.concat(args, ", ")
return fmt:format(argStr)
end end
return Format return Format

View File

@ -92,6 +92,7 @@
<Compile Include="DataTypes\SharedString.cs" /> <Compile Include="DataTypes\SharedString.cs" />
<Compile Include="DataTypes\UDim.cs" /> <Compile Include="DataTypes\UDim.cs" />
<Compile Include="DataTypes\UDim2.cs" /> <Compile Include="DataTypes\UDim2.cs" />
<Compile Include="DataTypes\UniqueId.cs" />
<Compile Include="DataTypes\Vector2.cs" /> <Compile Include="DataTypes\Vector2.cs" />
<Compile Include="DataTypes\Vector2int16.cs" /> <Compile Include="DataTypes\Vector2int16.cs" />
<Compile Include="DataTypes\Vector3.cs" /> <Compile Include="DataTypes\Vector3.cs" />
@ -164,4 +165,7 @@
<Error Condition="!Exists('packages\Fody.6.0.0\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\Fody.6.0.0\build\Fody.targets'))" /> <Error Condition="!Exists('packages\Fody.6.0.0\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\Fody.6.0.0\build\Fody.targets'))" />
<Error Condition="!Exists('packages\Costura.Fody.4.1.0\build\Costura.Fody.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\Costura.Fody.4.1.0\build\Costura.Fody.props'))" /> <Error Condition="!Exists('packages\Costura.Fody.4.1.0\build\Costura.Fody.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\Costura.Fody.4.1.0\build\Costura.Fody.props'))" />
</Target> </Target>
<PropertyGroup>
<PostBuildEvent>copy /y $(TargetPath) $(ProjectDir)$(TargetFileName)</PostBuildEvent>
</PropertyGroup>
</Project> </Project>

Binary file not shown.

View File

@ -4,6 +4,8 @@ using System.Linq;
using System.Reflection; using System.Reflection;
using System.Text; using System.Text;
using RobloxFiles.DataTypes;
namespace RobloxFiles namespace RobloxFiles
{ {
/// <summary> /// <summary>