0.533.0.5330256
This commit is contained in:
parent
cef1651c22
commit
df7709a6b9
@ -1,5 +1,5 @@
|
|||||||
// Auto-generated list of creatable Roblox classes.
|
// Auto-generated list of creatable Roblox classes.
|
||||||
// Updated as of 0.532.0.5320475
|
// Updated as of 0.533.0.5330256
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
@ -697,6 +697,11 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class AlignPosition : Constraint
|
public class AlignPosition : Constraint
|
||||||
{
|
{
|
||||||
|
public AlignPosition() : base()
|
||||||
|
{
|
||||||
|
Color = BrickColor.FromNumber(194);
|
||||||
|
}
|
||||||
|
|
||||||
public bool ApplyAtCenterOfMass;
|
public bool ApplyAtCenterOfMass;
|
||||||
public float MaxForce = 10000;
|
public float MaxForce = 10000;
|
||||||
public float MaxVelocity = float.MaxValue;
|
public float MaxVelocity = float.MaxValue;
|
||||||
@ -717,6 +722,11 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class BallSocketConstraint : Constraint
|
public class BallSocketConstraint : Constraint
|
||||||
{
|
{
|
||||||
|
public BallSocketConstraint() : base()
|
||||||
|
{
|
||||||
|
Color = BrickColor.FromNumber(1009);
|
||||||
|
}
|
||||||
|
|
||||||
public bool LimitsEnabled;
|
public bool LimitsEnabled;
|
||||||
public float MaxFrictionTorqueXml = 0;
|
public float MaxFrictionTorqueXml = 0;
|
||||||
public float Radius = 0.15f;
|
public float Radius = 0.15f;
|
||||||
@ -729,6 +739,11 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class HingeConstraint : Constraint
|
public class HingeConstraint : Constraint
|
||||||
{
|
{
|
||||||
|
public HingeConstraint() : base()
|
||||||
|
{
|
||||||
|
Color = BrickColor.FromNumber(1009);
|
||||||
|
}
|
||||||
|
|
||||||
public ActuatorType ActuatorType = ActuatorType.None;
|
public ActuatorType ActuatorType = ActuatorType.None;
|
||||||
public float AngularResponsiveness = 45;
|
public float AngularResponsiveness = 45;
|
||||||
public float AngularSpeed = 0;
|
public float AngularSpeed = 0;
|
||||||
@ -755,6 +770,11 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class LinearVelocity : Constraint
|
public class LinearVelocity : Constraint
|
||||||
{
|
{
|
||||||
|
public LinearVelocity() : base()
|
||||||
|
{
|
||||||
|
Color = BrickColor.FromNumber(26);
|
||||||
|
}
|
||||||
|
|
||||||
public Vector3 LineDirection = new Vector3(1, 0, 0);
|
public Vector3 LineDirection = new Vector3(1, 0, 0);
|
||||||
public float LineVelocity = 0;
|
public float LineVelocity = 0;
|
||||||
public float MaxForce = 1000;
|
public float MaxForce = 1000;
|
||||||
@ -768,21 +788,35 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class PlaneConstraint : Constraint
|
public class PlaneConstraint : Constraint
|
||||||
{
|
{
|
||||||
|
public PlaneConstraint() : base()
|
||||||
|
{
|
||||||
|
Color = BrickColor.FromNumber(194);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Plane : PlaneConstraint
|
public class Plane : PlaneConstraint
|
||||||
{
|
{
|
||||||
|
public Plane() : base()
|
||||||
|
{
|
||||||
|
Color = BrickColor.FromNumber(194);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class RigidConstraint : Constraint
|
public class RigidConstraint : Constraint
|
||||||
{
|
{
|
||||||
public bool DestructionEnabled;
|
public RigidConstraint() : base()
|
||||||
public float DestructionForce = float.MaxValue;
|
{
|
||||||
public float DestructionTorque = float.MaxValue;
|
Color = BrickColor.FromNumber(194);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class RodConstraint : Constraint
|
public class RodConstraint : Constraint
|
||||||
{
|
{
|
||||||
|
public RodConstraint() : base()
|
||||||
|
{
|
||||||
|
Color = BrickColor.FromNumber(26);
|
||||||
|
}
|
||||||
|
|
||||||
public float Length = 5;
|
public float Length = 5;
|
||||||
public float LimitAngle0 = 90;
|
public float LimitAngle0 = 90;
|
||||||
public float LimitAngle1 = 90;
|
public float LimitAngle1 = 90;
|
||||||
@ -792,6 +826,11 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class RopeConstraint : Constraint
|
public class RopeConstraint : Constraint
|
||||||
{
|
{
|
||||||
|
public RopeConstraint() : base()
|
||||||
|
{
|
||||||
|
Color = BrickColor.FromNumber(25);
|
||||||
|
}
|
||||||
|
|
||||||
public float Length = 5;
|
public float Length = 5;
|
||||||
public float Restitution = 0;
|
public float Restitution = 0;
|
||||||
public float Thickness = 0.1f;
|
public float Thickness = 0.1f;
|
||||||
@ -804,6 +843,11 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public abstract class SlidingBallConstraint : Constraint
|
public abstract class SlidingBallConstraint : Constraint
|
||||||
{
|
{
|
||||||
|
public SlidingBallConstraint() : base()
|
||||||
|
{
|
||||||
|
Color = BrickColor.FromNumber(1009);
|
||||||
|
}
|
||||||
|
|
||||||
public ActuatorType ActuatorType = ActuatorType.None;
|
public ActuatorType ActuatorType = ActuatorType.None;
|
||||||
public bool LimitsEnabled;
|
public bool LimitsEnabled;
|
||||||
public float LinearResponsiveness = 45;
|
public float LinearResponsiveness = 45;
|
||||||
@ -821,6 +865,11 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class CylindricalConstraint : SlidingBallConstraint
|
public class CylindricalConstraint : SlidingBallConstraint
|
||||||
{
|
{
|
||||||
|
public CylindricalConstraint() : base()
|
||||||
|
{
|
||||||
|
Color = BrickColor.FromNumber(1009);
|
||||||
|
}
|
||||||
|
|
||||||
public ActuatorType AngularActuatorType = ActuatorType.None;
|
public ActuatorType AngularActuatorType = ActuatorType.None;
|
||||||
public bool AngularLimitsEnabled;
|
public bool AngularLimitsEnabled;
|
||||||
public float AngularResponsiveness = 45;
|
public float AngularResponsiveness = 45;
|
||||||
@ -839,10 +888,19 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class PrismaticConstraint : SlidingBallConstraint
|
public class PrismaticConstraint : SlidingBallConstraint
|
||||||
{
|
{
|
||||||
|
public PrismaticConstraint() : base()
|
||||||
|
{
|
||||||
|
Color = BrickColor.FromNumber(1009);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class SpringConstraint : Constraint
|
public class SpringConstraint : Constraint
|
||||||
{
|
{
|
||||||
|
public SpringConstraint() : base()
|
||||||
|
{
|
||||||
|
Color = BrickColor.FromNumber(200);
|
||||||
|
}
|
||||||
|
|
||||||
public float Coils = 3;
|
public float Coils = 3;
|
||||||
public float Damping = 0;
|
public float Damping = 0;
|
||||||
public float FreeLength = 1;
|
public float FreeLength = 1;
|
||||||
@ -863,6 +921,11 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class TorsionSpringConstraint : Constraint
|
public class TorsionSpringConstraint : Constraint
|
||||||
{
|
{
|
||||||
|
public TorsionSpringConstraint() : base()
|
||||||
|
{
|
||||||
|
Color = BrickColor.FromNumber(200);
|
||||||
|
}
|
||||||
|
|
||||||
public float Coils = 8;
|
public float Coils = 8;
|
||||||
public float Damping = 0.01f;
|
public float Damping = 0.01f;
|
||||||
|
|
||||||
@ -879,6 +942,11 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class UniversalConstraint : Constraint
|
public class UniversalConstraint : Constraint
|
||||||
{
|
{
|
||||||
|
public UniversalConstraint() : base()
|
||||||
|
{
|
||||||
|
Color = BrickColor.FromNumber(1009);
|
||||||
|
}
|
||||||
|
|
||||||
public bool LimitsEnabled;
|
public bool LimitsEnabled;
|
||||||
public float MaxAngle = 45;
|
public float MaxAngle = 45;
|
||||||
public float Radius = 0.2f;
|
public float Radius = 0.2f;
|
||||||
@ -1366,7 +1434,7 @@ namespace RobloxFiles
|
|||||||
public Color3 BorderColor3 = Color3.FromRGB(27, 42, 53);
|
public Color3 BorderColor3 = Color3.FromRGB(27, 42, 53);
|
||||||
public BorderMode BorderMode = BorderMode.Outline;
|
public BorderMode BorderMode = BorderMode.Outline;
|
||||||
public int BorderSizePixel = 1;
|
public int BorderSizePixel = 1;
|
||||||
public bool ClipsDescendants = false;
|
public bool ClipsDescendants = true;
|
||||||
|
|
||||||
[Obsolete]
|
[Obsolete]
|
||||||
public bool Draggable;
|
public bool Draggable;
|
||||||
@ -1402,11 +1470,23 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class Frame : GuiObject
|
public class Frame : GuiObject
|
||||||
{
|
{
|
||||||
|
public Frame() : base()
|
||||||
|
{
|
||||||
|
ClipsDescendants = false;
|
||||||
|
}
|
||||||
|
|
||||||
public FrameStyle Style = FrameStyle.Custom;
|
public FrameStyle Style = FrameStyle.Custom;
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract class GuiButton : GuiObject
|
public abstract class GuiButton : GuiObject
|
||||||
{
|
{
|
||||||
|
public GuiButton() : base()
|
||||||
|
{
|
||||||
|
Active = true;
|
||||||
|
ClipsDescendants = false;
|
||||||
|
Selectable = true;
|
||||||
|
}
|
||||||
|
|
||||||
public bool AutoButtonColor = true;
|
public bool AutoButtonColor = true;
|
||||||
public bool Modal;
|
public bool Modal;
|
||||||
public bool Selected;
|
public bool Selected;
|
||||||
@ -1415,6 +1495,13 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class ImageButton : GuiButton
|
public class ImageButton : GuiButton
|
||||||
{
|
{
|
||||||
|
public ImageButton() : base()
|
||||||
|
{
|
||||||
|
Active = true;
|
||||||
|
ClipsDescendants = false;
|
||||||
|
Selectable = true;
|
||||||
|
}
|
||||||
|
|
||||||
public Content HoverImage = "";
|
public Content HoverImage = "";
|
||||||
public Content Image = "";
|
public Content Image = "";
|
||||||
public Color3 ImageColor3 = new Color3(1, 1, 1);
|
public Color3 ImageColor3 = new Color3(1, 1, 1);
|
||||||
@ -1431,6 +1518,13 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class TextButton : GuiButton
|
public class TextButton : GuiButton
|
||||||
{
|
{
|
||||||
|
public TextButton() : base()
|
||||||
|
{
|
||||||
|
Active = true;
|
||||||
|
ClipsDescendants = false;
|
||||||
|
Selectable = true;
|
||||||
|
}
|
||||||
|
|
||||||
public Font Font = Font.Legacy;
|
public Font Font = Font.Legacy;
|
||||||
public FontFace FontFace = new FontFace("rbxasset://fonts/families/LegacyArial.json");
|
public FontFace FontFace = new FontFace("rbxasset://fonts/families/LegacyArial.json");
|
||||||
|
|
||||||
@ -1486,10 +1580,19 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public abstract class GuiLabel : GuiObject
|
public abstract class GuiLabel : GuiObject
|
||||||
{
|
{
|
||||||
|
public GuiLabel() : base()
|
||||||
|
{
|
||||||
|
ClipsDescendants = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class ImageLabel : GuiLabel
|
public class ImageLabel : GuiLabel
|
||||||
{
|
{
|
||||||
|
public ImageLabel() : base()
|
||||||
|
{
|
||||||
|
ClipsDescendants = false;
|
||||||
|
}
|
||||||
|
|
||||||
public Content Image = "";
|
public Content Image = "";
|
||||||
public Color3 ImageColor3 = new Color3(1, 1, 1);
|
public Color3 ImageColor3 = new Color3(1, 1, 1);
|
||||||
public Vector2 ImageRectOffset = new Vector2();
|
public Vector2 ImageRectOffset = new Vector2();
|
||||||
@ -1504,6 +1607,11 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class TextLabel : GuiLabel
|
public class TextLabel : GuiLabel
|
||||||
{
|
{
|
||||||
|
public TextLabel() : base()
|
||||||
|
{
|
||||||
|
ClipsDescendants = false;
|
||||||
|
}
|
||||||
|
|
||||||
public Font Font = Font.Legacy;
|
public Font Font = Font.Legacy;
|
||||||
public FontFace FontFace = new FontFace("rbxasset://fonts/families/LegacyArial.json");
|
public FontFace FontFace = new FontFace("rbxasset://fonts/families/LegacyArial.json");
|
||||||
|
|
||||||
@ -1559,6 +1667,12 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class ScrollingFrame : GuiObject
|
public class ScrollingFrame : GuiObject
|
||||||
{
|
{
|
||||||
|
public ScrollingFrame() : base()
|
||||||
|
{
|
||||||
|
Selectable = true;
|
||||||
|
SelectionGroup = true;
|
||||||
|
}
|
||||||
|
|
||||||
public AutomaticSize AutomaticCanvasSize = AutomaticSize.None;
|
public AutomaticSize AutomaticCanvasSize = AutomaticSize.None;
|
||||||
public Content BottomImage = "rbxasset://textures/ui/Scroll/scroll-bottom.png";
|
public Content BottomImage = "rbxasset://textures/ui/Scroll/scroll-bottom.png";
|
||||||
public Vector2 CanvasPosition = new Vector2();
|
public Vector2 CanvasPosition = new Vector2();
|
||||||
@ -1578,6 +1692,13 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class TextBox : GuiObject
|
public class TextBox : GuiObject
|
||||||
{
|
{
|
||||||
|
public TextBox() : base()
|
||||||
|
{
|
||||||
|
Active = true;
|
||||||
|
ClipsDescendants = false;
|
||||||
|
Selectable = true;
|
||||||
|
}
|
||||||
|
|
||||||
public bool ClearTextOnFocus = true;
|
public bool ClearTextOnFocus = true;
|
||||||
public Font Font = Font.Legacy;
|
public Font Font = Font.Legacy;
|
||||||
public FontFace FontFace = new FontFace("rbxasset://fonts/families/LegacyArial.json");
|
public FontFace FontFace = new FontFace("rbxasset://fonts/families/LegacyArial.json");
|
||||||
@ -1639,6 +1760,11 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class VideoFrame : GuiObject
|
public class VideoFrame : GuiObject
|
||||||
{
|
{
|
||||||
|
public VideoFrame() : base()
|
||||||
|
{
|
||||||
|
ClipsDescendants = false;
|
||||||
|
}
|
||||||
|
|
||||||
public bool Looped;
|
public bool Looped;
|
||||||
public bool Playing;
|
public bool Playing;
|
||||||
public double TimePosition = 0;
|
public double TimePosition = 0;
|
||||||
@ -1648,6 +1774,11 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class ViewportFrame : GuiObject
|
public class ViewportFrame : GuiObject
|
||||||
{
|
{
|
||||||
|
public ViewportFrame() : base()
|
||||||
|
{
|
||||||
|
ClipsDescendants = false;
|
||||||
|
}
|
||||||
|
|
||||||
public Color3 Ambient = Color3.FromRGB(200, 200, 200);
|
public Color3 Ambient = Color3.FromRGB(200, 200, 200);
|
||||||
public CFrame CameraCFrame = new CFrame();
|
public CFrame CameraCFrame = new CFrame();
|
||||||
public float CameraFieldOfView = 70;
|
public float CameraFieldOfView = 70;
|
||||||
@ -1792,6 +1923,12 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class ImageHandleAdornment : HandleAdornment
|
public class ImageHandleAdornment : HandleAdornment
|
||||||
{
|
{
|
||||||
|
public ImageHandleAdornment() : base()
|
||||||
|
{
|
||||||
|
Color = BrickColor.FromNumber(1);
|
||||||
|
Color3 = Color3.FromRGB(242, 243, 243);
|
||||||
|
}
|
||||||
|
|
||||||
public Content Image = "rbxasset://textures/SurfacesDefault.png";
|
public Content Image = "rbxasset://textures/SurfacesDefault.png";
|
||||||
public Vector2 Size = new Vector2(1, 1);
|
public Vector2 Size = new Vector2(1, 1);
|
||||||
}
|
}
|
||||||
@ -2626,6 +2763,14 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public abstract class FormFactorPart : BasePart
|
public abstract class FormFactorPart : BasePart
|
||||||
{
|
{
|
||||||
|
public FormFactorPart() : base()
|
||||||
|
{
|
||||||
|
BottomSurface = SurfaceType.Inlet;
|
||||||
|
Size = new Vector3(4, 1.2f, 2);
|
||||||
|
TopSurface = SurfaceType.Studs;
|
||||||
|
size = new Vector3(4, 1.2f, 2);
|
||||||
|
}
|
||||||
|
|
||||||
[Obsolete]
|
[Obsolete]
|
||||||
public FormFactor FormFactor
|
public FormFactor FormFactor
|
||||||
{
|
{
|
||||||
@ -2645,6 +2790,14 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class Part : FormFactorPart
|
public class Part : FormFactorPart
|
||||||
{
|
{
|
||||||
|
public Part() : base()
|
||||||
|
{
|
||||||
|
BottomSurface = SurfaceType.Inlet;
|
||||||
|
Size = new Vector3(4, 1.2f, 2);
|
||||||
|
TopSurface = SurfaceType.Studs;
|
||||||
|
size = new Vector3(4, 1.2f, 2);
|
||||||
|
}
|
||||||
|
|
||||||
public PartType Shape
|
public PartType Shape
|
||||||
{
|
{
|
||||||
get => shape;
|
get => shape;
|
||||||
@ -2656,16 +2809,40 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class FlagStand : Part
|
public class FlagStand : Part
|
||||||
{
|
{
|
||||||
|
public FlagStand() : base()
|
||||||
|
{
|
||||||
|
BottomSurface = SurfaceType.Inlet;
|
||||||
|
Size = new Vector3(4, 1.2f, 2);
|
||||||
|
TopSurface = SurfaceType.Studs;
|
||||||
|
size = new Vector3(4, 1.2f, 2);
|
||||||
|
}
|
||||||
|
|
||||||
public BrickColor TeamColor = BrickColor.FromNumber(194);
|
public BrickColor TeamColor = BrickColor.FromNumber(194);
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Seat : Part
|
public class Seat : Part
|
||||||
{
|
{
|
||||||
|
public Seat() : base()
|
||||||
|
{
|
||||||
|
BottomSurface = SurfaceType.Inlet;
|
||||||
|
Size = new Vector3(4, 1.2f, 2);
|
||||||
|
TopSurface = SurfaceType.Studs;
|
||||||
|
size = new Vector3(4, 1.2f, 2);
|
||||||
|
}
|
||||||
|
|
||||||
public bool Disabled;
|
public bool Disabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class SkateboardPlatform : Part
|
public class SkateboardPlatform : Part
|
||||||
{
|
{
|
||||||
|
public SkateboardPlatform() : base()
|
||||||
|
{
|
||||||
|
BottomSurface = SurfaceType.Inlet;
|
||||||
|
Size = new Vector3(4, 1.2f, 2);
|
||||||
|
TopSurface = SurfaceType.Studs;
|
||||||
|
size = new Vector3(4, 1.2f, 2);
|
||||||
|
}
|
||||||
|
|
||||||
public int Steer = 0;
|
public int Steer = 0;
|
||||||
public bool StickyWheels = true;
|
public bool StickyWheels = true;
|
||||||
public int Throttle = 0;
|
public int Throttle = 0;
|
||||||
@ -2673,6 +2850,14 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class SpawnLocation : Part
|
public class SpawnLocation : Part
|
||||||
{
|
{
|
||||||
|
public SpawnLocation() : base()
|
||||||
|
{
|
||||||
|
BottomSurface = SurfaceType.Inlet;
|
||||||
|
Size = new Vector3(4, 1.2f, 2);
|
||||||
|
TopSurface = SurfaceType.Studs;
|
||||||
|
size = new Vector3(4, 1.2f, 2);
|
||||||
|
}
|
||||||
|
|
||||||
public bool AllowTeamChangeOnTouch;
|
public bool AllowTeamChangeOnTouch;
|
||||||
public int Duration = 10;
|
public int Duration = 10;
|
||||||
public bool Enabled = true;
|
public bool Enabled = true;
|
||||||
@ -2682,10 +2867,26 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class WedgePart : FormFactorPart
|
public class WedgePart : FormFactorPart
|
||||||
{
|
{
|
||||||
|
public WedgePart() : base()
|
||||||
|
{
|
||||||
|
BottomSurface = SurfaceType.Inlet;
|
||||||
|
Size = new Vector3(4, 1.2f, 2);
|
||||||
|
size = new Vector3(4, 1.2f, 2);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Terrain : BasePart
|
public class Terrain : BasePart
|
||||||
{
|
{
|
||||||
|
public Terrain() : base()
|
||||||
|
{
|
||||||
|
Anchored = true;
|
||||||
|
BottomSurface = SurfaceType.Inlet;
|
||||||
|
Locked = true;
|
||||||
|
Size = new Vector3(2044, 252, 2044);
|
||||||
|
TopSurface = SurfaceType.Studs;
|
||||||
|
size = new Vector3(2044, 252, 2044);
|
||||||
|
}
|
||||||
|
|
||||||
public TerrainAcquisitionMethod AcquisitionMethod = TerrainAcquisitionMethod.None;
|
public TerrainAcquisitionMethod AcquisitionMethod = TerrainAcquisitionMethod.None;
|
||||||
public byte[] ClusterGridV3;
|
public byte[] ClusterGridV3;
|
||||||
public bool Decoration;
|
public bool Decoration;
|
||||||
@ -2701,6 +2902,12 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public abstract class TriangleMeshPart : BasePart
|
public abstract class TriangleMeshPart : BasePart
|
||||||
{
|
{
|
||||||
|
public TriangleMeshPart() : base()
|
||||||
|
{
|
||||||
|
Size = new Vector3(4, 1.2f, 2);
|
||||||
|
size = new Vector3(4, 1.2f, 2);
|
||||||
|
}
|
||||||
|
|
||||||
public Vector3 InitialSize = new Vector3(1, 1, 1);
|
public Vector3 InitialSize = new Vector3(1, 1, 1);
|
||||||
public byte[] LODData;
|
public byte[] LODData;
|
||||||
public SharedString PhysicalConfigData = SharedString.FromBase64("1B2M2Y8AsgTpgAmY7PhCfg==");
|
public SharedString PhysicalConfigData = SharedString.FromBase64("1B2M2Y8AsgTpgAmY7PhCfg==");
|
||||||
@ -2709,6 +2916,12 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class MeshPart : TriangleMeshPart
|
public class MeshPart : TriangleMeshPart
|
||||||
{
|
{
|
||||||
|
public MeshPart() : base()
|
||||||
|
{
|
||||||
|
Size = new Vector3(4, 1.2f, 2);
|
||||||
|
size = new Vector3(4, 1.2f, 2);
|
||||||
|
}
|
||||||
|
|
||||||
public bool DoubleSided;
|
public bool DoubleSided;
|
||||||
public bool HasJointOffset;
|
public bool HasJointOffset;
|
||||||
public bool HasSkinnedMesh;
|
public bool HasSkinnedMesh;
|
||||||
@ -2729,6 +2942,15 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class PartOperation : TriangleMeshPart
|
public class PartOperation : TriangleMeshPart
|
||||||
{
|
{
|
||||||
|
public PartOperation() : base()
|
||||||
|
{
|
||||||
|
BrickColor = BrickColor.FromNumber(1001);
|
||||||
|
Color = new Color3(1, 1, 1);
|
||||||
|
Size = new Vector3(4, 1.2f, 2);
|
||||||
|
brickColor = BrickColor.FromNumber(1001);
|
||||||
|
size = new Vector3(4, 1.2f, 2);
|
||||||
|
}
|
||||||
|
|
||||||
public Content AssetId = "";
|
public Content AssetId = "";
|
||||||
public byte[] ChildData;
|
public byte[] ChildData;
|
||||||
public SharedString ChildData2 = SharedString.FromBase64("yuZpQdnvvUBOTYh1jqZ2cA==");
|
public SharedString ChildData2 = SharedString.FromBase64("yuZpQdnvvUBOTYh1jqZ2cA==");
|
||||||
@ -2742,14 +2964,42 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class NegateOperation : PartOperation
|
public class NegateOperation : PartOperation
|
||||||
{
|
{
|
||||||
|
public NegateOperation() : base()
|
||||||
|
{
|
||||||
|
Anchored = true;
|
||||||
|
BrickColor = BrickColor.FromNumber(1001);
|
||||||
|
CanCollide = false;
|
||||||
|
Color = new Color3(1, 1, 1);
|
||||||
|
Size = new Vector3(4, 1.2f, 2);
|
||||||
|
brickColor = BrickColor.FromNumber(1001);
|
||||||
|
size = new Vector3(4, 1.2f, 2);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class UnionOperation : PartOperation
|
public class UnionOperation : PartOperation
|
||||||
{
|
{
|
||||||
|
public UnionOperation() : base()
|
||||||
|
{
|
||||||
|
BrickColor = BrickColor.FromNumber(1001);
|
||||||
|
Color = new Color3(1, 1, 1);
|
||||||
|
Size = new Vector3(4, 1.2f, 2);
|
||||||
|
brickColor = BrickColor.FromNumber(1001);
|
||||||
|
size = new Vector3(4, 1.2f, 2);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class TrussPart : BasePart
|
public class TrussPart : BasePart
|
||||||
{
|
{
|
||||||
|
public TrussPart() : base()
|
||||||
|
{
|
||||||
|
BackSurface = SurfaceType.Universal;
|
||||||
|
BottomSurface = SurfaceType.Universal;
|
||||||
|
FrontSurface = SurfaceType.Universal;
|
||||||
|
LeftSurface = SurfaceType.Universal;
|
||||||
|
RightSurface = SurfaceType.Universal;
|
||||||
|
TopSurface = SurfaceType.Universal;
|
||||||
|
}
|
||||||
|
|
||||||
public Style Style
|
public Style Style
|
||||||
{
|
{
|
||||||
get => style;
|
get => style;
|
||||||
@ -2761,6 +3011,14 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class VehicleSeat : BasePart
|
public class VehicleSeat : BasePart
|
||||||
{
|
{
|
||||||
|
public VehicleSeat() : base()
|
||||||
|
{
|
||||||
|
BottomSurface = SurfaceType.Inlet;
|
||||||
|
Size = new Vector3(4, 1.2f, 2);
|
||||||
|
TopSurface = SurfaceType.Studs;
|
||||||
|
size = new Vector3(4, 1.2f, 2);
|
||||||
|
}
|
||||||
|
|
||||||
public bool Disabled;
|
public bool Disabled;
|
||||||
public bool HeadsUpDisplay = true;
|
public bool HeadsUpDisplay = true;
|
||||||
public float MaxSpeed = 25;
|
public float MaxSpeed = 25;
|
||||||
@ -3755,6 +4013,14 @@ namespace RobloxFiles
|
|||||||
public BrickColor TeamColor = BrickColor.FromNumber(1);
|
public BrickColor TeamColor = BrickColor.FromNumber(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class TeamCreateService : Instance
|
||||||
|
{
|
||||||
|
public TeamCreateService()
|
||||||
|
{
|
||||||
|
IsService = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public class Teams : Instance
|
public class Teams : Instance
|
||||||
{
|
{
|
||||||
public Teams()
|
public Teams()
|
||||||
@ -3781,6 +4047,14 @@ namespace RobloxFiles
|
|||||||
public bool CustomizedTeleportUI;
|
public bool CustomizedTeleportUI;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class TemporaryCageMeshProvider : Instance
|
||||||
|
{
|
||||||
|
public TemporaryCageMeshProvider()
|
||||||
|
{
|
||||||
|
IsService = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public class TemporaryScriptService : Instance
|
public class TemporaryScriptService : Instance
|
||||||
{
|
{
|
||||||
public TemporaryScriptService()
|
public TemporaryScriptService()
|
||||||
@ -4036,6 +4310,11 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class UIListLayout : UIGridStyleLayout
|
public class UIListLayout : UIGridStyleLayout
|
||||||
{
|
{
|
||||||
|
public UIListLayout() : base()
|
||||||
|
{
|
||||||
|
FillDirection = FillDirection.Vertical;
|
||||||
|
}
|
||||||
|
|
||||||
public UDim Padding = new UDim();
|
public UDim Padding = new UDim();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4054,6 +4333,11 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class UITableLayout : UIGridStyleLayout
|
public class UITableLayout : UIGridStyleLayout
|
||||||
{
|
{
|
||||||
|
public UITableLayout() : base()
|
||||||
|
{
|
||||||
|
FillDirection = FillDirection.Vertical;
|
||||||
|
}
|
||||||
|
|
||||||
public bool FillEmptySpaceColumns;
|
public bool FillEmptySpaceColumns;
|
||||||
public bool FillEmptySpaceRows;
|
public bool FillEmptySpaceRows;
|
||||||
public TableMajorAxis MajorAxis = TableMajorAxis.RowMajor;
|
public TableMajorAxis MajorAxis = TableMajorAxis.RowMajor;
|
||||||
|
Binary file not shown.
@ -457,16 +457,99 @@ local function generateClasses()
|
|||||||
end
|
end
|
||||||
|
|
||||||
local firstLine = true
|
local firstLine = true
|
||||||
table.sort(propNames)
|
class.PropertyMap = propMap
|
||||||
|
|
||||||
if classTags.Service then
|
local ancestor = class
|
||||||
writeLine("public %s()", className)
|
local diffProps = {}
|
||||||
|
|
||||||
|
while object do
|
||||||
|
ancestor = classes[ancestor.Superclass]
|
||||||
|
|
||||||
|
if not ancestor then
|
||||||
|
break
|
||||||
|
end
|
||||||
|
|
||||||
|
local inheritProps = ancestor.PropertyMap
|
||||||
|
local inherited = ancestor.Inherited
|
||||||
|
|
||||||
|
local baseObject = if inherited
|
||||||
|
then inherited.Object
|
||||||
|
else nil
|
||||||
|
|
||||||
|
if inheritProps and baseObject then
|
||||||
|
for name, prop in pairs(inheritProps) do
|
||||||
|
local tags = getTags(prop)
|
||||||
|
|
||||||
|
if tags.ReadOnly then
|
||||||
|
continue
|
||||||
|
end
|
||||||
|
|
||||||
|
local gotPropValue, propValue = pcall(function ()
|
||||||
|
return object[name]
|
||||||
|
end)
|
||||||
|
|
||||||
|
local gotBaseValue, baseValue = pcall(function ()
|
||||||
|
return baseObject[name]
|
||||||
|
end)
|
||||||
|
|
||||||
|
if gotBaseValue and gotPropValue then
|
||||||
|
if propValue ~= baseValue then
|
||||||
|
diffProps[name] = propValue
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
if classTags.Service or next(diffProps) then
|
||||||
|
local headerFormat = "public %s()"
|
||||||
|
|
||||||
|
if next(diffProps) then
|
||||||
|
headerFormat ..= " : base()"
|
||||||
|
end
|
||||||
|
|
||||||
|
writeLine(headerFormat, className)
|
||||||
openStack()
|
openStack()
|
||||||
|
|
||||||
writeLine("IsService = true;")
|
if classTags.Service then
|
||||||
|
writeLine("IsService = true;")
|
||||||
|
|
||||||
|
if next(diffProps) then
|
||||||
|
writeLine()
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
if next(diffProps) then
|
||||||
|
local diffNames = {}
|
||||||
|
|
||||||
|
for name in pairs(diffProps) do
|
||||||
|
table.insert(diffNames, name)
|
||||||
|
end
|
||||||
|
|
||||||
|
table.sort(diffNames)
|
||||||
|
|
||||||
|
for i, name in ipairs(diffNames) do
|
||||||
|
local value = diffProps[name]
|
||||||
|
local valueType = typeof(value)
|
||||||
|
local formatFunc = getFormatFunction(valueType)
|
||||||
|
|
||||||
|
if formatFunc ~= formatting.Null then
|
||||||
|
local result = formatFunc(value)
|
||||||
|
|
||||||
|
if result == "" then
|
||||||
|
result = tostring(value)
|
||||||
|
end
|
||||||
|
|
||||||
|
writeLine("%s = %s;", name, result)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
closeStack()
|
closeStack()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
table.sort(propNames)
|
||||||
|
|
||||||
for j, propName in ipairs(propNames) do
|
for j, propName in ipairs(propNames) do
|
||||||
local prop = propMap[propName]
|
local prop = propMap[propName]
|
||||||
local propTags = getTags(prop)
|
local propTags = getTags(prop)
|
||||||
@ -481,7 +564,7 @@ local function generateClasses()
|
|||||||
local couldSave = (serial.CanSave or propTags.Deprecated or redirect)
|
local couldSave = (serial.CanSave or propTags.Deprecated or redirect)
|
||||||
|
|
||||||
if serial.CanLoad and couldSave then
|
if serial.CanLoad and couldSave then
|
||||||
if firstLine and classTags.Service then
|
if firstLine and (classTags.Service or next(diffProps)) then
|
||||||
writeLine()
|
writeLine()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user