diff --git a/Generated/Classes.cs b/Generated/Classes.cs index 62dede6..7e2eb27 100644 --- a/Generated/Classes.cs +++ b/Generated/Classes.cs @@ -1,5 +1,5 @@ // Auto-generated list of creatable Roblox classes. -// Updated as of 0.442.0.409197 +// Updated as of 0.443.0.409841 using System; @@ -7,7 +7,11 @@ using RobloxFiles.DataTypes; using RobloxFiles.Enums; using RobloxFiles.Utility; -#pragma warning disable IDE1006 // Suppress warnings about camelCase. +#pragma warning disable CA1041 // Provide ObsoleteAttribute message +#pragma warning disable CA1051 // Do not declare visible instance fields +#pragma warning disable CA1707 // Identifiers should not contain underscores +#pragma warning disable CA1716 // Identifiers should not match keywords +#pragma warning disable IDE1006 // Naming Styles namespace RobloxFiles { @@ -89,15 +93,15 @@ namespace RobloxFiles public Color3 Color = Color3.FromRGB(199, 170, 107); public Color3 Decay = Color3.FromRGB(92, 60, 13); public float Density = 0.395f; - public float Glare = 0; - public float Haze = 0; - public float Offset = 0; + public float Glare; + public float Haze; + public float Offset; } public class Attachment : Instance { public CFrame CFrame = new CFrame(); - public bool Visible = false; + public bool Visible; } public class Bone : Attachment @@ -115,7 +119,7 @@ namespace RobloxFiles public class HopperBin : BackpackItem { - public bool Active = false; + public bool Active; public BinType BinType = BinType.Script; } @@ -124,7 +128,7 @@ namespace RobloxFiles public bool CanBeDropped = true; public bool Enabled = true; public CFrame Grip = new CFrame(); - public bool ManualActivationOnly = false; + public bool ManualActivationOnly; public bool RequiresHandle = true; public string ToolTip = ""; } @@ -153,7 +157,7 @@ namespace RobloxFiles IsService = true; } - public GuiObject SelectionImageObject = null; + public GuiObject SelectionImageObject; } public class StarterGui : BasePlayerGui @@ -172,15 +176,15 @@ namespace RobloxFiles public class Beam : Instance { - public Attachment Attachment0 = null; - public Attachment Attachment1 = null; + public Attachment Attachment0; + public Attachment Attachment1; public ColorSequence Color = new ColorSequence(1, 1, 1); - public float CurveSize0 = 0; - public float CurveSize1 = 0; + public float CurveSize0; + public float CurveSize1; public bool Enabled = true; - public bool FaceCamera = false; - public float LightEmission = 0; - public float LightInfluence = 0; + public bool FaceCamera; + public float LightEmission; + public float LightInfluence; public int Segments = 10; public Content Texture = ""; public float TextureLength = 1; @@ -189,7 +193,7 @@ namespace RobloxFiles public NumberSequence Transparency = new NumberSequence(0.5f); public float Width0 = 1; public float Width1 = 1; - public float ZOffset = 0; + public float ZOffset; } public class BindableEvent : Instance @@ -328,7 +332,7 @@ namespace RobloxFiles public float MaxSpeed = 30; public float MaxThrust = 4000; public Vector3 MaxTorque = new Vector3(400000, 400000, 0); - public BasePart Target = null; + public BasePart Target; public Vector3 TargetOffset = new Vector3(); public float TargetRadius = 4; public float ThrustD = 0.001f; @@ -380,7 +384,7 @@ namespace RobloxFiles public class Camera : Instance { public CFrame CFrame = new CFrame(0, 20, 20, 1, 0, 0, 0, 0.70711f, 0.70711f, 0, -0.70711f, 0.70711f); - public Instance CameraSubject = null; + public Instance CameraSubject; public CameraType CameraType = CameraType.Fixed; [Obsolete] @@ -420,7 +424,7 @@ namespace RobloxFiles public BrickColor HeadColor { get { return BrickColor.FromColor3(HeadColor3); } - set { HeadColor3 = value.Color; } + set { HeadColor3 = value?.Color; } } public Color3 HeadColor3 = Color3.FromRGB(253, 234, 141); @@ -428,7 +432,7 @@ namespace RobloxFiles public BrickColor LeftArmColor { get { return BrickColor.FromColor3(LeftArmColor3); } - set { LeftArmColor3 = value.Color; } + set { LeftArmColor3 = value?.Color; } } public Color3 LeftArmColor3 = Color3.FromRGB(253, 234, 141); @@ -436,7 +440,7 @@ namespace RobloxFiles public BrickColor LeftLegColor { get { return BrickColor.FromColor3(LeftLegColor3); } - set { LeftLegColor3 = value.Color; } + set { LeftLegColor3 = value?.Color; } } public Color3 LeftLegColor3 = Color3.FromRGB(13, 105, 172); @@ -444,7 +448,7 @@ namespace RobloxFiles public BrickColor RightArmColor { get { return BrickColor.FromColor3(RightArmColor3); } - set { RightArmColor3 = value.Color; } + set { RightArmColor3 = value?.Color; } } public Color3 RightArmColor3 = Color3.FromRGB(253, 234, 141); @@ -452,7 +456,7 @@ namespace RobloxFiles public BrickColor RightLegColor { get { return BrickColor.FromColor3(RightLegColor3); } - set { RightLegColor3 = value.Color; } + set { RightLegColor3 = value?.Color; } } public Color3 RightLegColor3 = Color3.FromRGB(13, 105, 172); @@ -460,7 +464,7 @@ namespace RobloxFiles public BrickColor TorsoColor { get { return BrickColor.FromColor3(TorsoColor3); } - set { TorsoColor3 = value.Color; } + set { TorsoColor3 = value?.Color; } } public Color3 TorsoColor3 = Color3.FromRGB(40, 127, 71); @@ -468,10 +472,10 @@ namespace RobloxFiles public class CharacterMesh : CharacterAppearance { - public long BaseTextureId = 0; + public long BaseTextureId; public BodyPart BodyPart = BodyPart.Head; - public long MeshId = 0; - public long OverlayTextureId = 0; + public long MeshId; + public long OverlayTextureId; } public abstract class Clothing : CharacterAppearance @@ -507,7 +511,7 @@ namespace RobloxFiles IsService = true; } - public bool BubbleChatEnabled = false; + public bool BubbleChatEnabled; public bool LoadDefaultChat = true; } @@ -531,11 +535,11 @@ namespace RobloxFiles public abstract class Constraint : Instance { - public Attachment Attachment0 = null; - public Attachment Attachment1 = null; + public Attachment Attachment0; + public Attachment Attachment1; public BrickColor Color = BrickColor.FromNumber(23); public bool Enabled = true; - public bool Visible = false; + public bool Visible; } public class AlignOrientation : Constraint @@ -543,37 +547,37 @@ namespace RobloxFiles public AlignType AlignType = AlignType.Parallel; public float MaxAngularVelocity = float.MaxValue; public float MaxTorque = 10000; - public bool PrimaryAxisOnly = false; - public bool ReactionTorqueEnabled = false; + public bool PrimaryAxisOnly; + public bool ReactionTorqueEnabled; public float Responsiveness = 10; - public bool RigidityEnabled = false; + public bool RigidityEnabled; } public class AlignPosition : Constraint { - public bool ApplyAtCenterOfMass = false; + public bool ApplyAtCenterOfMass; public float MaxForce = 10000; public float MaxVelocity = float.MaxValue; - public bool ReactionForceEnabled = false; + public bool ReactionForceEnabled; public float Responsiveness = 10; - public bool RigidityEnabled = false; + public bool RigidityEnabled; } public class AngularVelocity : Constraint { public Vector3 AngularVelocity_ = new Vector3(); - public float MaxTorque = 0; - public bool ReactionTorqueEnabled = false; + public float MaxTorque; + public bool ReactionTorqueEnabled; public ActuatorRelativeTo RelativeTo = ActuatorRelativeTo.World; } public class BallSocketConstraint : Constraint { - public bool LimitsEnabled = false; - public float MaxFrictionTorqueXml = 0; + public bool LimitsEnabled; + public float MaxFrictionTorqueXml; public float Radius = 0.15f; - public float Restitution = 0; - public bool TwistLimitsEnabled = false; + public float Restitution; + public bool TwistLimitsEnabled; public float TwistLowerAngle = -45; public float TwistUpperAngle = 45; public float UpperAngle = 45; @@ -582,26 +586,26 @@ namespace RobloxFiles public class HingeConstraint : Constraint { public ActuatorType ActuatorType = ActuatorType.None; - public float AngularSpeed = 0; - public float AngularVelocity = 0; - public bool LimitsEnabled = false; + public float AngularSpeed; + public float AngularVelocity; + public bool LimitsEnabled; public float LowerAngle = -45; public float MotorMaxAcceleration = float.MaxValue; - public float MotorMaxTorque = 0; + public float MotorMaxTorque; public float Radius = 0.15f; - public float Restitution = 0; - public float ServoMaxTorque = 0; - public float TargetAngle = 0; + public float Restitution; + public float ServoMaxTorque; + public float TargetAngle; public float UpperAngle = 45; } public class LineForce : Constraint { - public bool ApplyAtCenterOfMass = false; - public bool InverseSquareLaw = false; + public bool ApplyAtCenterOfMass; + public bool InverseSquareLaw; public float Magnitude = 1000; public float MaxForce = float.MaxValue; - public bool ReactionForceEnabled = false; + public bool ReactionForceEnabled; } public class RodConstraint : Constraint @@ -613,40 +617,40 @@ namespace RobloxFiles public class RopeConstraint : Constraint { public float Length = 5; - public float Restitution = 0; + public float Restitution; public float Thickness = 0.1f; } public abstract class SlidingBallConstraint : Constraint { public ActuatorType ActuatorType = ActuatorType.None; - public bool LimitsEnabled = false; - public float LowerLimit = 0; + public bool LimitsEnabled; + public float LowerLimit; public float MotorMaxAcceleration = float.MaxValue; - public float MotorMaxForce = 0; - public float Restitution = 0; - public float ServoMaxForce = 0; + public float MotorMaxForce; + public float Restitution; + public float ServoMaxForce; public float Size = 0.15f; - public float Speed = 0; - public float TargetPosition = 0; + public float Speed; + public float TargetPosition; public float UpperLimit = 5; - public float Velocity = 0; + public float Velocity; } public class CylindricalConstraint : SlidingBallConstraint { public ActuatorType AngularActuatorType = ActuatorType.None; - public bool AngularLimitsEnabled = false; - public float AngularRestitution = 0; - public float AngularSpeed = 0; - public float AngularVelocity = 0; - public float InclinationAngle = 0; + public bool AngularLimitsEnabled; + public float AngularRestitution; + public float AngularSpeed; + public float AngularVelocity; + public float InclinationAngle; public float LowerAngle = -45; public float MotorMaxAngularAcceleration = float.MaxValue; - public float MotorMaxTorque = 0; - public bool RotationAxisVisible = false; - public float ServoMaxTorque = 0; - public float TargetAngle = 0; + public float MotorMaxTorque; + public bool RotationAxisVisible; + public float ServoMaxTorque; + public float TargetAngle; public float UpperAngle = 45; } @@ -657,14 +661,14 @@ namespace RobloxFiles public class SpringConstraint : Constraint { public float Coils = 3; - public float Damping = 0; + public float Damping; public float FreeLength = 1; - public bool LimitsEnabled = false; + public bool LimitsEnabled; public float MaxForce = float.MaxValue; public float MaxLength = 5; - public float MinLength = 0; + public float MinLength; public float Radius = 0.4f; - public float Stiffness = 0; + public float Stiffness; public float Thickness = 0.1f; } @@ -676,7 +680,7 @@ namespace RobloxFiles public class VectorForce : Constraint { - public bool ApplyAtCenterOfMass = false; + public bool ApplyAtCenterOfMass; public Vector3 Force = new Vector3(1000, 0, 0); public ActuatorRelativeTo RelativeTo = ActuatorRelativeTo.Attachment0; } @@ -747,12 +751,12 @@ namespace RobloxFiles public class CustomEvent : Instance { - public float PersistedCurrentValue = 0; + public float PersistedCurrentValue; } public class CustomEventReceiver : Instance { - public Instance Source = null; + public Instance Source; } public abstract class DataModelMesh : Instance @@ -766,9 +770,9 @@ namespace RobloxFiles public abstract class BevelMesh : DataModelMesh { - public float Bevel = 0; - public float Bevel_Roundness = 0; - public float Bulge = 0; + public float Bevel; + public float Bevel_Roundness; + public float Bulge; } public class BlockMesh : BevelMesh @@ -800,7 +804,7 @@ namespace RobloxFiles public bool AutomaticRetry = true; [Obsolete] - public bool LegacyNamingScheme = false; + public bool LegacyNamingScheme; } public class Debris : Instance @@ -828,7 +832,7 @@ namespace RobloxFiles public string InitialPrompt = ""; public DialogPurpose Purpose = DialogPurpose.Help; public DialogTone Tone = DialogTone.Neutral; - public float TriggerDistance = 0; + public float TriggerDistance; public Vector3 TriggerOffset = new Vector3(); } @@ -883,16 +887,16 @@ namespace RobloxFiles public float Shiny = 20; [Obsolete] - public float Specular = 0; + public float Specular; public Content Texture = ""; - public float Transparency = 0; + public float Transparency; } public class Texture : Decal { - public float OffsetStudsU = 0; - public float OffsetStudsV = 0; + public float OffsetStudsU; + public float OffsetStudsV; public float StudsPerTileU = 2; public float StudsPerTileV = 2; } @@ -988,7 +992,7 @@ namespace RobloxFiles public class FunctionalTest : Instance { public string Description = "?"; - public bool HasMigratedSettingsToTestService = false; + public bool HasMigratedSettingsToTestService; } public class GamePassService : Instance @@ -1038,48 +1042,48 @@ namespace RobloxFiles set { AutoLocalize = value; } } - public LocalizationTable RootLocalizationTable = null; + public LocalizationTable RootLocalizationTable; } public abstract class GuiObject : GuiBase2d { - public bool Active = false; + public bool Active; public Vector2 AnchorPoint = new Vector2(); [Obsolete] public BrickColor BackgroundColor { get { return BrickColor.FromColor3(BackgroundColor3); } - set { BackgroundColor3 = value.Color; } + set { BackgroundColor3 = value?.Color; } } public Color3 BackgroundColor3 = Color3.FromRGB(163, 162, 165); - public float BackgroundTransparency = 0; + public float BackgroundTransparency; [Obsolete] public BrickColor BorderColor { get { return BrickColor.FromColor3(BorderColor3); } - set { BorderColor3 = value.Color; } + set { BorderColor3 = value?.Color; } } public Color3 BorderColor3 = Color3.FromRGB(27, 42, 53); public BorderMode BorderMode = BorderMode.Outline; public int BorderSizePixel = 1; - public bool ClipsDescendants = false; + public bool ClipsDescendants; [Obsolete] - public bool Draggable = false; + public bool Draggable; - public int LayoutOrder = 0; - public GuiObject NextSelectionDown = null; - public GuiObject NextSelectionLeft = null; - public GuiObject NextSelectionRight = null; - public GuiObject NextSelectionUp = null; + public int LayoutOrder; + public GuiObject NextSelectionDown; + public GuiObject NextSelectionLeft; + public GuiObject NextSelectionRight; + public GuiObject NextSelectionUp; public UDim2 Position = new UDim2(); - public float Rotation = 0; - public bool Selectable = false; - public GuiObject SelectionImageObject = null; + public float Rotation; + public bool Selectable; + public GuiObject SelectionImageObject; public UDim2 Size = new UDim2(); public SizeConstraint SizeConstraint = SizeConstraint.RelativeXY; @@ -1101,8 +1105,8 @@ namespace RobloxFiles public abstract class GuiButton : GuiObject { public bool AutoButtonColor = true; - public bool Modal = false; - public bool Selected = false; + public bool Modal; + public bool Selected; public ButtonStyle Style = ButtonStyle.Custom; } @@ -1113,7 +1117,7 @@ namespace RobloxFiles public Color3 ImageColor3 = new Color3(1, 1, 1); public Vector2 ImageRectOffset = new Vector2(); public Vector2 ImageRectSize = new Vector2(); - public float ImageTransparency = 0; + public float ImageTransparency; public Content PressedImage = ""; public ScaleType ScaleType = ScaleType.Stretch; public Rect SliceCenter = new Rect(new Vector2(), new Vector2()); @@ -1133,22 +1137,22 @@ namespace RobloxFiles } public float LineHeight = 1; - public bool RichText = false; + public bool RichText; public string Text = "Button"; [Obsolete] public BrickColor TextColor { get { return BrickColor.FromColor3(TextColor3); } - set { TextColor3 = value.Color; } + set { TextColor3 = value?.Color; } } public Color3 TextColor3 = Color3.FromRGB(27, 42, 53); - public bool TextScaled = false; + public bool TextScaled; public float TextSize = 8; public Color3 TextStrokeColor3 = new Color3(); public float TextStrokeTransparency = 1; - public float TextTransparency = 0; + public float TextTransparency; public TextTruncate TextTruncate = TextTruncate.None; [Obsolete] @@ -1158,7 +1162,7 @@ namespace RobloxFiles set { TextWrapped = value; } } - public bool TextWrapped = false; + public bool TextWrapped; public TextXAlignment TextXAlignment = TextXAlignment.Center; public TextYAlignment TextYAlignment = TextYAlignment.Center; @@ -1184,7 +1188,7 @@ namespace RobloxFiles public Color3 ImageColor3 = new Color3(1, 1, 1); public Vector2 ImageRectOffset = new Vector2(); public Vector2 ImageRectSize = new Vector2(); - public float ImageTransparency = 0; + public float ImageTransparency; public ScaleType ScaleType = ScaleType.Stretch; public Rect SliceCenter = new Rect(new Vector2(), new Vector2()); public float SliceScale = 1; @@ -1203,22 +1207,22 @@ namespace RobloxFiles } public float LineHeight = 1; - public bool RichText = false; + public bool RichText; public string Text = "Label"; [Obsolete] public BrickColor TextColor { get { return BrickColor.FromColor3(TextColor3); } - set { TextColor3 = value.Color; } + set { TextColor3 = value?.Color; } } public Color3 TextColor3 = Color3.FromRGB(27, 42, 53); - public bool TextScaled = false; + public bool TextScaled; public float TextSize = 8; public Color3 TextStrokeColor3 = new Color3(); public float TextStrokeTransparency = 1; - public float TextTransparency = 0; + public float TextTransparency; public TextTruncate TextTruncate = TextTruncate.None; [Obsolete] @@ -1228,7 +1232,7 @@ namespace RobloxFiles set { TextWrapped = value; } } - public bool TextWrapped = false; + public bool TextWrapped; public TextXAlignment TextXAlignment = TextXAlignment.Center; public TextYAlignment TextYAlignment = TextYAlignment.Center; @@ -1253,7 +1257,7 @@ namespace RobloxFiles public ScrollBarInset HorizontalScrollBarInset = ScrollBarInset.None; public Content MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"; public Color3 ScrollBarImageColor3 = new Color3(1, 1, 1); - public float ScrollBarImageTransparency = 0; + public float ScrollBarImageTransparency; public int ScrollBarThickness = 12; public ScrollingDirection ScrollingDirection = ScrollingDirection.XY; public bool ScrollingEnabled = true; @@ -1275,10 +1279,10 @@ namespace RobloxFiles } public float LineHeight = 1; - public bool MultiLine = false; + public bool MultiLine; public Color3 PlaceholderColor3 = Color3.FromRGB(178, 178, 178); public string PlaceholderText = ""; - public bool RichText = false; + public bool RichText; public bool ShowNativeInput = true; public string Text = "TextBox"; @@ -1286,16 +1290,16 @@ namespace RobloxFiles public BrickColor TextColor { get { return BrickColor.FromColor3(TextColor3); } - set { TextColor3 = value.Color; } + set { TextColor3 = value?.Color; } } public Color3 TextColor3 = Color3.FromRGB(27, 42, 53); public bool TextEditable = true; - public bool TextScaled = false; + public bool TextScaled; public float TextSize = 8; public Color3 TextStrokeColor3 = new Color3(); public float TextStrokeTransparency = 1; - public float TextTransparency = 0; + public float TextTransparency; public TextTruncate TextTruncate = TextTruncate.None; [Obsolete] @@ -1305,7 +1309,7 @@ namespace RobloxFiles set { TextWrapped = value; } } - public bool TextWrapped = false; + public bool TextWrapped; public TextXAlignment TextXAlignment = TextXAlignment.Center; public TextYAlignment TextYAlignment = TextYAlignment.Center; @@ -1323,9 +1327,9 @@ namespace RobloxFiles public class VideoFrame : GuiObject { - public bool Looped = false; - public bool Playing = false; - public double TimePosition = 0; + public bool Looped; + public bool Playing; + public double TimePosition; public Content Video = ""; public float Volume = 1; } @@ -1336,7 +1340,7 @@ namespace RobloxFiles public CFrame CameraCFrame = new CFrame(); public float CameraFieldOfView = 70; public Color3 ImageColor3 = new Color3(1, 1, 1); - public float ImageTransparency = 0; + public float ImageTransparency; public Color3 LightColor = Color3.FromRGB(140, 140, 140); public Vector3 LightDirection = new Vector3(-1, -1, -1); } @@ -1350,18 +1354,18 @@ namespace RobloxFiles public class BillboardGui : LayerCollector { - public bool Active = false; - public Instance Adornee = null; - public bool AlwaysOnTop = false; - public bool ClipsDescendants = false; - public float DistanceLowerLimit = 0; - public float DistanceStep = 0; + public bool Active; + public Instance Adornee; + public bool AlwaysOnTop; + public bool ClipsDescendants; + public float DistanceLowerLimit; + public float DistanceStep; public float DistanceUpperLimit = -1; public Vector3 ExtentsOffset = new Vector3(); public Vector3 ExtentsOffsetWorldSpace = new Vector3(); - public float LightInfluence = 0; + public float LightInfluence; public float MaxDistance = float.MaxValue; - public Instance PlayerToHideFrom = null; + public Instance PlayerToHideFrom; public UDim2 Size = new UDim2(); public Vector2 SizeOffset = new Vector2(); public Vector3 StudsOffset = new Vector3(); @@ -1370,8 +1374,8 @@ namespace RobloxFiles public class ScreenGui : LayerCollector { - public int DisplayOrder = 0; - public bool IgnoreGuiInset = false; + public int DisplayOrder; + public bool IgnoreGuiInset; } public class GuiMain : ScreenGui @@ -1381,16 +1385,16 @@ namespace RobloxFiles public class SurfaceGui : LayerCollector { public bool Active = true; - public Instance Adornee = null; - public bool AlwaysOnTop = false; + public Instance Adornee; + public bool AlwaysOnTop; public Vector2 CanvasSize = new Vector2(800, 600); - public bool ClipsDescendants = false; + public bool ClipsDescendants; public NormalId Face = NormalId.Front; - public float LightInfluence = 0; + public float LightInfluence; public float PixelsPerStud = 50; public SurfaceGuiSizingMode SizingMode = SurfaceGuiSizingMode.FixedSize; - public float ToolPunchThroughDistance = 0; - public float ZOffset = 0; + public float ToolPunchThroughDistance; + public float ZOffset; } public abstract class GuiBase3d : GuiBase @@ -1399,29 +1403,29 @@ namespace RobloxFiles public BrickColor Color { get { return BrickColor.FromColor3(Color3); } - set { Color3 = value.Color; } + set { Color3 = value?.Color; } } public Color3 Color3 = Color3.FromRGB(13, 105, 172); - public float Transparency = 0; + public float Transparency; public bool Visible = true; } public class FloorWire : GuiBase3d { - public float CycleOffset = 0; - public BasePart From = null; + public float CycleOffset; + public BasePart From; public float StudsBetweenTextures = 4; public Content Texture = ""; public Vector2 TextureSize = new Vector2(1, 1); - public BasePart To = null; + public BasePart To; public float Velocity = 2; public float WireRadius = 0.0625f; } public abstract class InstanceAdornment : GuiBase3d { - public Instance Adornee = null; + public Instance Adornee; } public class SelectionBox : InstanceAdornment @@ -1432,7 +1436,7 @@ namespace RobloxFiles public BrickColor SurfaceColor { get { return BrickColor.FromColor3(SurfaceColor3); } - set { SurfaceColor3 = value.Color; } + set { SurfaceColor3 = value?.Color; } } public Color3 SurfaceColor3 = Color3.FromRGB(13, 105, 172); @@ -1441,12 +1445,12 @@ namespace RobloxFiles public abstract class PVAdornment : GuiBase3d { - public PVInstance Adornee = null; + public PVInstance Adornee; } public abstract class HandleAdornment : PVAdornment { - public bool AlwaysOnTop = false; + public bool AlwaysOnTop; public CFrame CFrame = new CFrame(); public Vector3 SizeRelativeOffset = new Vector3(); public int ZIndex = -1; @@ -1467,7 +1471,7 @@ namespace RobloxFiles { public float Angle = 360; public float Height = 1; - public float InnerRadius = 0; + public float InnerRadius; public float Radius = 1; } @@ -1498,7 +1502,7 @@ namespace RobloxFiles public BrickColor SurfaceColor { get { return BrickColor.FromColor3(SurfaceColor3); } - set { SurfaceColor3 = value.Color; } + set { SurfaceColor3 = value?.Color; } } public Color3 SurfaceColor3 = Color3.FromRGB(13, 105, 172); @@ -1507,7 +1511,7 @@ namespace RobloxFiles public abstract class PartAdornment : GuiBase3d { - public BasePart Adornee = null; + public BasePart Adornee; } public abstract class HandlesBase : PartAdornment @@ -1532,12 +1536,12 @@ namespace RobloxFiles public abstract class SelectionLasso : GuiBase3d { - public Humanoid Humanoid = null; + public Humanoid Humanoid; } public class SelectionPartLasso : SelectionLasso { - public BasePart Part = null; + public BasePart Part; } public class SelectionPointLasso : SelectionLasso @@ -1555,7 +1559,7 @@ namespace RobloxFiles public bool AutoSelectGuiEnabled = true; public bool CoreGuiNavigationEnabled = true; public bool GuiNavigationEnabled = true; - public GuiObject SelectedObject = null; + public GuiObject SelectedObject; } public class HapticService : Instance @@ -1581,7 +1585,7 @@ namespace RobloxFiles IsService = true; } - public bool HttpEnabled = false; + public bool HttpEnabled; } public class Humanoid : Instance @@ -1603,7 +1607,7 @@ namespace RobloxFiles public float HealthDisplayDistance = 100; public HumanoidHealthDisplayType HealthDisplayType = HumanoidHealthDisplayType.DisplayWhenDamaged; public float Health_XML = 100; - public float HipHeight = 0; + public float HipHeight; public Vector3 InternalBodyScale = new Vector3(1, 1, 1); public float InternalHeadScale = 1; public float JumpHeight = 7.2f; @@ -1629,42 +1633,42 @@ namespace RobloxFiles { public string BackAccessory = ""; public float BodyTypeScale = 0.3f; - public long ClimbAnimation = 0; + public long ClimbAnimation; public float DepthScale = 1; public string EmotesDataInternal = ""; public string EquippedEmotesDataInternal = ""; - public long Face = 0; + public long Face; public string FaceAccessory = ""; - public long FallAnimation = 0; + public long FallAnimation; public string FrontAccessory = ""; - public long GraphicTShirt = 0; + public long GraphicTShirt; public string HairAccessory = ""; public string HatAccessory = ""; - public long Head = 0; + public long Head; public Color3 HeadColor = new Color3(); public float HeadScale = 1; public float HeightScale = 1; - public long IdleAnimation = 0; - public long JumpAnimation = 0; - public long LeftArm = 0; + public long IdleAnimation; + public long JumpAnimation; + public long LeftArm; public Color3 LeftArmColor = new Color3(); - public long LeftLeg = 0; + public long LeftLeg; public Color3 LeftLegColor = new Color3(); public string NeckAccessory = ""; - public long Pants = 0; + public long Pants; public float ProportionScale = 1; - public long RightArm = 0; + public long RightArm; public Color3 RightArmColor = new Color3(); - public long RightLeg = 0; + public long RightLeg; public Color3 RightLegColor = new Color3(); - public long RunAnimation = 0; - public long Shirt = 0; + public long RunAnimation; + public long Shirt; public string ShouldersAccessory = ""; - public long SwimAnimation = 0; - public long Torso = 0; + public long SwimAnimation; + public long Torso; public Color3 TorsoColor = new Color3(); public string WaistAccessory = ""; - public long WalkAnimation = 0; + public long WalkAnimation; public float WidthScale = 1; } @@ -1675,10 +1679,10 @@ namespace RobloxFiles IsService = true; } - public bool AllowClientInsertModels = false; + public bool AllowClientInsertModels; [Obsolete] - public bool AllowInsertFreeModels = false; + public bool AllowInsertFreeModels; } public abstract class JointInstance : Instance @@ -1687,13 +1691,13 @@ namespace RobloxFiles public CFrame C1 = new CFrame(); public bool Enabled = true; public bool IsAutoJoint = true; - public BasePart Part0 = null; - public BasePart Part1 = null; + public BasePart Part0; + public BasePart Part1; } public abstract class DynamicRotate : JointInstance { - public float BaseAngle = 0; + public float BaseAngle; } public class RotateP : DynamicRotate @@ -1728,8 +1732,8 @@ namespace RobloxFiles public class Motor : JointInstance { - public float DesiredAngle = 0; - public float MaxVelocity = 0; + public float DesiredAngle; + public float MaxVelocity; } public class Motor6D : Motor @@ -1746,10 +1750,10 @@ namespace RobloxFiles public class VelocityMotor : JointInstance { - public float CurrentAngle = 0; - public float DesiredAngle = 0; - public Hole Hole = null; - public float MaxVelocity = 0; + public float CurrentAngle; + public float DesiredAngle; + public Hole Hole; + public float MaxVelocity; } public class Weld : JointInstance @@ -1774,7 +1778,7 @@ namespace RobloxFiles public class Keyframe : Instance { - public float Time = 0; + public float Time; } public class KeyframeMarker : Instance @@ -1810,7 +1814,7 @@ namespace RobloxFiles public float Brightness = 1; public Color3 Color = new Color3(1, 1, 1); public bool Enabled = true; - public bool Shadows = false; + public bool Shadows; } public class PointLight : Light @@ -1843,14 +1847,14 @@ namespace RobloxFiles public float Brightness = 1; public Color3 ColorShift_Bottom = new Color3(); public Color3 ColorShift_Top = new Color3(); - public float EnvironmentDiffuseScale = 0; - public float EnvironmentSpecularScale = 0; - public float ExposureCompensation = 0; + public float EnvironmentDiffuseScale; + public float EnvironmentSpecularScale; + public float ExposureCompensation; public Color3 FogColor = Color3.FromRGB(191, 191, 191); public float FogEnd = 100000; - public float FogStart = 0; + public float FogStart; public float GeographicLatitude = 41.7333f; - public bool GlobalShadows = false; + public bool GlobalShadows; public Color3 OutdoorAmbient = Color3.FromRGB(127, 127, 127); [Obsolete] @@ -1919,7 +1923,7 @@ namespace RobloxFiles public abstract class BaseScript : LuaSourceContainer { - public bool Disabled = false; + public bool Disabled; } public class Script : BaseScript @@ -1990,8 +1994,8 @@ namespace RobloxFiles public class NoCollisionConstraint : Instance { public bool Enabled = true; - public BasePart Part0 = null; - public BasePart Part1 = null; + public BasePart Part0; + public BasePart Part1; } public class NotificationService : Instance @@ -2008,7 +2012,7 @@ namespace RobloxFiles public abstract class BasePart : PVInstance { - public bool Anchored = false; + public bool Anchored; public float BackParamA = -0.5f; public float BackParamB = 0.5f; public SurfaceType BackSurface = SurfaceType.Smooth; @@ -2021,13 +2025,13 @@ namespace RobloxFiles public BrickColor BrickColor { get { return BrickColor.FromColor3(Color); } - set { Color = value.Color; } + set { Color = value?.Color; } } public CFrame CFrame = new CFrame(); public bool CanCollide = true; public bool CastShadow = true; - public int CollisionGroupId = 0; + public int CollisionGroupId; public Color3 Color { @@ -2036,7 +2040,7 @@ namespace RobloxFiles } public Color3uint8 Color3uint8 = Color3.FromRGB(163, 162, 165); - public PhysicalProperties CustomPhysicalProperties = null; + public PhysicalProperties CustomPhysicalProperties; [Obsolete] public float Elasticity = 0.5f; @@ -2052,8 +2056,8 @@ namespace RobloxFiles public float LeftParamB = 0.5f; public SurfaceType LeftSurface = SurfaceType.Smooth; public InputType LeftSurfaceInput = InputType.NoInput; - public bool Locked = false; - public bool Massless = false; + public bool Locked; + public bool Massless; public Material Material = Material.Plastic; public Vector3 Position @@ -2062,12 +2066,12 @@ namespace RobloxFiles set { CFrame.Position = value; } } - public float Reflectance = 0; + public float Reflectance; public float RightParamA = -0.5f; public float RightParamB = 0.5f; public SurfaceType RightSurface = SurfaceType.Smooth; public InputType RightSurfaceInput = InputType.NoInput; - public int RootPriority = 0; + public int RootPriority; public Vector3 RotVelocity = new Vector3(); public Vector3 Size @@ -2080,7 +2084,7 @@ namespace RobloxFiles public float TopParamB = 0.5f; public SurfaceType TopSurface = SurfaceType.Smooth; public InputType TopSurfaceInput = InputType.NoInput; - public float Transparency = 0; + public float Transparency; public Vector3 Velocity = new Vector3(); [Obsolete] @@ -2134,19 +2138,19 @@ namespace RobloxFiles public class Seat : Part { - public bool Disabled = false; + public bool Disabled; } public class SkateboardPlatform : Part { - public int Steer = 0; + public int Steer; public bool StickyWheels = true; - public int Throttle = 0; + public int Throttle; } public class SpawnLocation : Part { - public bool AllowTeamChangeOnTouch = false; + public bool AllowTeamChangeOnTouch; public int Duration = 10; public bool Enabled = true; public bool Neutral = true; @@ -2161,8 +2165,8 @@ namespace RobloxFiles { public string ClusterGrid = ""; public string ClusterGridV2 = ""; - public byte[] ClusterGridV3 = new byte[0]; - public bool Decoration = false; + public byte[] ClusterGridV3 = Array.Empty(); + public bool Decoration; public byte[] MaterialColors = Convert.FromBase64String("AAAAAAAAan8/P39rf2Y/ilY+j35fi21PZmxvZbDqw8faiVpHOi4kHh4lZlw76JxKc3trhHtagcLgc4RKxr21zq2UlJSM"); public byte[] PhysicsGrid = Convert.FromBase64String("AgMAAAAAAAAAAAAAAAA="); public byte[] SmoothGrid = Convert.FromBase64String("AQU="); @@ -2177,15 +2181,15 @@ namespace RobloxFiles { public CollisionFidelity CollisionFidelity = CollisionFidelity.Default; public Vector3 InitialSize = new Vector3(1, 1, 1); - public byte[] LODData = new byte[0]; + public byte[] LODData = Array.Empty(); public SharedString PhysicalConfigData = SharedString.FromBase64("1B2M2Y8AsgTpgAmY7PhCfg=="); - public byte[] PhysicsData = new byte[0]; + public byte[] PhysicsData = Array.Empty(); } public class MeshPart : TriangleMeshPart { - public bool HasJointOffset = false; - public bool HasSkinnedMesh = false; + public bool HasJointOffset; + public bool HasSkinnedMesh; public Vector3 JointOffset = new Vector3(); [Obsolete] @@ -2203,12 +2207,12 @@ namespace RobloxFiles public class PartOperation : TriangleMeshPart { public Content AssetId = ""; - public byte[] ChildData = new byte[0]; + public byte[] ChildData = Array.Empty(); public FormFactor FormFactor = FormFactor.Custom; - public byte[] MeshData = new byte[0]; + public byte[] MeshData = Array.Empty(); public RenderFidelity RenderFidelity = RenderFidelity.Precise; - public float SmoothingAngle = 0; - public bool UsePartColor = false; + public float SmoothingAngle; + public bool UsePartColor; } public class NegateOperation : PartOperation @@ -2232,13 +2236,13 @@ namespace RobloxFiles public class VehicleSeat : BasePart { - public bool Disabled = false; + public bool Disabled; public bool HeadsUpDisplay = true; public float MaxSpeed = 25; - public int Steer = 0; - public float SteerFloat = 0; - public int Throttle = 0; - public float ThrottleFloat = 0; + public int Steer; + public float SteerFloat; + public int Throttle; + public float ThrottleFloat; public float Torque = 10; public float TurnSpeed = 1; } @@ -2247,7 +2251,8 @@ namespace RobloxFiles { public ModelLevelOfDetail LevelOfDetail = ModelLevelOfDetail.Automatic; public CFrame ModelInPrimary = new CFrame(); - public BasePart PrimaryPart = null; + public byte[] ModelMeshData = Array.Empty(); + public BasePart PrimaryPart; } public abstract class WorldRoot : Model @@ -2261,19 +2266,19 @@ namespace RobloxFiles IsService = true; } - public bool AllowThirdPartySales = false; + public bool AllowThirdPartySales; public string CollisionGroups = "Default^0^1"; - public Camera CurrentCamera = null; - public double DistributedGameTime = 0; + public Camera CurrentCamera; + public double DistributedGameTime; public bool ExplicitAutoJoints = true; public float FallenPartsDestroyHeight = -500; - public bool FilteringEnabled = false; + public bool FilteringEnabled; public float Gravity = 196.2f; - public bool StreamingEnabled = false; + public bool StreamingEnabled; public int StreamingMinRadius = 64; public StreamingPauseMode StreamingPauseMode = StreamingPauseMode.Default; public int StreamingTargetRadius = 1024; - public bool TemporaryLegacyPhysicsSolverOverrideStreaming = false; + public bool TemporaryLegacyPhysicsSolverOverrideStreaming; public bool TerrainWeldsFixed = true; } @@ -2283,9 +2288,9 @@ namespace RobloxFiles public class PackageLink : Instance { - public bool AutoUpdate = false; + public bool AutoUpdate; public Content PackageIdSerialize = ""; - public long VersionIdSerialize = 0; + public long VersionIdSerialize; } public class PackageService : Instance @@ -2298,21 +2303,21 @@ namespace RobloxFiles public class PartOperationAsset : Instance { - public byte[] ChildData = new byte[0]; - public byte[] MeshData = new byte[0]; + public byte[] ChildData = Array.Empty(); + public byte[] MeshData = Array.Empty(); } public class ParticleEmitter : Instance { public Vector3 Acceleration = new Vector3(); public ColorSequence Color = new ColorSequence(1, 1, 1); - public float Drag = 0; + public float Drag; public NormalId EmissionDirection = NormalId.Top; public bool Enabled = true; public NumberRange Lifetime = new NumberRange(5, 10); - public float LightEmission = 0; - public float LightInfluence = 0; - public bool LockedToPart = false; + public float LightEmission; + public float LightInfluence; + public bool LockedToPart; public float Rate = 20; public NumberRange RotSpeed = new NumberRange(0); public NumberRange Rotation = new NumberRange(0); @@ -2321,7 +2326,7 @@ namespace RobloxFiles public Vector2 SpreadAngle = new Vector2(); public Content Texture = "rbxasset://textures/particles/sparkles_main.dds"; public NumberSequence Transparency = new NumberSequence(0); - public float VelocityInheritance = 0; + public float VelocityInheritance; [Obsolete] public float VelocitySpread @@ -2330,7 +2335,7 @@ namespace RobloxFiles set { SpreadAngle = new Vector2(value, value); } } - public float ZOffset = 0; + public float ZOffset; } public class PathfindingService : Instance @@ -2341,7 +2346,7 @@ namespace RobloxFiles } [Obsolete] - public float EmptyCutoff = 0; + public float EmptyCutoff; } public class PermissionsService : Instance @@ -2377,7 +2382,7 @@ namespace RobloxFiles public bool CharacterAutoLoads = true; public int MaxPlayersInternal = 16; - public int PreferredPlayersInternal = 0; + public int PreferredPlayersInternal; public float RespawnTime = 5; } @@ -2385,14 +2390,6 @@ namespace RobloxFiles { } - public class PluginDebugService : Instance - { - public PluginDebugService() - { - IsService = true; - } - } - public class PluginGuiService : Instance { public PluginGuiService() @@ -2424,7 +2421,7 @@ namespace RobloxFiles public PoseEasingStyle EasingStyle = PoseEasingStyle.Linear; [Obsolete] - public float MaskWeight = 0; + public float MaskWeight; public float Weight = 1; } @@ -2448,9 +2445,9 @@ namespace RobloxFiles public class ColorCorrectionEffect : PostEffect { - public float Brightness = 0; - public float Contrast = 0; - public float Saturation = 0; + public float Brightness; + public float Contrast; + public float Saturation; public Color3 TintColor = new Color3(1, 1, 1); } @@ -2504,22 +2501,22 @@ namespace RobloxFiles { public bool Browsable = true; public string ClassCategory = ""; - public bool ClientOnly = false; + public bool ClientOnly; public string Constraint = ""; - public bool Deprecated = false; - public bool EditingDisabled = false; - public bool IsBackend = false; + public bool Deprecated; + public bool EditingDisabled; + public bool IsBackend; public string ScriptContext = ""; - public bool ServerOnly = false; - public double UIMaximum = 0; - public double UIMinimum = 0; - public double UINumTicks = 0; + public bool ServerOnly; + public double UIMaximum; + public double UIMinimum; + public double UINumTicks; public string summary = ""; } public class ReflectionMetadataClass : ReflectionMetadataItem { - public int ExplorerImageIndex = 0; + public int ExplorerImageIndex; public int ExplorerOrder = int.MaxValue; public bool Insertable = true; public string PreferredParent = ""; @@ -2562,7 +2559,7 @@ namespace RobloxFiles public string Description = ""; public float FieldOfView = 70; public int QualityLevel = 21; - public bool ShouldSkip = false; + public bool ShouldSkip; public string Ticket = ""; } @@ -2645,7 +2642,7 @@ namespace RobloxFiles IsService = true; } - public bool LoadStringEnabled = false; + public bool LoadStringEnabled; } public class ServerStorage : Instance @@ -2719,7 +2716,7 @@ namespace RobloxFiles public class Sound : Instance { public float EmitterSize = 10; - public bool Looped = false; + public bool Looped; public float MaxDistance { @@ -2741,13 +2738,13 @@ namespace RobloxFiles set { PlaybackSpeed = value; } } - public bool PlayOnRemove = false; + public bool PlayOnRemove; public float PlaybackSpeed = 1; - public bool Playing = false; + public bool Playing; public RollOffMode RollOffMode = RollOffMode.Inverse; - public SoundGroup SoundGroup = null; + public SoundGroup SoundGroup; public Content SoundId = ""; - public double TimePosition = 0; + public double TimePosition; public float Volume = 0.5f; public float xmlRead_MaxDistance_3 = 10000; @@ -2761,7 +2758,7 @@ namespace RobloxFiles public abstract class SoundEffect : Instance { public bool Enabled = true; - public int Priority = 0; + public int Priority; } public class ChorusSoundEffect : SoundEffect @@ -2774,10 +2771,10 @@ namespace RobloxFiles public class CompressorSoundEffect : SoundEffect { public float Attack = 0.1f; - public float GainMakeup = 0; + public float GainMakeup; public float Ratio = 40; public float Release = 0.1f; - public Instance SideChain = null; + public Instance SideChain; public float Threshold = -40; } @@ -2789,14 +2786,14 @@ namespace RobloxFiles public class EchoSoundEffect : SoundEffect { public float Delay = 1; - public float DryLevel = 0; + public float DryLevel; public float Feedback = 0.5f; - public float WetLevel = 0; + public float WetLevel; } public class EqualizerSoundEffect : SoundEffect { - public float HighGain = 0; + public float HighGain; public float LowGain = -20; public float MidGain = -10; } @@ -2819,7 +2816,7 @@ namespace RobloxFiles public float Density = 1; public float Diffusion = 1; public float DryLevel = -6; - public float WetLevel = 0; + public float WetLevel; } public class TremoloSoundEffect : SoundEffect @@ -2844,7 +2841,7 @@ namespace RobloxFiles public ReverbType AmbientReverb = ReverbType.NoReverb; public float DistanceFactor = 3.33f; public float DopplerScale = 1; - public bool RespectFilteringEnabled = false; + public bool RespectFilteringEnabled; public float RolloffScale = 1; } @@ -2907,16 +2904,16 @@ namespace RobloxFiles public DevTouchCameraMovementMode DevTouchCameraMovementMode = DevTouchCameraMovementMode.UserChoice; public DevTouchMovementMode DevTouchMovementMode = DevTouchMovementMode.UserChoice; public bool EnableMouseLockOption = true; - public long GameSettingsAssetIDFace = 0; - public long GameSettingsAssetIDHead = 0; - public long GameSettingsAssetIDLeftArm = 0; - public long GameSettingsAssetIDLeftLeg = 0; - public long GameSettingsAssetIDPants = 0; - public long GameSettingsAssetIDRightArm = 0; - public long GameSettingsAssetIDRightLeg = 0; - public long GameSettingsAssetIDShirt = 0; - public long GameSettingsAssetIDTeeShirt = 0; - public long GameSettingsAssetIDTorso = 0; + public long GameSettingsAssetIDFace; + public long GameSettingsAssetIDHead; + public long GameSettingsAssetIDLeftArm; + public long GameSettingsAssetIDLeftLeg; + public long GameSettingsAssetIDPants; + public long GameSettingsAssetIDRightArm; + public long GameSettingsAssetIDRightLeg; + public long GameSettingsAssetIDShirt; + public long GameSettingsAssetIDTeeShirt; + public long GameSettingsAssetIDTorso; public GameAvatarType GameSettingsAvatar = GameAvatarType.R15; public R15CollisionType GameSettingsR15Collision = R15CollisionType.OuterBox; public NumberRange GameSettingsScaleRangeBodyType = new NumberRange(0, 1); @@ -2953,14 +2950,14 @@ namespace RobloxFiles IsService = true; } - public long CommitInflightAuthorId = 0; + public long CommitInflightAuthorId; public string CommitInflightGuid = ""; - public int CommitInflightPlaceVersion = 0; - public bool EnableScriptCollabByDefaultOnLoad = false; - public bool EnableScriptCollabOnLoad = false; - public bool EnableScriptCollabVersionHistoryOnLoad = false; - public long SrcPlaceId = 0; - public long SrcUniverseId = 0; + public int CommitInflightPlaceVersion; + public bool EnableScriptCollabByDefaultOnLoad; + public bool EnableScriptCollabOnLoad; + public bool EnableScriptCollabVersionHistoryOnLoad; + public long SrcPlaceId; + public long SrcUniverseId; } public class StudioService : Instance @@ -2989,7 +2986,7 @@ namespace RobloxFiles public bool AutoColorCharacters = true; [Obsolete] - public int Score = 0; + public int Score; public BrickColor TeamColor = BrickColor.FromNumber(1); } @@ -3010,14 +3007,14 @@ namespace RobloxFiles } [Obsolete] - public bool CustomizedTeleportUI = false; + public bool CustomizedTeleportUI; } public class TerrainRegion : Instance { public Vector3int16 ExtentsMax = new Vector3int16(); public Vector3int16 ExtentsMin = new Vector3int16(); - public byte[] GridV3 = new byte[0]; + public byte[] GridV3 = Array.Empty(); public byte[] SmoothGrid = Convert.FromBase64String("AQU="); } @@ -3030,12 +3027,12 @@ namespace RobloxFiles public bool AutoRuns = true; public string Description = ""; - public bool ExecuteWithStudioRun = false; + public bool ExecuteWithStudioRun; public bool Is30FpsThrottleEnabled = true; public bool IsPhysicsEnvironmentalThrottled = true; public bool IsSleepAllowed = true; - public int NumberOfPlayers = 0; - public double SimulateSecondsLag = 0; + public int NumberOfPlayers; + public double SimulateSecondsLag; public double Timeout = 10; } @@ -3065,15 +3062,15 @@ namespace RobloxFiles public class Trail : Instance { - public Attachment Attachment0 = null; - public Attachment Attachment1 = null; + public Attachment Attachment0; + public Attachment Attachment1; public ColorSequence Color = new ColorSequence(1, 1, 1); public bool Enabled = true; - public bool FaceCamera = false; + public bool FaceCamera; public float Lifetime = 2; - public float LightEmission = 0; - public float LightInfluence = 0; - public float MaxLength = 0; + public float LightEmission; + public float LightInfluence; + public float MaxLength; public float MinLength = 0.1f; public Content Texture = ""; public float TextureLength = 1; @@ -3147,7 +3144,7 @@ namespace RobloxFiles public ColorSequence Color = new ColorSequence(1, 1, 1); public bool Enabled = true; public Vector2 Offset = new Vector2(); - public float Rotation = 0; + public float Rotation; public NumberSequence Transparency = new NumberSequence(0); } @@ -3167,16 +3164,10 @@ namespace RobloxFiles { public UDim2 CellPadding = new UDim2(0, 5, 0, 5); public UDim2 CellSize = new UDim2(0, 100, 0, 100); - public int FillDirectionMaxCells = 0; + public int FillDirectionMaxCells; public StartCorner StartCorner = StartCorner.TopLeft; } - public class UIInlineLayout : UIGridStyleLayout - { - public InlineAlignment InlineAlignment = InlineAlignment.Center; - public UDim2 InlinePadding = new UDim2(); - } - public class UIListLayout : UIGridStyleLayout { public UDim Padding = new UDim(); @@ -3185,7 +3176,7 @@ namespace RobloxFiles public class UIPageLayout : UIGridStyleLayout { public bool Animated = true; - public bool Circular = false; + public bool Circular; public EasingDirection EasingDirection = EasingDirection.Out; public EasingStyle EasingStyle = EasingStyle.Back; public bool GamepadInputEnabled = true; @@ -3197,8 +3188,8 @@ namespace RobloxFiles public class UITableLayout : UIGridStyleLayout { - public bool FillEmptySpaceColumns = false; - public bool FillEmptySpaceRows = false; + public bool FillEmptySpaceColumns; + public bool FillEmptySpaceRows; public TableMajorAxis MajorAxis = TableMajorAxis.RowMajor; public UDim2 Padding = new UDim2(); } @@ -3250,12 +3241,12 @@ namespace RobloxFiles public class BinaryStringValue : ValueBase { - public byte[] Value = new byte[0]; + public byte[] Value = Array.Empty(); } public class BoolValue : ValueBase { - public bool Value = false; + public bool Value; } public class BrickColorValue : ValueBase @@ -3282,7 +3273,7 @@ namespace RobloxFiles } public double MaxValue = 1; - public double MinValue = 0; + public double MinValue; public double Value { @@ -3290,7 +3281,7 @@ namespace RobloxFiles set { this.value = value; } } - public double value = 0; + public double value; } public class IntConstrainedValue : ValueBase @@ -3302,7 +3293,7 @@ namespace RobloxFiles } public long MaxValue = 10; - public long MinValue = 0; + public long MinValue; public long Value { @@ -3310,22 +3301,22 @@ namespace RobloxFiles set { this.value = value; } } - public long value = 0; + public long value; } public class IntValue : ValueBase { - public long Value = 0; + public long Value; } public class NumberValue : ValueBase { - public double Value = 0; + public double Value; } public class ObjectValue : ValueBase { - public Instance Value = null; + public Instance Value; } public class RayValue : ValueBase @@ -3387,7 +3378,7 @@ namespace RobloxFiles set { Part0Internal = value; } } - public BasePart Part0Internal = null; + public BasePart Part0Internal; public BasePart Part1 { @@ -3395,6 +3386,6 @@ namespace RobloxFiles set { Part1Internal = value; } } - public BasePart Part1Internal = null; + public BasePart Part1Internal; } } diff --git a/Generated/Enums.cs b/Generated/Enums.cs index ecce892..d330a73 100644 --- a/Generated/Enums.cs +++ b/Generated/Enums.cs @@ -1,27 +1,8 @@ // Auto-generated list of Roblox enums. -// Updated as of 0.442.0.409197 +// Updated as of 0.443.0.409841 namespace RobloxFiles.Enums { - public enum ABTestLoadingStatus - { - None, - Pending, - Initialized, - Error, - TimedOut, - ShutOff - } - - public enum ActionType - { - Nothing, - Pause, - Lose, - Draw, - Win - } - public enum ActuatorRelativeTo { Attachment0, @@ -56,103 +37,12 @@ namespace RobloxFiles.Enums Core = 1000 } - public enum AppShellActionType - { - None, - OpenApp, - TapChatTab, - TapConversationEntry, - TapAvatarTab, - ReadConversation, - TapGamePageTab, - TapHomePageTab, - GamePageLoaded, - HomePageLoaded, - AvatarEditorPageLoaded - } - public enum AspectType { FitWithinMaxSize, ScaleWithParentSize } - public enum AssetFetchStatus - { - Success, - Failure - } - - public enum AssetType - { - Image = 1, - TeeShirt, - Audio, - Mesh, - Lua, - Hat = 8, - Place, - Model, - Shirt, - Pants, - Decal, - Head = 17, - Face, - Gear, - Badge = 21, - Animation = 24, - Torso = 27, - RightArm, - LeftArm, - LeftLeg, - RightLeg, - Package, - GamePass = 34, - Plugin = 38, - MeshPart = 40, - HairAccessory, - FaceAccessory, - NeckAccessory, - ShoulderAccessory, - FrontAccessory, - BackAccessory, - WaistAccessory, - ClimbAnimation, - DeathAnimation, - FallAnimation, - IdleAnimation, - JumpAnimation, - RunAnimation, - SwimAnimation, - WalkAnimation, - PoseAnimation, - EarAccessory, - EyeAccessory, - EmoteAnimation = 61, - Video - } - - public enum AutoIndentRule - { - Off, - Absolute, - Relative - } - - public enum AvatarContextMenuOption - { - Friend, - Chat, - Emote, - InspectMenu - } - - public enum AvatarJointPositionType - { - Fixed, - ArtistIntent - } - public enum Axis { X, @@ -179,27 +69,6 @@ namespace RobloxFiles.Enums RightLeg } - public enum BodyPartR15 - { - Head, - UpperTorso, - LowerTorso, - LeftFoot, - LeftLowerLeg, - LeftUpperLeg, - RightFoot, - RightLowerLeg, - RightUpperLeg, - LeftHand, - LeftLowerArm, - LeftUpperArm, - RightHand, - RightLowerArm, - RightUpperArm, - RootPart, - Unknown = 17 - } - public enum BorderMode { Outline, @@ -207,26 +76,6 @@ namespace RobloxFiles.Enums Inset } - public enum BreakReason - { - Other, - Error, - SpecialBreakpoint, - UserBreakpoint - } - - public enum BulkMoveMode - { - FireAllEvents, - FireCFrameChanged - } - - public enum Button - { - Dismount = 8, - Jump = 32 - } - public enum ButtonStyle { Custom, @@ -243,12 +92,6 @@ namespace RobloxFiles.Enums LockFirstPerson } - public enum CameraPanMode - { - Classic, - EdgeBump - } - public enum CameraType { Fixed, @@ -261,89 +104,6 @@ namespace RobloxFiles.Enums Orbital } - public enum CellBlock - { - Solid, - VerticalWedge, - CornerWedge, - InverseCornerWedge, - HorizontalWedge - } - - public enum CellMaterial - { - Empty, - Grass, - Sand, - Brick, - Granite, - Asphalt, - Iron, - Aluminum, - Gold, - WoodPlank, - WoodLog, - Gravel, - CinderBlock, - MossyStone, - Cement, - RedPlastic, - BluePlastic, - Water - } - - public enum CellOrientation - { - NegZ, - X, - Z, - NegX - } - - public enum CenterDialogType - { - UnsolicitedDialog = 1, - PlayerInitiatedDialog, - ModalDialog, - QuitDialog - } - - public enum ChatCallbackType - { - OnCreatingChatWindow = 1, - OnClientSendingMessage, - OnClientFormattingMessage, - OnServerReceivingMessage = 17 - } - - public enum ChatColor - { - Blue, - Green, - Red, - White - } - - public enum ChatMode - { - Menu, - TextAndMenu - } - - public enum ChatPrivacyMode - { - AllUsers, - NoOne, - Friends - } - - public enum ChatStyle - { - Classic, - Bubble, - ClassicAndBubble - } - public enum CollisionFidelity { Default, @@ -352,143 +112,6 @@ namespace RobloxFiles.Enums PreciseConvexDecomposition } - public enum ComputerCameraMovementMode - { - Default, - Classic, - Follow, - Orbital, - CameraToggle - } - - public enum ComputerMovementMode - { - Default, - KeyboardMouse, - ClickToMove - } - - public enum ConnectionError - { - OK, - DisconnectErrors = 256, - DisconnectBadhash, - DisconnectSecurityKeyMismatch, - DisconnectProtocolMismatch, - DisconnectReceivePacketError, - DisconnectReceivePacketStreamError, - DisconnectSendPacketError, - DisconnectIllegalTeleport, - DisconnectDuplicatePlayer, - DisconnectDuplicateTicket, - DisconnectTimeout, - DisconnectLuaKick, - DisconnectOnRemoteSysStats, - DisconnectHashTimeout, - DisconnectCloudEditKick, - DisconnectPlayerless, - DisconnectNewSecurityKeyMismatch, - DisconnectEvicted, - DisconnectDevMaintenance, - DisconnectRobloxMaintenance, - DisconnectRejoin, - DisconnectConnectionLost, - DisconnectIdle, - DisconnectRaknetErrors, - DisconnectWrongVersion, - DisconnectBySecurityPolicy, - DisconnectBlockedIP, - PlacelaunchErrors = 512, - PlacelaunchDisabled = 515, - PlacelaunchError, - PlacelaunchGameEnded, - PlacelaunchGameFull, - PlacelaunchUserLeft = 522, - PlacelaunchRestricted, - PlacelaunchUnauthorized, - PlacelaunchFlooded, - PlacelaunchHashExpired, - PlacelaunchHashException, - PlacelaunchPartyCannotFit, - PlacelaunchHttpError, - PlacelaunchCustomMessage = 610, - PlacelaunchOtherError, - TeleportErrors = 768, - TeleportFailure, - TeleportGameNotFound, - TeleportGameEnded, - TeleportGameFull, - TeleportUnauthorized, - TeleportFlooded, - TeleportIsTeleporting - } - - public enum ConnectionState - { - Connected, - Disconnected - } - - public enum ContextActionPriority - { - Low = 1000, - Default = 2000, - Medium = 2000, - High = 3000 - } - - public enum ContextActionResult - { - Sink, - Pass - } - - public enum ControlMode - { - Classic, - MouseLockSwitch - } - - public enum CoreGuiType - { - PlayerList, - Health, - Backpack, - Chat, - All, - EmotesMenu - } - - public enum CreatorType - { - User, - Group - } - - public enum CurrencyType - { - Default, - Robux, - Tix - } - - public enum CustomCameraMode - { - Default, - Classic, - Follow - } - - public enum DataStoreRequestType - { - GetAsync, - SetIncrementAsync, - UpdateAsync, - GetSortedAsync, - SetIncrementSortedAsync, - OnUpdate - } - public enum DevCameraOcclusionMode { Zoom, @@ -531,40 +154,6 @@ namespace RobloxFiles.Enums DynamicThumbstick } - public enum DeveloperMemoryTag - { - Internal, - HttpCache, - Instances, - Signals, - LuaHeap, - Script, - PhysicsCollision, - PhysicsParts, - GraphicsSolidModels, - GraphicsMeshParts, - GraphicsParticles, - GraphicsParts, - GraphicsSpatialHash, - GraphicsTerrain, - GraphicsTexture, - GraphicsTextureCharacter, - Sounds, - StreamingSounds, - TerrainVoxels, - Gui = 20, - Animation, - Navigation - } - - public enum DeviceType - { - Unknown, - Desktop, - Tablet, - Phone - } - public enum DialogBehaviorType { SinglePlayer, @@ -591,14 +180,6 @@ namespace RobloxFiles.Enums Height } - public enum DraftStatusCode - { - OK, - DraftOutdated, - ScriptRemoved, - DraftCommitted - } - public enum EasingDirection { In, @@ -628,17 +209,6 @@ namespace RobloxFiles.Enums Never } - public enum EnviromentalPhysicsThrottle - { - DefaultAuto, - Disabled, - Always, - Skip2, - Skip4, - Skip8, - Skip16 - } - public enum ExplosionType { NoCraters, @@ -651,12 +221,6 @@ namespace RobloxFiles.Enums Vertical } - public enum FilterResult - { - Accepted, - Rejected - } - public enum Font { Legacy, @@ -720,37 +284,6 @@ namespace RobloxFiles.Enums DropShadow } - public enum FramerateManagerMode - { - Automatic, - On, - Off - } - - public enum FriendRequestEvent - { - Issue, - Revoke, - Accept, - Deny - } - - public enum FriendStatus - { - Unknown, - NotFriend, - Friend, - FriendRequestSent, - FriendRequestReceived - } - - public enum FunctionalTestResult - { - Passed, - Warning, - Error - } - public enum GameAvatarType { R6, @@ -758,54 +291,6 @@ namespace RobloxFiles.Enums PlayerChoice } - public enum GearGenreSetting - { - AllGenres, - MatchingGenreOnly - } - - public enum GearType - { - MeleeWeapons, - RangedWeapons, - Explosives, - PowerUps, - NavigationEnhancers, - MusicalInstruments, - SocialItems, - BuildingTools, - Transport - } - - public enum Genre - { - All, - TownAndCity, - Fantasy, - SciFi, - Ninja, - Scary, - Pirate, - Adventure, - Sports, - Funny, - WildWest, - War, - SkatePark, - Tutorial - } - - public enum GraphicsMode - { - Automatic = 1, - Direct3D11, - Direct3D9, - OpenGL, - Metal, - Vulkan, - NoGraphics - } - public enum HandlesStyle { Resize, @@ -819,61 +304,6 @@ namespace RobloxFiles.Enums Right } - public enum HoverAnimateSpeed - { - VerySlow, - Slow, - Medium, - Fast, - VeryFast - } - - public enum HttpCachePolicy - { - None, - Full, - DataOnly, - Default, - InternalRedirectRefresh - } - - public enum HttpContentType - { - ApplicationJson, - ApplicationXml, - ApplicationUrlEncoded, - TextPlain, - TextXml - } - - public enum HttpError - { - OK, - InvalidUrl, - DnsResolve, - ConnectFail, - OutOfMemory, - TimedOut, - TooManyRedirects, - InvalidRedirect, - NetFail, - Aborted, - SslConnectFail, - SslVerificationFail, - Unknown - } - - public enum HttpRequestType - { - Default, - MarketplaceService = 2, - Players = 7, - Chat = 15, - Avatar, - Analytics = 22, - Localization = 24 - } - public enum HumanoidCollisionType { OuterBox, @@ -900,34 +330,6 @@ namespace RobloxFiles.Enums R15 } - public enum HumanoidStateType - { - FallingDown, - Ragdoll, - GettingUp, - Jumping, - Swimming, - Freefall, - Flying, - Landed, - Running, - RunningNoPhysics = 10, - StrafingNoPhysics, - Climbing, - Seated, - PlatformStanding, - Dead, - Physics, - None = 18 - } - - public enum IKCollisionsMode - { - NoCollisions, - OtherMechanismsAnchored, - IncludeContactedMechanisms - } - public enum InOut { Edge, @@ -935,31 +337,6 @@ namespace RobloxFiles.Enums Center } - public enum InfoType - { - Asset, - Product, - GamePass, - Subscription, - Bundle - } - - public enum InitialDockState - { - Top, - Bottom, - Left, - Right, - Float - } - - public enum InlineAlignment - { - Bottom, - Center, - Top - } - public enum InputType { NoInput, @@ -967,290 +344,6 @@ namespace RobloxFiles.Enums Sin } - public enum JointCreationMode - { - All, - Surface, - None - } - - public enum KeyCode - { - Unknown, - Backspace = 8, - Tab, - Clear = 12, - Return, - Pause = 19, - Escape = 27, - Space = 32, - QuotedDouble = 34, - Hash, - Dollar, - Percent, - Ampersand, - Quote, - LeftParenthesis, - RightParenthesis, - Asterisk, - Plus, - Comma, - Minus, - Period, - Slash, - Zero, - One, - Two, - Three, - Four, - Five, - Six, - Seven, - Eight, - Nine, - Colon, - Semicolon, - LessThan, - Equals, - GreaterThan, - Question, - At, - LeftBracket = 91, - BackSlash, - RightBracket, - Caret, - Underscore, - Backquote, - A, - B, - C, - D, - E, - F, - G, - H, - I, - J, - K, - L, - M, - N, - O, - P, - Q, - R, - S, - T, - U, - V, - W, - X, - Y, - Z, - LeftCurly, - Pipe, - RightCurly, - Tilde, - Delete, - World0 = 160, - World1, - World2, - World3, - World4, - World5, - World6, - World7, - World8, - World9, - World10, - World11, - World12, - World13, - World14, - World15, - World16, - World17, - World18, - World19, - World20, - World21, - World22, - World23, - World24, - World25, - World26, - World27, - World28, - World29, - World30, - World31, - World32, - World33, - World34, - World35, - World36, - World37, - World38, - World39, - World40, - World41, - World42, - World43, - World44, - World45, - World46, - World47, - World48, - World49, - World50, - World51, - World52, - World53, - World54, - World55, - World56, - World57, - World58, - World59, - World60, - World61, - World62, - World63, - World64, - World65, - World66, - World67, - World68, - World69, - World70, - World71, - World72, - World73, - World74, - World75, - World76, - World77, - World78, - World79, - World80, - World81, - World82, - World83, - World84, - World85, - World86, - World87, - World88, - World89, - World90, - World91, - World92, - World93, - World94, - World95, - KeypadZero, - KeypadOne, - KeypadTwo, - KeypadThree, - KeypadFour, - KeypadFive, - KeypadSix, - KeypadSeven, - KeypadEight, - KeypadNine, - KeypadPeriod, - KeypadDivide, - KeypadMultiply, - KeypadMinus, - KeypadPlus, - KeypadEnter, - KeypadEquals, - Up, - Down, - Right, - Left, - Insert, - Home, - End, - PageUp, - PageDown, - F1, - F2, - F3, - F4, - F5, - F6, - F7, - F8, - F9, - F10, - F11, - F12, - F13, - F14, - F15, - NumLock = 300, - CapsLock, - ScrollLock, - RightShift, - LeftShift, - RightControl, - LeftControl, - RightAlt, - LeftAlt, - RightMeta, - LeftMeta, - LeftSuper, - RightSuper, - Mode, - Compose, - Help, - Print, - SysReq, - Break, - Menu, - Power, - Euro, - Undo, - ButtonX = 1000, - ButtonY, - ButtonA, - ButtonB, - ButtonR1, - ButtonL1, - ButtonR2, - ButtonL2, - ButtonR3, - ButtonL3, - ButtonStart, - ButtonSelect, - DPadLeft, - DPadRight, - DPadUp, - DPadDown, - Thumbstick1, - Thumbstick2 - } - - public enum KeywordFilterType - { - Include, - Exclude - } - - public enum Language - { - Default - } - - public enum LanguagePreference - { - SystemDefault, - English, - SimplifiedChinese, - Korean - } - public enum LeftRight { Left, @@ -1265,31 +358,6 @@ namespace RobloxFiles.Enums High } - public enum Limb - { - Head, - Torso, - LeftArm, - RightArm, - LeftLeg, - RightLeg, - Unknown - } - - public enum ListDisplayMode - { - Horizontal, - Vertical - } - - public enum ListenerType - { - Camera, - CFrame, - ObjectPosition, - ObjectCFrame - } - public enum Material { Plastic = 256, @@ -1331,24 +399,6 @@ namespace RobloxFiles.Enums Water = 2048 } - public enum MembershipType - { - None, - BuildersClub, - TurboBuildersClub, - OutrageousBuildersClub, - Premium - } - - public enum MeshPartDetailLevel - { - DistanceBased, - Level01, - Level02, - Level03, - Level04 - } - public enum MeshType { Head, @@ -1365,14 +415,6 @@ namespace RobloxFiles.Enums CornerWedge } - public enum MessageType - { - MessageOutput, - MessageInfo, - MessageWarning, - MessageError - } - public enum ModelLevelOfDetail { Automatic, @@ -1380,14 +422,6 @@ namespace RobloxFiles.Enums Disabled } - public enum ModifierKey - { - Shift, - Ctrl, - Alt, - Meta - } - public enum MouseBehavior { Default, @@ -1395,15 +429,6 @@ namespace RobloxFiles.Enums LockCurrentPosition } - public enum MoveState - { - Stopped, - Coasting, - Pushing, - Stopping, - AirFree - } - public enum NameOcclusion { NoOcclusion, @@ -1411,13 +436,6 @@ namespace RobloxFiles.Enums OccludeAll } - public enum NetworkOwnership - { - Automatic, - Manual, - OnContact - } - public enum NormalId { Right, @@ -1428,27 +446,6 @@ namespace RobloxFiles.Enums Front } - public enum OutputLayoutMode - { - Horizontal, - Vertical - } - - public enum OverrideMouseIconBehavior - { - None, - ForceShow, - ForceHide - } - - public enum PacketPriority - { - IMMEDIATE_PRIORITY, - HIGH_PRIORITY, - MEDIUM_PRIORITY, - LOW_PRIORITY - } - public enum PartType { Ball, @@ -1456,88 +453,6 @@ namespace RobloxFiles.Enums Cylinder } - public enum PathStatus - { - Success, - ClosestNoPath, - ClosestOutOfRange, - FailStartNotEmpty, - FailFinishNotEmpty, - NoPath - } - - public enum PathWaypointAction - { - Walk, - Jump - } - - public enum PermissionLevelShown - { - Game, - RobloxGame, - RobloxScript, - Studio, - Roblox - } - - public enum PhysicsSimulationRate - { - Fixed240Hz, - Fixed120Hz, - Fixed60Hz - } - - public enum Platform - { - Windows, - OSX, - IOS, - Android, - XBoxOne, - PS4, - PS3, - XBox360, - WiiU, - NX, - Ouya, - AndroidTV, - Chromecast, - Linux, - SteamOS, - WebOS, - DOS, - BeOS, - UWP, - None - } - - public enum PlaybackState - { - Begin, - Delayed, - Playing, - Paused, - Completed, - Cancelled - } - - public enum PlayerActions - { - CharacterForward, - CharacterBackward, - CharacterLeft, - CharacterRight, - CharacterJump - } - - public enum PlayerChatType - { - All, - Team, - Whisper - } - public enum PoseEasingDirection { In, @@ -1554,59 +469,12 @@ namespace RobloxFiles.Enums Bounce } - public enum PrivilegeType - { - Banned, - Visitor = 10, - Member = 128, - Admin = 240, - Owner = 255 - } - - public enum ProductPurchaseDecision - { - NotProcessedYet, - PurchaseGranted - } - - public enum QualityLevel - { - Automatic, - Level01, - Level02, - Level03, - Level04, - Level05, - Level06, - Level07, - Level08, - Level09, - Level10, - Level11, - Level12, - Level13, - Level14, - Level15, - Level16, - Level17, - Level18, - Level19, - Level20, - Level21 - } - public enum R15CollisionType { OuterBox, InnerBox } - public enum RaycastFilterType - { - Blacklist, - Whitelist - } - public enum RenderFidelity { Automatic, @@ -1614,31 +482,12 @@ namespace RobloxFiles.Enums Performance } - public enum RenderPriority - { - First, - Input = 100, - Camera = 200, - Character = 300, - Last = 2000 - } - public enum RenderingTestComparisonMethod { psnr, diff } - public enum ReturnKeyType - { - Default, - Done, - Go, - Next, - Search, - Send - } - public enum ReverbType { NoReverb, @@ -1667,20 +516,6 @@ namespace RobloxFiles.Enums UnderWater } - public enum RibbonTool - { - Select, - Scale, - Rotate, - Move, - Transform, - ColorPicker, - MaterialPicker, - Group, - Ungroup, - None - } - public enum RollOffMode { Inverse, @@ -1689,41 +524,6 @@ namespace RobloxFiles.Enums InverseTapered } - public enum RotationType - { - MovementRelative, - CameraRelative - } - - public enum RuntimeUndoBehavior - { - Aggregate, - Snapshot, - Hybrid - } - - public enum SaveFilter - { - SaveWorld, - SaveGame, - SaveAll - } - - public enum SavedQualitySetting - { - Automatic, - QualityLevel1, - QualityLevel2, - QualityLevel3, - QualityLevel4, - QualityLevel5, - QualityLevel6, - QualityLevel7, - QualityLevel8, - QualityLevel9, - QualityLevel10 - } - public enum ScaleType { Stretch, @@ -1756,13 +556,6 @@ namespace RobloxFiles.Enums XY = 4 } - public enum ServerAudioBehavior - { - Enabled, - Muted, - OnlineGame - } - public enum SizeConstraint { RelativeXY, @@ -1777,35 +570,6 @@ namespace RobloxFiles.Enums LayoutOrder } - public enum SoundType - { - NoSound, - Boing, - Bomb, - Break, - Click, - Clock, - Slingshot, - Page, - Ping, - Snap, - Splat, - Step, - StepOn, - Swoosh, - Victory - } - - public enum SpecialKey - { - Insert, - Home, - End, - PageUp, - PageDown, - ChatHotkey - } - public enum StartCorner { TopLeft, @@ -1814,12 +578,6 @@ namespace RobloxFiles.Enums BottomRight } - public enum Status - { - Poison, - Confusion - } - public enum StreamingPauseMode { Default, @@ -1827,128 +585,6 @@ namespace RobloxFiles.Enums ClientPhysicsPause } - public enum StudioDataModelType - { - Edit, - PlayClient = 2, - PlayServer, - RobloxPlugin, - UserPlugin, - None - } - - public enum StudioStyleGuideColor - { - MainBackground, - Titlebar, - Dropdown, - Tooltip, - Notification, - ScrollBar, - ScrollBarBackground, - TabBar, - Tab, - RibbonTab, - RibbonTabTopBar, - Button, - MainButton, - RibbonButton, - ViewPortBackground, - InputFieldBackground, - Item, - TableItem, - CategoryItem, - GameSettingsTableItem, - GameSettingsTooltip, - EmulatorBar, - EmulatorDropDown, - ColorPickerFrame, - CurrentMarker, - Border, - Shadow, - Light, - Dark, - Mid, - MainText, - SubText, - TitlebarText, - BrightText, - DimmedText, - LinkText, - WarningText, - ErrorText, - InfoText, - SensitiveText, - ScriptSideWidget, - ScriptBackground, - ScriptText, - ScriptSelectionText, - ScriptSelectionBackground, - ScriptFindSelectionBackground, - ScriptMatchingWordSelectionBackground, - ScriptOperator, - ScriptNumber, - ScriptString, - ScriptComment, - ScriptPreprocessor, - ScriptKeyword, - ScriptBuiltInFunction, - ScriptWarning, - ScriptError, - ScriptWhitespace, - ScriptRuler, - DebuggerCurrentLine, - DebuggerErrorLine, - DiffFilePathText, - DiffTextHunkInfo, - DiffTextNoChange, - DiffTextAddition, - DiffTextDeletion, - DiffTextSeparatorBackground, - DiffTextNoChangeBackground, - DiffTextAdditionBackground, - DiffTextDeletionBackground, - DiffLineNum, - DiffLineNumSeparatorBackground, - DiffLineNumNoChangeBackground, - DiffLineNumAdditionBackground, - DiffLineNumDeletionBackground, - DiffFilePathBackground, - DiffFilePathBorder, - ChatIncomingBgColor, - ChatIncomingTextColor, - ChatOutgoingBgColor, - ChatOutgoingTextColor, - ChatModeratedMessageColor, - Separator, - ButtonBorder, - ButtonText, - InputFieldBorder, - CheckedFieldBackground, - CheckedFieldBorder, - CheckedFieldIndicator, - HeaderSection, - Midlight, - StatusBar, - DialogButton, - DialogButtonText, - DialogButtonBorder, - DialogMainButton, - DialogMainButtonText, - InfoBarWarningBackground, - InfoBarWarningText, - ScriptEditorCurrentLine - } - - public enum StudioStyleGuideModifier - { - Default, - Selected, - Pressed, - Disabled, - Hover - } - public enum Style { AlternatingSupports, @@ -1956,14 +592,6 @@ namespace RobloxFiles.Enums NoSupports } - public enum SurfaceConstraint - { - None, - Hinge, - SteppingMotor, - Motor - } - public enum SurfaceGuiSizingMode { FixedSize, @@ -1984,15 +612,6 @@ namespace RobloxFiles.Enums SmoothNoOutlines = 10 } - public enum SwipeDirection - { - Right, - Left, - Up, - Down, - None - } - public enum TableMajorAxis { RowMajor, @@ -2008,59 +627,6 @@ namespace RobloxFiles.Enums Future } - public enum TeleportMethod - { - TeleportToSpawnByName, - TeleportToPlaceInstance, - TeleportToPrivateServer, - TeleportPartyAsync, - TeleportUnknown - } - - public enum TeleportResult - { - Success, - Failure, - GameNotFound, - GameEnded, - GameFull, - Unauthorized, - Flooded, - IsTeleporting - } - - public enum TeleportState - { - RequestedFromServer, - Started, - WaitingForServer, - Failed, - InProgress - } - - public enum TeleportType - { - ToPlace, - ToInstance, - ToReservedServer - } - - public enum TextFilterContext - { - PublicChat = 1, - PrivateChat - } - - public enum TextInputType - { - Default, - NoSuggestions, - Number, - Email, - Phone, - Password - } - public enum TextTruncate { None, @@ -2088,61 +654,6 @@ namespace RobloxFiles.Enums Static } - public enum TextureQueryType - { - NonHumanoid, - NonHumanoidOrphaned, - Humanoid, - HumanoidOrphaned - } - - public enum ThreadPoolConfig - { - Auto, - Threads1, - Threads2, - Threads3, - Threads4, - Threads8 = 8, - Threads16 = 16, - PerCore1 = 101, - PerCore2, - PerCore3, - PerCore4 - } - - public enum ThrottlingPriority - { - Default, - ElevatedOnServer, - Extreme - } - - public enum ThumbnailSize - { - Size48x48, - Size180x180, - Size420x420, - Size60x60, - Size100x100, - Size150x150, - Size352x352 - } - - public enum ThumbnailType - { - HeadShot, - AvatarBust, - AvatarThumbnail - } - - public enum TickCountSampleMethod - { - Fast, - Benchmark, - Precise - } - public enum TopBottom { Top, @@ -2150,103 +661,6 @@ namespace RobloxFiles.Enums Bottom } - public enum TouchCameraMovementMode - { - Default, - Classic, - Follow, - Orbital - } - - public enum TouchMovementMode - { - Default, - Thumbstick, - DPad, - Thumbpad, - ClickToMove, - DynamicThumbstick - } - - public enum TweenStatus - { - Canceled, - Completed - } - - public enum UITheme - { - Light, - Dark - } - - public enum UiMessageType - { - UiMessageError, - UiMessageInfo - } - - public enum UploadSetting - { - Never, - Ask, - Always - } - - public enum UserCFrame - { - Head, - LeftHand, - RightHand - } - - public enum UserInputState - { - Begin, - Change, - End, - Cancel, - None - } - - public enum UserInputType - { - MouseButton1, - MouseButton2, - MouseButton3, - MouseWheel, - MouseMovement, - Touch = 7, - Keyboard, - Focus, - Accelerometer, - Gyro, - Gamepad1, - Gamepad2, - Gamepad3, - Gamepad4, - Gamepad5, - Gamepad6, - Gamepad7, - Gamepad8, - TextInput, - InputMethod, - None - } - - public enum VRTouchpad - { - Left, - Right - } - - public enum VRTouchpadMode - { - Touch, - VirtualThumbstick, - ABXY - } - public enum VerticalAlignment { Center, @@ -2260,49 +674,6 @@ namespace RobloxFiles.Enums Left } - public enum VibrationMotor - { - Large, - Small, - LeftTrigger, - RightTrigger, - LeftHand, - RightHand - } - - public enum VideoQualitySettings - { - LowResolution, - MediumResolution, - HighResolution - } - - public enum VirtualInputMode - { - None, - Recording, - Playing - } - - public enum WaterDirection - { - NegX, - X, - NegY, - Y, - NegZ, - Z - } - - public enum WaterForce - { - None, - Small, - Medium, - Strong, - Max - } - public enum ZIndexBehavior { Global, diff --git a/Plugins/GenerateApiDump.rbxm b/Plugins/GenerateApiDump.rbxm index 766b46d..039f959 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 a0424e9..669f28e 100644 --- a/Plugins/GenerateApiDump/Formatting.lua +++ b/Plugins/GenerateApiDump/Formatting.lua @@ -1,7 +1,7 @@ local Format = {} function Format.Null(value) - return "null" + return nil end function Format.Bytes(value) @@ -9,7 +9,13 @@ function Format.Bytes(value) local fmt = "Convert.FromBase64String(%q)" return fmt:format(value) else - return "new byte[0]" + return "Array.Empty()" + end +end + +function Format.Bool(value) + if value then + return "true" end end @@ -17,21 +23,21 @@ function Format.String(value) return string.format("%q", value) end -function Format.Int(value) +function Format.Int(value, default) if value == 2147483647 then return "int.MaxValue" elseif value == -2147483648 then return "int.MinValue" - else + elseif value ~= 0 or default then return string.format("%i", value) end end -function Format.Number(value) +function Format.Number(value, default) local int = math.floor(value) if math.abs(value - int) < 0.001 then - return Format.Int(int) + return Format.Int(int, default) end local result = string.format("%.5f", value) @@ -40,10 +46,12 @@ function Format.Number(value) return result end -function Format.Double(value) - local result = Format.Number(value) +function Format.Double(value, default) + local result = Format.Number(value, default) - if result == "inf" then + if not result then + return nil + elseif result == "inf" then return "double.MaxValue" elseif result == "-inf" then return "double.MinValue" @@ -52,10 +60,12 @@ function Format.Double(value) end end -function Format.Float(value) - local result = Format.Number(value) +function Format.Float(value, default) + local result = Format.Number(value, default) - if result == "inf" then + if not result then + return nil + elseif result == "inf" then return "float.MaxValue" elseif result == "-inf" then return "float.MinValue" @@ -73,7 +83,7 @@ function Format.Flags(flag, enum) for _,item in pairs(enum:GetEnumItems()) do if flag[item.Name] then - value = value + (2 ^ item.Value) + value += (2 ^ item.Value) end end @@ -103,17 +113,17 @@ function Format.Color3(color) return "new Color3()" end - local r = Format.Float(color.r) - local g = Format.Float(color.g) - local b = Format.Float(color.b) + local r = Format.Float(color.R, true) + local g = Format.Float(color.G, true) + local b = Format.Float(color.B, true) local fmt = "%s(%s, %s, %s)"; local constructor = "new Color3"; if string.find(r .. g .. b, 'f') then - r = Format.Int(color.r * 255) - g = Format.Int(color.g * 255) - b = Format.Int(color.b * 255) + r = Format.Int(color.R * 255) + g = Format.Int(color.G * 255) + b = Format.Int(color.B * 255) constructor = "Color3.FromRGB" end @@ -126,8 +136,8 @@ function Format.UDim(udim) return "new UDim()" end - local scale = Format.Float(udim.Scale) - local offset = Format.Int(udim.Offset) + local scale = Format.Float(udim.Scale, true) + local offset = Format.Int(udim.Offset, true) local fmt = "new UDim(%s, %s)" return fmt:format(scale, offset) @@ -138,11 +148,11 @@ function Format.UDim2(udim2) return "new UDim2()" end - local xScale = Format.Float(udim2.X.Scale) - local yScale = Format.Float(udim2.Y.Scale) + local xScale = Format.Float(udim2.X.Scale, true) + local yScale = Format.Float(udim2.Y.Scale, true) - local xOffset = Format.Int(udim2.X.Offset) - local yOffset = Format.Int(udim2.Y.Offset) + local xOffset = Format.Int(udim2.X.Offset, true) + local yOffset = Format.Int(udim2.Y.Offset, true) local fmt = "new UDim2(%s, %s, %s, %s)" return fmt:format(xScale, xOffset, yScale, yOffset) @@ -153,8 +163,8 @@ function Format.Vector2(v2) return "new Vector2()" end - local x = Format.Float(v2.X) - local y = Format.Float(v2.Y) + local x = Format.Float(v2.X, true) + local y = Format.Float(v2.Y, true) local fmt = "new Vector2(%s, %s)" return fmt:format(x, y) @@ -165,9 +175,9 @@ function Format.Vector3(v3) return "new Vector3()" end - local x = Format.Float(v3.X) - local y = Format.Float(v3.Y) - local z = Format.Float(v3.Z) + local x = Format.Float(v3.X, true) + local y = Format.Float(v3.Y, true) + local z = Format.Float(v3.Z, true) local fmt = "new Vector3(%s, %s, %s)" return fmt:format(x, y, z) @@ -185,16 +195,16 @@ function Format.CFrame(cf) if rot == blankCF then local fmt = "new CFrame(%s, %s, %s)" - local x = Format.Float(cf.X) - local y = Format.Float(cf.Y) - local z = Format.Float(cf.Z) + local x = Format.Float(cf.X, true) + local y = Format.Float(cf.Y, true) + local z = Format.Float(cf.Z, true) return fmt:format(x, y, z) else local comp = { cf:GetComponents() } for i = 1,12 do - comp[i] = Format.Float(comp[i]) + comp[i] = Format.Float(comp[i], true) end local fmt = "new CFrame(%s)" @@ -209,10 +219,10 @@ function Format.NumberRange(nr) local max = nr.Max local fmt = "new NumberRange(%s)" - local value = Format.Float(min) + local value = Format.Float(min, true) if min ~= max then - value = value .. ", " .. Format.Float(max) + value = value .. ", " .. Format.Float(max, true) end return fmt:format(value) @@ -253,7 +263,7 @@ function Format.NumberSequence(ns) local nsKey = ns.Keypoints[1] local fmt = "new NumberSequence(%s)" - local value = Format.Float(nsKey.Value) + local value = Format.Float(nsKey.Value, true) return fmt:format(value) end @@ -263,9 +273,9 @@ function Format.Vector3int16(v3) return "new Vector3int16()" end - local x = Format.Int(v3.X) - local y = Format.Int(v3.Y) - local z = Format.Int(v3.Z) + local x = Format.Int(v3.X, true) + local y = Format.Int(v3.Y, true) + local z = Format.Int(v3.Z, true) local fmt = "new Vector3int16(%s, %s, %s)" return fmt:format(x, y, z) diff --git a/Plugins/GenerateApiDump/PropertyPatches.lua b/Plugins/GenerateApiDump/PropertyPatches.lua index 2b455ac..ad819da 100644 --- a/Plugins/GenerateApiDump/PropertyPatches.lua +++ b/Plugins/GenerateApiDump/PropertyPatches.lua @@ -2,7 +2,7 @@ local function UseColor3(propName) return { Get = string.format("BrickColor.FromColor3(%s)", propName); - Set = propName .. " = value.Color"; + Set = propName .. " = value?.Color"; } end @@ -349,7 +349,11 @@ return Model = { - Add = { ModelInPrimary = "CFrame" }; + Add = + { + ModelInPrimary = "CFrame"; + ModelMeshData = "BinaryString"; + }; }; ModuleScript = diff --git a/Plugins/GenerateApiDump/init.server.lua b/Plugins/GenerateApiDump/init.server.lua index 5d4ca45..40b0bcf 100644 --- a/Plugins/GenerateApiDump/init.server.lua +++ b/Plugins/GenerateApiDump/init.server.lua @@ -200,9 +200,10 @@ local formatLinks = ["nil"] = "Null"; ["long"] = "Int"; - ["float"] = "Float"; - ["byte[]"] = "Bytes"; - ["double"] = "Double"; + ["float"] = "Float"; + ["byte[]"] = "Bytes"; + ["double"] = "Double"; + ["boolean"] = "Bool"; ["string"] = "String"; ["Content"] = "String"; @@ -247,25 +248,18 @@ setmetatable(patches, patchIndex) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- local baseUrl = "https://raw.githubusercontent.com/CloneTrooper1019/Roblox-Client-Tracker/roblox/" -local toolbar, classButton, enumButton +local toolbar, button if plugin then toolbar = plugin:CreateToolbar("C# API Dump") - classButton = toolbar:CreateButton( - "Dump Classes", - "Generates a C# dump of Roblox's Class API.", + button = toolbar:CreateButton( + "Dump API", + "Generates a C# dump of Roblox's Class/Enum API.", "rbxasset://textures/Icon_Stream_Off@2x.png" ) - enumButton = toolbar:CreateButton( - "Dump Enums", - "Generates a C# dump of Roblox's Enum API.", - "rbxasset://textures/Icon_Stream_Off@2x.png" - ) - - classButton.ClickableWhenViewportHidden = true - enumButton.ClickableWhenViewportHidden = true + button.ClickableWhenViewportHidden = true end local function getAsync(url) @@ -294,6 +288,12 @@ local function generateClasses() local classNames = {} classes = {} + + local enumMap = + { + Axis = true; + FontSize = true; + } for _,class in ipairs(apiDump.Classes) do local className = class.Name @@ -309,9 +309,7 @@ local function generateClasses() if classTags.Service then pcall(function () - if not className:find("Network") then - class.Object = game:GetService(className) - end + class.Object = game:GetService(className) end) elseif not classTags.NotCreatable then pcall(function () @@ -345,7 +343,11 @@ local function generateClasses() writeLine("using RobloxFiles.Utility;") writeLine() - writeLine("#pragma warning disable IDE1006 // Suppress warnings about camelCase.") + writeLine("#pragma warning disable CA1041 // Provide ObsoleteAttribute message") + writeLine("#pragma warning disable CA1051 // Do not declare visible instance fields") + writeLine("#pragma warning disable CA1707 // Identifiers should not contain underscores") + writeLine("#pragma warning disable CA1716 // Identifiers should not match keywords") + writeLine("#pragma warning disable IDE1006 // Naming Styles") writeLine() writeLine("namespace RobloxFiles") @@ -589,7 +591,14 @@ local function generateClasses() result = formatFunc(value) end - default = " = " .. result + if result ~= nil then + default = " = " .. result + end + + if formatFunc == formatting.EnumItem then + local enumName = tostring(value.EnumType) + enumMap[enumName] = true + end end if propTags.Deprecated then @@ -600,10 +609,6 @@ local function generateClasses() writeLine("[Obsolete]") end - if category == "Class" then - default = " = null" - end - writeLine("public %s %s%s;", valueType, name, default) if propTags.Deprecated and i ~= #propNames then @@ -625,27 +630,36 @@ local function generateClasses() closeStack() exportStream("Classes") + + return enumMap end -local function generateEnums() +local function generateEnums(whiteList) local version = getfenv().version():gsub("%. ", ".") clearStream() writeLine("// Auto-generated list of Roblox enums.") writeLine("// Updated as of %s", version) writeLine() - + writeLine("namespace RobloxFiles.Enums") openStack() local enums = Enum:GetEnums() for i, enum in ipairs(enums) do - writeLine("public enum %s", tostring(enum)) + local enumName = tostring(enum) + + if whiteList and not whiteList[enumName] then + continue + end + + writeLine("public enum %s", enumName) openStack() local enumItems = enum:GetEnumItems() local lastValue = -1 + local mapped = {} table.sort(enumItems, function (a, b) return a.Value < b.Value @@ -658,16 +672,20 @@ local function generateEnums() local name = enumItem.Name local value = enumItem.Value - if (value - lastValue) ~= 1 then - text = " = " .. value; + if not mapped[value] then + if (value - lastValue) ~= 1 then + text = " = " .. value; + end + + if i == #enumItems then + comma = "" + end + + lastValue = value + mapped[value] = true + + writeLine("%s%s%s", name, text, comma) end - - if i == #enumItems then - comma = "" - end - - lastValue = value - writeLine("%s%s%s", name, text, comma) end closeStack() @@ -681,10 +699,13 @@ local function generateEnums() exportStream("Enums") end +local function generateAll() + local enumList = generateClasses() + generateEnums(enumList) +end + if plugin then - classButton.Click:Connect(generateClasses) - enumButton.Click:Connect(generateEnums) + button.Click:Connect(generateAll) else - generateClasses() - generateEnums() + generateAll() end \ No newline at end of file diff --git a/RobloxFileFormat.csproj b/RobloxFileFormat.csproj index 8d44611..b9a34c0 100644 --- a/RobloxFileFormat.csproj +++ b/RobloxFileFormat.csproj @@ -1,5 +1,10 @@  + + + + + @@ -47,6 +52,7 @@ TRACE prompt 1 + MinimumRecommendedRules.ruleset @@ -175,6 +181,17 @@ + + + + + + + + + + + copy /y $(TargetPath) $(ProjectDir)$(TargetFileName) @@ -185,6 +202,11 @@ + + + + + \ No newline at end of file diff --git a/RobloxFileFormat.dll b/RobloxFileFormat.dll index a9c5011..15dfaa2 100644 Binary files a/RobloxFileFormat.dll and b/RobloxFileFormat.dll differ diff --git a/Utility/Formatting.cs b/Utility/Formatting.cs index c6a9fd6..2136ab2 100644 --- a/Utility/Formatting.cs +++ b/Utility/Formatting.cs @@ -5,7 +5,7 @@ using System.Text; internal static class Formatting { - private static CultureInfo invariant => CultureInfo.InvariantCulture; + private static CultureInfo Invariant => CultureInfo.InvariantCulture; public static string ToInvariantString(this float value) { @@ -18,7 +18,7 @@ internal static class Formatting else if (float.IsNaN(value)) result = "NAN"; else - result = value.ToString(invariant); + result = value.ToString(Invariant); return result; } @@ -34,75 +34,52 @@ internal static class Formatting else if (double.IsNaN(value)) result = "NAN"; else - result = value.ToString(invariant); + result = value.ToString(Invariant); return result; } public static string ToInvariantString(this int value) { - return value.ToString(invariant); + return value.ToString(Invariant); } public static string ToInvariantString(this object value) { - if (value is float) + switch (value) { - float f = (float)value; - return f.ToInvariantString(); - } - else if (value is double) - { - double d = (double)value; - return d.ToInvariantString(); - } - else if (value is int) - { - int i = (int)value; - return i.ToInvariantString(); - } - else - { - // Unhandled - return value.ToString(); + case double d : return d.ToInvariantString(); + case float f : return f.ToInvariantString(); + case int i : return i.ToInvariantString(); + default : return value.ToString(); } } public static float ParseFloat(string value) { - float result; - - if (value == "INF") - result = float.PositiveInfinity; - else if (value == "-INF") - result = float.NegativeInfinity; - else if (value == "NAN") - result = float.NaN; - else - result = float.Parse(value, invariant); - - return result; + switch (value) + { + case "NAN" : return float.NaN; + case "INF" : return float.PositiveInfinity; + case "-INF" : return float.NegativeInfinity; + default : return float.Parse(value, Invariant); + } } public static double ParseDouble(string value) { - double result; - - if (value == "INF") - result = double.PositiveInfinity; - else if (value == "-INF") - result = double.NegativeInfinity; - else if (value == "NAN") - result = double.NaN; - else - result = double.Parse(value, invariant); - - return result; + switch (value) + { + case "NAN" : return double.NaN; + case "INF" : return double.PositiveInfinity; + case "-INF" : return double.NegativeInfinity; + default : return double.Parse(value, Invariant); + } } public static int ParseInt(string s) { - return int.Parse(s, invariant); + return int.Parse(s, Invariant); } public static bool FuzzyEquals(this float a, float b, float epsilon = 10e-5f) diff --git a/Utility/ImplicitMember.cs b/Utility/ImplicitMember.cs index 0c73cf9..9ceedf4 100644 --- a/Utility/ImplicitMember.cs +++ b/Utility/ImplicitMember.cs @@ -7,8 +7,8 @@ namespace RobloxFiles.Utility // This is a lazy helper class to disambiguate between FieldInfo and PropertyInfo internal class ImplicitMember { - private static BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.FlattenHierarchy | BindingFlags.IgnoreCase; - private object member; + private const BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.FlattenHierarchy | BindingFlags.IgnoreCase; + private readonly object member; private ImplicitMember(FieldInfo field) { member = field; } private ImplicitMember(PropertyInfo prop) { member = prop; } diff --git a/XmlFormat/XmlPropertyTokens.cs b/XmlFormat/XmlPropertyTokens.cs index 03caf9a..b53a694 100644 --- a/XmlFormat/XmlPropertyTokens.cs +++ b/XmlFormat/XmlPropertyTokens.cs @@ -9,7 +9,7 @@ namespace RobloxFiles.XmlFormat { public static class XmlPropertyTokens { - public static IReadOnlyDictionary Handlers; + private static readonly Dictionary Handlers = new Dictionary(); static XmlPropertyTokens() { @@ -25,22 +25,24 @@ namespace RobloxFiles.XmlFormat .Select(handlerType => Activator.CreateInstance(handlerType)) .Cast(); - var tokenHandlers = new Dictionary(); - foreach (IXmlPropertyToken propToken in propTokens) { var tokens = propToken.Token.Split(';') .Select(token => token.Trim()) .ToList(); - tokens.ForEach(token => tokenHandlers.Add(token, propToken)); + tokens.ForEach(token => Handlers.Add(token, propToken)); } - - Handlers = tokenHandlers; } public static bool ReadPropertyGeneric(XmlNode token, out T outValue) where T : struct { + if (token == null) + { + var name = nameof(token); + throw new ArgumentNullException(name); + } + try { string value = token.InnerText; @@ -65,18 +67,22 @@ namespace RobloxFiles.XmlFormat outValue = (T)result; return true; } - catch + catch (NotSupportedException) { - outValue = default(T); + outValue = default; return false; } } public static bool ReadPropertyGeneric(Property prop, PropertyType propType, XmlNode token) where T : struct { - T result; + if (prop == null) + { + var name = nameof(prop); + throw new ArgumentNullException(name); + } - if (ReadPropertyGeneric(token, out result)) + if (ReadPropertyGeneric(token, out T result)) { prop.Type = propType; prop.Value = result; diff --git a/packages.config b/packages.config index 146db44..f33cbab 100644 --- a/packages.config +++ b/packages.config @@ -4,5 +4,10 @@ + + + + + \ No newline at end of file