diff --git a/Generated/Classes.cs b/Generated/Classes.cs index dae0a49..8dd39c1 100644 --- a/Generated/Classes.cs +++ b/Generated/Classes.cs @@ -1,5 +1,5 @@ // Auto-generated list of creatable Roblox classes. -// Updated as of 0.554.1.5540506 +// Updated as of 0.586.0.5860000 using System; @@ -8,6 +8,7 @@ using RobloxFiles.Enums; using RobloxFiles.Utility; #pragma warning disable IDE1006 // Naming Styles +#pragma warning disable CS0612 // Type or member is obsolete namespace RobloxFiles { @@ -27,7 +28,9 @@ namespace RobloxFiles public class AdPortal : Instance { + [Obsolete] public AdPortalType PortalType = AdPortalType.Forward; + } public class AdService : Instance @@ -60,6 +63,7 @@ namespace RobloxFiles public abstract class AnimationClip : Instance { + public byte[] GuidBinaryString; public bool Loop = true; public AnimationPriority Priority = AnimationPriority.Action; } @@ -103,10 +107,11 @@ namespace RobloxFiles public class AnimationRigData : Instance { - public byte[] articulatedJoint = Convert.FromBase64String("AQAAAAAAAAA="); - public byte[] endEffectorRotationConstraint = Convert.FromBase64String("AQAAAAAAAAA="); - public byte[] endEffectorTranslationConstraint = Convert.FromBase64String("AQAAAAAAAAA="); - public byte[] facsControl = Convert.FromBase64String("AQAAAAAAAAA="); + public byte[] articulatedJoint; + public byte[] endEffectorRotationConstraint; + public byte[] endEffectorTranslationConstraint; + public byte[] endEffectorWeight; + public byte[] facsControl; public byte[] label = Convert.FromBase64String("AQAAAAEAAAAAAAAA"); public byte[] name = Convert.FromBase64String("AQAAAAEAAAAAAAAA"); public byte[] parent = Convert.FromBase64String("AQAAAAEAAAAAAA=="); @@ -193,6 +198,34 @@ namespace RobloxFiles { } + public class AudioSearchParams : Instance + { + public string Album = ""; + public string Artist = ""; + public AudioSubType AudioSubType = AudioSubType.Music; + + [Obsolete] + public AudioSubType AudioSubtype + { + get => AudioSubType; + set => AudioSubType = value; + } + + public int MaxDuration = int.MaxValue; + public int MinDuration = 0; + public string SearchKeyword = ""; + public string Tag = ""; + public string Title = ""; + } + + public class AvatarChatService : Instance + { + public AvatarChatService() + { + IsService = true; + } + } + public class AvatarEditorService : Instance { public AvatarEditorService() @@ -213,32 +246,6 @@ namespace RobloxFiles { } - public abstract class BackpackItem : Instance - { - public Content TextureId = ""; - } - - public class HopperBin : BackpackItem - { - public bool Active; - public BinType BinType = BinType.Script; - } - - public class Tool : BackpackItem - { - public bool CanBeDropped = true; - public bool Enabled = true; - public CFrame Grip = CFrame.identity; - public bool ManualActivationOnly; - public bool RequiresHandle = true; - public string ToolTip = ""; - } - - public class Flag : Tool - { - public BrickColor TeamColor = BrickColor.FromNumber(194); - } - public class BadgeService : Instance { public BadgeService() @@ -271,6 +278,7 @@ namespace RobloxFiles [Obsolete] public bool ResetPlayerGuiOnSpawn = true; + public RtlTextSupport RtlTextSupport = RtlTextSupport.Default; public ScreenOrientation ScreenOrientation = ScreenOrientation.LandscapeSensor; public bool ShowDevelopmentGui = true; public VirtualCursorMode VirtualCursorMode = VirtualCursorMode.Default; @@ -281,7 +289,10 @@ namespace RobloxFiles public Content CageMeshId = ""; public CFrame CageOrigin = CFrame.identity; public Content HSRAssetId = ""; + public SharedString HSRData = SharedString.FromBase64("yuZpQdnvvUBOTYh1jqZ2cA=="); + public SharedString HSRMeshIdData = SharedString.FromBase64("yuZpQdnvvUBOTYh1jqZ2cA=="); public CFrame ImportOrigin = CFrame.identity; + public Content TemporaryCageMeshId = ""; } public class WrapLayer : BaseWrap @@ -294,6 +305,7 @@ namespace RobloxFiles public Content ReferenceMeshId = ""; public CFrame ReferenceOrigin = CFrame.identity; public float ShrinkFactor = 0; + public Content TemporaryReferenceId = ""; } public class WrapTarget : BaseWrap @@ -477,6 +489,10 @@ namespace RobloxFiles } } + public class BubbleChatMessageProperties : Instance + { + } + public class BulkImportService : Instance { public BulkImportService() @@ -543,6 +559,7 @@ namespace RobloxFiles public CFrame Focus = new CFrame(0, 0, -5); public bool HeadLocked = true; public float HeadScale = 1; + public bool VRTiltAndRollEnabled; [Obsolete] public CFrame focus @@ -552,6 +569,14 @@ namespace RobloxFiles } } + public class CaptureService : Instance + { + public CaptureService() + { + IsService = true; + } + } + public class ChangeHistoryService : Instance { public ChangeHistoryService() @@ -666,6 +691,31 @@ namespace RobloxFiles public float MaxActivationDistance = 32; } + public class DragDetector : ClickDetector + { + public Content ActivatedCursorIcon = ""; + public bool ApplyAtCenterOfMass; + public CFrame DragFrame = CFrame.identity; + public DragDetectorDragStyle DragStyle = DragDetectorDragStyle.TranslatePlane; + public bool Enabled = true; + public KeyCode GamepadModeSwitchKeyCode = KeyCode.ButtonR1; + public KeyCode KeyboardModeSwitchKeyCode = KeyCode.LeftControl; + public float MaxDragAngle = 0; + public Vector3 MaxDragTranslation = Vector3.zero; + public float MaxForce = 10000000; + public float MaxTorque = 10000; + public float MinDragAngle = 0; + public Vector3 MinDragTranslation = Vector3.zero; + public Vector3 Orientation = new Vector3(0, 180, 90); + public Instance ReferenceInstance; + public DragDetectorResponseStyle ResponseStyle = DragDetectorResponseStyle.Physical; + public float Responsiveness = 10; + public bool RunLocally; + public float TrackballRadialPullFactor = 1; + public float TrackballRollFactor = 1; + public KeyCode VRSwitchKeyCode = KeyCode.ButtonL2; + } + public class Clouds : Instance { public Color3 Color = new Color3(1, 1, 1); @@ -716,6 +766,9 @@ namespace RobloxFiles } public bool ApplyAtCenterOfMass; + public ForceLimitMode ForceLimitMode = ForceLimitMode.Magnitude; + public ActuatorRelativeTo ForceRelativeTo = ActuatorRelativeTo.World; + public Vector3 MaxAxesForce = new Vector3(10000, 10000, 10000); public float MaxForce = 10000; public float MaxVelocity = float.MaxValue; public PositionAlignmentMode Mode = PositionAlignmentMode.TwoAttachment; @@ -735,6 +788,7 @@ namespace RobloxFiles public class AnimationConstraint : Constraint { + public bool IsKinematic; public float MaxForce = 10000; public float MaxTorque = 10000; public CFrame Transform = CFrame.identity; @@ -748,13 +802,6 @@ namespace RobloxFiles } public bool LimitsEnabled; - - public float MaxFrictionTorque - { - get => MaxFrictionTorqueXml; - set => MaxFrictionTorqueXml = value; - } - public float MaxFrictionTorqueXml = 0; public float Radius = 0.15f; public float Restitution = 0; @@ -802,9 +849,12 @@ namespace RobloxFiles Color = BrickColor.FromNumber(26); } + public ForceLimitMode ForceLimitMode = ForceLimitMode.Magnitude; public Vector3 LineDirection = Vector3.xAxis; public float LineVelocity = 0; + public Vector3 MaxAxesForce = new Vector3(1000, 1000, 1000); public float MaxForce = 1000; + public Vector2 MaxPlanarAxesForce = new Vector2(1000, 1000); public Vector2 PlaneVelocity = Vector2.zero; public Vector3 PrimaryTangentAxis = Vector3.xAxis; public ActuatorRelativeTo RelativeTo = ActuatorRelativeTo.World; @@ -1021,42 +1071,42 @@ namespace RobloxFiles public abstract class ControllerBase : Instance { + public bool BalanceRigidityEnabled; public float MoveSpeedFactor = 1; - public bool RigidityEnabled; } public class AirController : ControllerBase { - public bool CancelAirMomentum = true; + public float BalanceMaxTorque = 10000; + public float BalanceSpeed = 100; public bool MaintainAngularMomentum = true; public bool MaintainLinearMomentum = true; public float MoveMaxForce = 1000; - public float OrientationMaxTorque = 10000; - public float OrientationSpeedFactor = 1; - public Vector3 VectorForce = Vector3.zero; + public float TurnMaxTorque = 10000; + public float TurnSpeedFactor = 1; } public class ClimbController : ControllerBase { public float AccelerationTime = 0; - public float MoveMaxForce = float.MaxValue; - public float OrientationMaxTorque = float.MaxValue; - public float OrientationSpeedFactor = 1; + public float BalanceMaxTorque = 10000; + public float BalanceSpeed = 100; + public float MoveMaxForce = 10000; } public class GroundController : ControllerBase { public float AccelerationLean = 1; public float AccelerationTime = 0; - public float AlignSpeed = 100; - public float AlignTorque = 10000; + public float BalanceMaxTorque = 10000; + public float BalanceSpeed = 100; public float DecelerationTime = 0; public float Friction = 2; public float FrictionWeight = 1; public float GroundOffset = 1; public float StandForce = 10000; public float StandSpeed = 100; - public float TurningFactor = 1; + public float TurnSpeedFactor = 1; } public class SwimController : ControllerBase @@ -1070,10 +1120,14 @@ namespace RobloxFiles public class ControllerManager : Instance { + public ControllerBase ActiveController; public float BaseMoveSpeed = 16; public float BaseTurnSpeed = 8; + public ControllerSensor ClimbSensor; public Vector3 FacingDirection = Vector3.zAxis; + public ControllerSensor GroundSensor; public Vector3 MovingDirection = Vector3.zero; + public BasePart RootPart; } public class ControllerService : Instance @@ -1100,6 +1154,14 @@ namespace RobloxFiles } } + public class CoreScriptDebuggingManagerHelper : Instance + { + public CoreScriptDebuggingManagerHelper() + { + IsService = true; + } + } + public class CoreScriptSyncService : Instance { public CoreScriptSyncService() @@ -1120,8 +1182,6 @@ namespace RobloxFiles public abstract class DataModelMesh : Instance { - public LevelOfDetailSetting LODX = LevelOfDetailSetting.High; - public LevelOfDetailSetting LODY = LevelOfDetailSetting.High; public Vector3 Offset = Vector3.zero; public Vector3 Scale = Vector3.one; public Vector3 VertexColor = Vector3.one; @@ -1148,6 +1208,10 @@ namespace RobloxFiles public Content TextureId = ""; } + public class DynamicMesh : FileMesh + { + } + public class SpecialMesh : FileMesh { public MeshType MeshType = MeshType.Head; @@ -1343,14 +1407,6 @@ namespace RobloxFiles } } - public class FacialAnimationStreamingService : Instance - { - public FacialAnimationStreamingService() - { - IsService = true; - } - } - public class FacialAnimationStreamingServiceV2 : Instance { public FacialAnimationStreamingServiceV2() @@ -1487,6 +1543,14 @@ namespace RobloxFiles } } + public class GeometryService : Instance + { + public GeometryService() + { + IsService = true; + } + } + public class GetTextBoundsParams : Instance { public FontFace Font = FontFace.FromEnum(Enums.Font.SourceSans); @@ -1671,6 +1735,7 @@ namespace RobloxFiles } public Color3 TextColor3 = Color3.FromRGB(27, 42, 53); + public TextDirection TextDirection = TextDirection.Auto; public bool TextScaled; public float TextSize = 8; public Color3 TextStrokeColor3 = new Color3(); @@ -1688,17 +1753,6 @@ namespace RobloxFiles public bool TextWrapped; public TextXAlignment TextXAlignment = TextXAlignment.Center; public TextYAlignment TextYAlignment = TextYAlignment.Center; - - public new float Transparency - { - get => base.Transparency; - - set - { - base.Transparency = value; - TextTransparency = value; - } - } } public abstract class GuiLabel : GuiObject @@ -1763,6 +1817,7 @@ namespace RobloxFiles } public Color3 TextColor3 = Color3.FromRGB(27, 42, 53); + public TextDirection TextDirection = TextDirection.Auto; public bool TextScaled; public float TextSize = 8; public Color3 TextStrokeColor3 = new Color3(); @@ -1780,17 +1835,6 @@ namespace RobloxFiles public bool TextWrapped; public TextXAlignment TextXAlignment = TextXAlignment.Center; public TextYAlignment TextYAlignment = TextYAlignment.Center; - - public new float Transparency - { - get => base.Transparency; - - set - { - base.Transparency = value; - TextTransparency = value; - } - } } public class ScrollingFrame : GuiObject @@ -1861,6 +1905,7 @@ namespace RobloxFiles } public Color3 TextColor3 = Color3.FromRGB(27, 42, 53); + public TextDirection TextDirection = TextDirection.Auto; public bool TextEditable = true; public bool TextScaled; public float TextSize = 8; @@ -1879,17 +1924,6 @@ namespace RobloxFiles public bool TextWrapped; public TextXAlignment TextXAlignment = TextXAlignment.Center; public TextYAlignment TextYAlignment = TextYAlignment.Center; - - public new float Transparency - { - get => base.Transparency; - - set - { - base.Transparency = value; - TextTransparency = value; - } - } } public class VideoFrame : GuiObject @@ -1972,6 +2006,7 @@ namespace RobloxFiles public class AdGui : SurfaceGuiBase { public AdShape AdShape = AdShape.HorizontalRectangle; + public Content FallbackImage = ""; } public class SurfaceGui : SurfaceGuiBase @@ -2021,6 +2056,7 @@ namespace RobloxFiles public class SelectionBox : InstanceAdornment { public float LineThickness = 0.15f; + public bool StudioSelectionBox; [Obsolete] public BrickColor SurfaceColor @@ -2091,6 +2127,7 @@ namespace RobloxFiles public class WireframeHandleAdornment : HandleAdornment { + public Vector3 Scale = Vector3.one; } public class ParabolaAdornment : PVAdornment @@ -2241,12 +2278,23 @@ namespace RobloxFiles public float InternalHeadScale = 1; public float JumpHeight = 7.2f; public float JumpPower = 50; + + [Obsolete] + public BasePart LeftLeg; + public float MaxHealth = 100; public float MaxSlopeAngle = 89; public float NameDisplayDistance = 100; public NameOcclusion NameOcclusion = NameOcclusion.OccludeAll; public bool RequiresNeck = true; public HumanoidRigType RigType = HumanoidRigType.R6; + + [Obsolete] + public BasePart RightLeg; + + [Obsolete] + public BasePart Torso; + public bool UseJumpPower = true; public float WalkSpeed = 16; @@ -2312,6 +2360,7 @@ namespace RobloxFiles public CFrame Offset = CFrame.identity; public Instance Pole; public int Priority = 0; + public float SmoothTime = 0.05f; public Instance Target; public IKControlType Type = IKControlType.Transform; public float Weight = 1; @@ -2348,7 +2397,10 @@ namespace RobloxFiles IsService = true; } + public bool AddPathsToBundle; + public double BuildDebouncePeriod = 0.1; public bool HighCompression; + public bool SerializePatch = true; public bool ZstdCompression; } @@ -2365,6 +2417,14 @@ namespace RobloxFiles public bool AllowInsertFreeModels; } + public class InternalSyncService : Instance + { + public InternalSyncService() + { + IsService = true; + } + } + public abstract class JointInstance : Instance { public CFrame C0 = CFrame.identity; @@ -2546,6 +2606,14 @@ namespace RobloxFiles public string TimeOfDay = "14:00:00"; } + public class LiveScriptingService : Instance + { + public LiveScriptingService() + { + IsService = true; + } + } + public abstract class LocalStorageService : Instance { public LocalStorageService() @@ -2602,19 +2670,19 @@ namespace RobloxFiles public abstract class LuaSourceContainer : Instance { - public Content LinkedSource = ""; public string ScriptGuid = ""; - public ProtectedString Source = ""; } public abstract class BaseScript : LuaSourceContainer { public bool Disabled; + public Content LinkedSource = ""; public RunContext RunContext = RunContext.Legacy; } public class Script : BaseScript { + public ProtectedString Source = ""; } public class LocalScript : Script @@ -2623,6 +2691,8 @@ namespace RobloxFiles public class ModuleScript : LuaSourceContainer { + public Content LinkedSource = ""; + public ProtectedString Source = ""; } public class LuaWebService : Instance @@ -2654,6 +2724,14 @@ namespace RobloxFiles } } + public class MaterialGenerationService : Instance + { + public MaterialGenerationService() + { + IsService = true; + } + } + public class MaterialService : Instance { public MaterialService() @@ -2691,13 +2769,6 @@ namespace RobloxFiles public string SlateName = "Slate"; public string SmoothPlasticName = "SmoothPlastic"; public string SnowName = "Snow"; - - public bool Use2022Materials - { - get => Use2022MaterialsXml; - set => Use2022MaterialsXml = value; - } - public bool Use2022MaterialsXml; public string WoodName = "Wood"; public string WoodPlanksName = "WoodPlanks"; @@ -2713,8 +2784,7 @@ namespace RobloxFiles public Content NormalMap = ""; public Content RoughnessMap = ""; public float StudsPerTile = 10; - public Content TexturePack0 = ""; - public Content TexturePack1 = ""; + public Content TexturePack = ""; } public class MemStorageService : Instance @@ -2785,6 +2855,22 @@ namespace RobloxFiles } } + public class OmniRecommendationsService : Instance + { + public OmniRecommendationsService() + { + IsService = true; + } + } + + public class OpenCloudService : Instance + { + public OpenCloudService() + { + IsService = true; + } + } + public abstract class PVInstance : Instance { } @@ -2827,6 +2913,8 @@ namespace RobloxFiles public bool CanTouch = true; public bool CastShadow = true; public string CollisionGroup = "Default"; + + [Obsolete] public int CollisionGroupId = 0; public Color3 Color @@ -2841,6 +2929,8 @@ namespace RobloxFiles [Obsolete] public float Elasticity = 0.5f; + public bool EnableFluidForces = true; + [Obsolete] public float Friction = 0.3f; @@ -2869,22 +2959,8 @@ namespace RobloxFiles public bool Locked; public bool Massless; public Material Material = Material.Plastic; - - public string MaterialVariant - { - get => MaterialVariantSerialized; - set => MaterialVariantSerialized = value; - } - public string MaterialVariantSerialized = ""; public CFrame PivotOffset = CFrame.identity; - - public Vector3 Position - { - get => CFrame.Position; - set => CFrame = new CFrame(value) * CFrame.Rotation; - } - public float Reflectance = 0; [Obsolete] @@ -3066,12 +3142,12 @@ namespace RobloxFiles } public TerrainAcquisitionMethod AcquisitionMethod = TerrainAcquisitionMethod.None; - public byte[] ClusterGridV3; public bool Decoration; public byte[] MaterialColors = Convert.FromBase64String("AAAAAAAAan8/P39rf2Y/ilY+j35fi21PZmxvZbDqw8faiVpHOi4kHh4lZlw76JxKc3trhHtagcLgc4RKxr21zq2UlJSM"); public byte[] PhysicsGrid = Convert.FromBase64String("AgMAAAAAAAAAAAAAAAA="); public bool ShorelinesUpgraded; public byte[] SmoothGrid = Convert.FromBase64String("AQU="); + public bool SmoothVoxelsUpgraded; public Color3 WaterColor = Color3.FromRGB(12, 84, 91); public float WaterReflectance = 1; public float WaterTransparency = 0.3f; @@ -3087,10 +3163,7 @@ namespace RobloxFiles size = new Vector3(4, 1.2f, 2); } - public Vector3 InitialSize = Vector3.one; - public byte[] LODData; public SharedString PhysicalConfigData = SharedString.FromBase64("1B2M2Y8AsgTpgAmY7PhCfg=="); - public byte[] PhysicsData; } public class MeshPart : TriangleMeshPart @@ -3101,11 +3174,22 @@ namespace RobloxFiles size = new Vector3(4, 1.2f, 2); } + public SharedString AeroMeshData = SharedString.FromBase64("yuZpQdnvvUBOTYh1jqZ2cA=="); public bool DoubleSided; public bool HasJointOffset; public bool HasSkinnedMesh; + public Vector3 InitialSize = Vector3.zero; public Vector3 JointOffset = Vector3.zero; + + [Obsolete] + public Content MeshID + { + get => MeshId; + set => MeshId = value; + } + public Content MeshId = ""; + public byte[] PhysicsData; public RenderFidelity RenderFidelity = RenderFidelity.Precise; public Content TextureID = ""; public int VertexCount = 0; @@ -3126,13 +3210,27 @@ namespace RobloxFiles public byte[] ChildData; public SharedString ChildData2 = SharedString.FromBase64("yuZpQdnvvUBOTYh1jqZ2cA=="); public FormFactor FormFactor = FormFactor.Custom; + public Vector3 InitialSize = Vector3.zero; public byte[] MeshData; public SharedString MeshData2 = SharedString.FromBase64("yuZpQdnvvUBOTYh1jqZ2cA=="); + public byte[] PhysicsData; public RenderFidelity RenderFidelity = RenderFidelity.Precise; public float SmoothingAngle = 0; public bool UsePartColor; } + public class IntersectOperation : PartOperation + { + public IntersectOperation() : 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 NegateOperation : PartOperation { public NegateOperation() : base() @@ -3210,6 +3308,7 @@ namespace RobloxFiles public ModelStreamingMode ModelStreamingMode = ModelStreamingMode.Default; public bool NeedsPivotMigration; public BasePart PrimaryPart; + public float ScaleFactor = 1; public Optional WorldPivotData; } @@ -3217,6 +3316,32 @@ namespace RobloxFiles { } + public abstract class BackpackItem : Model + { + public Content TextureId = ""; + } + + public class HopperBin : BackpackItem + { + public bool Active; + public BinType BinType = BinType.Script; + } + + public class Tool : BackpackItem + { + public bool CanBeDropped = true; + public bool Enabled = true; + public CFrame Grip = CFrame.identity; + public bool ManualActivationOnly; + public bool RequiresHandle = true; + public string ToolTip = ""; + } + + public class Flag : Tool + { + public BrickColor TeamColor = BrickColor.FromNumber(194); + } + public abstract class WorldRoot : Model { } @@ -3228,32 +3353,35 @@ namespace RobloxFiles IsService = true; } + public float AirDensity = 0.0012f; public bool AllowThirdPartySales; - public NewAnimationRuntimeSetting AnimationWeightedBlendFix = NewAnimationRuntimeSetting.Default; + public AvatarUnificationMode AvatarUnificationMode = AvatarUnificationMode.Default; public ClientAnimatorThrottlingMode ClientAnimatorThrottling = ClientAnimatorThrottlingMode.Default; - public string CollisionGroups = "Default^0^1"; + public byte[] CollisionGroupData = Convert.FromBase64String("AQEABP////8HRGVmYXVsdA=="); public Camera CurrentCamera; public double DistributedGameTime = 0; + public bool EnableFluidForces; public bool ExplicitAutoJoints = true; public float FallenPartsDestroyHeight = -500; public Vector3 GlobalWind = Vector3.zero; public float Gravity = 196.2f; public HumanoidOnlySetCollisionsOnStateChange HumanoidOnlySetCollisionsOnStateChange = HumanoidOnlySetCollisionsOnStateChange.Default; + public IKControlConstraintSupport IKControlConstraintSupport = IKControlConstraintSupport.Default; public InterpolationThrottlingMode InterpolationThrottling = InterpolationThrottlingMode.Default; public MeshPartHeadsAndAccessories MeshPartHeadsAndAccessories = MeshPartHeadsAndAccessories.Default; + public ModelStreamingBehavior ModelStreamingBehavior = ModelStreamingBehavior.Default; public PhysicsSteppingMethod PhysicsSteppingMethod = PhysicsSteppingMethod.Default; + public RejectCharacterDeletions RejectCharacterDeletions = RejectCharacterDeletions.Default; public ReplicateInstanceDestroySetting ReplicateInstanceDestroySetting = ReplicateInstanceDestroySetting.Default; public AnimatorRetargetingMode Retargeting = AnimatorRetargetingMode.Default; - public SignalBehavior SignalBehavior = SignalBehavior.Default; + public SignalBehavior SignalBehavior2 = SignalBehavior.Default; public StreamOutBehavior StreamOutBehavior = StreamOutBehavior.Default; public bool StreamingEnabled; public StreamingIntegrityMode StreamingIntegrityMode = StreamingIntegrityMode.Default; public int StreamingMinRadius = 64; - public StreamingPauseMode StreamingPauseMode = StreamingPauseMode.Default; public int StreamingTargetRadius = 1024; public bool TerrainWeldsFixed = true; public bool TouchesUseCollisionGroups; - public UnionsScaleNonuniformly UnionsScaleNonuniformly = UnionsScaleNonuniformly.Default; } public class WorldModel : WorldRoot @@ -3263,6 +3391,7 @@ namespace RobloxFiles public class PackageLink : Instance { public bool AutoUpdate; + public int ModifiedState = 0; public Content PackageIdSerialize = ""; public long VersionIdSerialize = 0; } @@ -3330,9 +3459,18 @@ namespace RobloxFiles set => SpreadAngle = new Vector2(value, value); } + public bool WindAffectsDrag; public float ZOffset = 0; } + public class PatchBundlerFileWatch : Instance + { + public PatchBundlerFileWatch() + { + IsService = true; + } + } + public class PathfindingLink : Instance { public Attachment Attachment0; @@ -3374,6 +3512,22 @@ namespace RobloxFiles } } + public class PlaceStatsService : Instance + { + public PlaceStatsService() + { + IsService = true; + } + } + + public class PlacesService : Instance + { + public PlacesService() + { + IsService = true; + } + } + public class PlayerEmulatorService : Instance { public PlayerEmulatorService() @@ -3619,6 +3773,7 @@ namespace RobloxFiles public int ExplorerOrder = int.MaxValue; public bool Insertable = true; public string PreferredParent = ""; + public ServiceVisibility ServiceVisibility = ServiceVisibility.Always; } public class ReflectionMetadataEnum : ReflectionMetadataItem @@ -3641,6 +3796,14 @@ namespace RobloxFiles { } + public class RemoteCursorService : Instance + { + public RemoteCursorService() + { + IsService = true; + } + } + public class RemoteDebuggerServer : Instance { public RemoteDebuggerServer() @@ -3665,9 +3828,11 @@ namespace RobloxFiles public float ComparisonPsnrThreshold = 50; public string Description = ""; public float FieldOfView = 70; + public bool PerfTest; public int QualityLevel = 21; public bool ShouldSkip; public string Ticket = ""; + public int Timeout = 10; } public class ReplicatedFirst : Instance @@ -3702,6 +3867,14 @@ namespace RobloxFiles } } + public class RomarkService : Instance + { + public RomarkService() + { + IsService = true; + } + } + public class RotationCurve : Instance { public byte[] ValuesAndTimes = Convert.FromBase64String("AAAAAAEAAAAKAAAAAAAAFkUAAAAA"); @@ -3723,6 +3896,14 @@ namespace RobloxFiles } } + public class SafetyService : Instance + { + public SafetyService() + { + IsService = true; + } + } + public class ScriptChangeService : Instance { public ScriptChangeService() @@ -3739,6 +3920,14 @@ namespace RobloxFiles } } + public class ScriptCommitService : Instance + { + public ScriptCommitService() + { + IsService = true; + } + } + public class ScriptContext : Instance { public ScriptContext() @@ -3785,6 +3974,38 @@ namespace RobloxFiles } } + public class SelectionHighlightManager : Instance + { + public SelectionHighlightManager() + { + IsService = true; + } + } + + public abstract class SensorBase : Instance + { + public SensorUpdateType UpdateType = SensorUpdateType.OnRead; + } + + public class BuoyancySensor : SensorBase + { + public bool FullySubmerged; + public bool TouchingSurface; + } + + public abstract class ControllerSensor : SensorBase + { + } + + public class ControllerPartSensor : ControllerSensor + { + public CFrame HitFrame = CFrame.identity; + public Vector3 HitNormal = Vector3.zero; + public float SearchDistance = 0; + public BasePart SensedPart; + public SensorMode SensorMode = SensorMode.Floor; + } + public class ServerScriptService : Instance { public ServerScriptService() @@ -3803,6 +4024,16 @@ namespace RobloxFiles } } + public class ServiceVisibilityService : Instance + { + public ServiceVisibilityService() + { + IsService = true; + } + + public byte[] VisibleServices; + } + public class SessionService : Instance { public SessionService() @@ -3811,6 +4042,14 @@ namespace RobloxFiles } } + public class SharedTableRegistry : Instance + { + public SharedTableRegistry() + { + IsService = true; + } + } + public class ShorelineUpgraderService : Instance { public ShorelineUpgraderService() @@ -3864,6 +4103,14 @@ namespace RobloxFiles public float size_xml = 1; } + public class SmoothVoxelsUpgraderService : Instance + { + public SmoothVoxelsUpgraderService() + { + IsService = true; + } + } + public class SnippetService : Instance { public SnippetService() @@ -3886,13 +4133,6 @@ namespace RobloxFiles public NumberRange LoopRegion = new NumberRange(0, 60000); public bool Looped; - [Obsolete] - public float MaxDistance - { - get => xmlRead_MaxDistance_3; - set => xmlRead_MaxDistance_3 = value; - } - [Obsolete] public float MinDistance { @@ -3949,10 +4189,6 @@ namespace RobloxFiles public float Threshold = -40; } - public abstract class CustomSoundEffect : SoundEffect - { - } - public class DistortionSoundEffect : SoundEffect { public float Level = 0.75f; @@ -4042,14 +4278,6 @@ namespace RobloxFiles } } - public class Speaker : Instance - { - public RollOffMode RollOffMode = RollOffMode.Inverse; - public SoundGroup SoundGroup; - public Instance Source; - public float Volume = 0.5f; - } - public class StandalonePluginScripts : Instance { } @@ -4139,6 +4367,10 @@ namespace RobloxFiles } } + public class StudioCallout : Instance + { + } + public class StudioData : Instance { public StudioData() @@ -4146,9 +4378,6 @@ namespace RobloxFiles IsService = true; } - public long CommitInflightAuthorId = 0; - public string CommitInflightGuid = ""; - public int CommitInflightPlaceVersion = 0; public bool EnableScriptCollabByDefaultOnLoad; } @@ -4160,12 +4389,12 @@ namespace RobloxFiles } } - public class StudioHighDpiService : Instance + public class StudioObjectBase : Instance + { + } + + public class StudioWidget : StudioObjectBase { - public StudioHighDpiService() - { - IsService = true; - } } public class StudioPublishService : Instance @@ -4176,6 +4405,14 @@ namespace RobloxFiles } } + public class StudioSdkService : Instance + { + public StudioSdkService() + { + IsService = true; + } + } + public class StudioService : Instance { public StudioService() @@ -4184,6 +4421,40 @@ namespace RobloxFiles } } + public abstract class StyleBase : Instance + { + } + + public class StyleRule : StyleBase + { + public int Index = 0; + public byte[] PropertiesSerialize; + public string Selector = ""; + } + + public class StyleSheet : StyleBase + { + } + + public class StyleDerive : Instance + { + public int Index = 0; + public StyleSheet StyleSheet; + } + + public class StyleLink : Instance + { + public StyleSheet StyleSheet; + } + + public class StylingService : Instance + { + public StylingService() + { + IsService = true; + } + } + public class SurfaceAppearance : Instance { public AlphaMode AlphaMode = AlphaMode.Overlay; @@ -4207,6 +4478,22 @@ namespace RobloxFiles public BrickColor TeamColor = BrickColor.FromNumber(1); } + public class TeamCreateData : Instance + { + public TeamCreateData() + { + IsService = true; + } + } + + public class TeamCreatePublishService : Instance + { + public TeamCreatePublishService() + { + IsService = true; + } + } + public class TeamCreateService : Instance { public TeamCreateService() @@ -4241,14 +4528,6 @@ namespace RobloxFiles public bool CustomizedTeleportUI; } - public class TemporaryCageMeshProvider : Instance - { - public TemporaryCageMeshProvider() - { - IsService = true; - } - } - public class TemporaryScriptService : Instance { public TemporaryScriptService() @@ -4273,7 +4552,6 @@ namespace RobloxFiles { public Vector3int16 ExtentsMax = new Vector3int16(); public Vector3int16 ExtentsMin = new Vector3int16(); - public byte[] GridV3 = Array.Empty(); public byte[] SmoothGrid = Convert.FromBase64String("AQU="); } @@ -4329,8 +4607,10 @@ namespace RobloxFiles public Font Font = Font.GothamMedium; public FontFace FontFace = FontFace.FromEnum(Enums.Font.GothamMedium); public Vector3 LocalPlayerStudsOffset = Vector3.zero; + public float MaxBubbles = 3; public float MaxDistance = 100; public float MinimizeDistance = 40; + public bool TailVisible = true; public Color3 TextColor3 = Color3.FromRGB(57, 59, 61); public long TextSize = 16; public float VerticalStudsOffset = 0; @@ -4342,6 +4622,7 @@ namespace RobloxFiles public double BackgroundTransparency = 0.2; public bool Enabled = true; public FontFace FontFace = FontFace.FromEnum(Enums.Font.GothamMedium); + public KeyCode KeyboardKeyCode = KeyCode.Slash; public Color3 PlaceholderColor3 = Color3.FromRGB(178, 178, 178); public TextChannel TargetTextChannel; public Color3 TextColor3 = new Color3(1, 1, 1); @@ -4442,6 +4723,14 @@ namespace RobloxFiles public NumberSequence WidthScale = new NumberSequence(1); } + public class TutorialService : Instance + { + public TutorialService() + { + IsService = true; + } + } + public abstract class TweenBase : Instance { } @@ -4458,6 +4747,14 @@ namespace RobloxFiles } } + public class UGCAvatarService : Instance + { + public UGCAvatarService() + { + IsService = true; + } + } + public class UGCValidationService : Instance { public UGCValidationService() @@ -4609,6 +4906,7 @@ namespace RobloxFiles public bool LegacyInputEventsEnabled = true; public MouseBehavior MouseBehavior = MouseBehavior.Default; + public Content MouseIcon = ""; public bool MouseIconEnabled = true; } @@ -4747,6 +5045,14 @@ namespace RobloxFiles } } + public class VideoService : Instance + { + public VideoService() + { + IsService = true; + } + } + public class VirtualInputManager : Instance { public VirtualInputManager() @@ -4795,20 +5101,12 @@ namespace RobloxFiles } public bool EnableDefaultVoice = true; + public bool UseNewJoinFlow; } public class WeldConstraint : Instance { public CFrame CFrame0 = CFrame.identity; - public CFrame CFrame1 = CFrame.identity; - - public bool Enabled - { - get => EnabledInternal; - set => EnabledInternal = value; - } - - public bool EnabledInternal = true; public BasePart Part0 { diff --git a/Generated/Enums.cs b/Generated/Enums.cs index 71efac1..e428c6c 100644 --- a/Generated/Enums.cs +++ b/Generated/Enums.cs @@ -1,5 +1,5 @@ // Auto-generated list of Roblox enums. -// Updated as of 0.554.1.5540506 +// Updated as of 0.586.0.5860000 namespace RobloxFiles.Enums { @@ -100,6 +100,12 @@ namespace RobloxFiles.Enums ScaleWithParentSize } + public enum AudioSubType + { + Music = 1, + SoundEffect + } + public enum AutomaticSize { None, @@ -108,6 +114,13 @@ namespace RobloxFiles.Enums XY } + public enum AvatarUnificationMode + { + Default, + Disabled, + Enabled + } + public enum Axis { X, @@ -250,6 +263,26 @@ namespace RobloxFiles.Enums Height } + public enum DragDetectorDragStyle + { + TranslateLine, + TranslatePlane, + TranslatePlaneOrLine, + TranslateLineOrPlane, + TranslateViewPlane, + RotateAxis, + RotateTrackball, + Scriptable, + BestForDevice + } + + public enum DragDetectorResponseStyle + { + Geometric, + Physical, + Custom + } + public enum EasingDirection { In, @@ -387,6 +420,12 @@ namespace RobloxFiles.Enums Heavy = 900 } + public enum ForceLimitMode + { + Magnitude, + PerAxis + } + public enum FormFactor { Symmetric, @@ -473,6 +512,13 @@ namespace RobloxFiles.Enums LuaStateMachine } + public enum IKControlConstraintSupport + { + Default, + Disabled, + Enabled + } + public enum IKControlType { Transform, @@ -767,13 +813,6 @@ namespace RobloxFiles.Enums Right } - public enum LevelOfDetailSetting - { - Low, - Medium, - High - } - public enum LineJoinMode { Round, @@ -872,11 +911,20 @@ namespace RobloxFiles.Enums Disabled } + public enum ModelStreamingBehavior + { + Default, + Legacy, + Improved + } + public enum ModelStreamingMode { Default, Atomic, - Persistent + Persistent, + PersistentPerPlayer, + Nonatomic } public enum MouseBehavior @@ -893,13 +941,6 @@ namespace RobloxFiles.Enums OccludeAll } - public enum NewAnimationRuntimeSetting - { - Default, - Disabled, - Enabled - } - public enum NormalId { Right, @@ -920,7 +961,9 @@ namespace RobloxFiles.Enums { Ball, Block, - Cylinder + Cylinder, + Wedge, + CornerWedge } public enum ParticleEmitterShape @@ -1016,6 +1059,13 @@ namespace RobloxFiles.Enums InnerBox } + public enum RejectCharacterDeletions + { + Default, + Disabled, + Enabled + } + public enum RenderFidelity { Automatic, @@ -1088,6 +1138,13 @@ namespace RobloxFiles.Enums ZYX } + public enum RtlTextSupport + { + Default, + Disabled, + Enabled + } + public enum RunContext { Legacy, @@ -1147,6 +1204,25 @@ namespace RobloxFiles.Enums Stop } + public enum SensorMode + { + Floor, + Ladder + } + + public enum SensorUpdateType + { + OnRead, + Manual + } + + public enum ServiceVisibility + { + Always, + Off, + WithChildren + } + public enum SignalBehavior { Default, @@ -1192,13 +1268,6 @@ namespace RobloxFiles.Enums PauseOutsideLoadedArea } - public enum StreamingPauseMode - { - Default, - Disabled, - ClientPhysicsPause - } - public enum Style { AlternatingSupports, @@ -1264,6 +1333,13 @@ namespace RobloxFiles.Enums Bottom } + public enum TextDirection + { + Auto, + LeftToRight, + RightToLeft + } + public enum TextTruncate { None, @@ -1305,13 +1381,6 @@ namespace RobloxFiles.Enums False } - public enum UnionsScaleNonuniformly - { - Default, - Disabled, - Enabled - } - public enum VelocityConstraintMode { Line, diff --git a/Plugins/GenerateApiDump/PropertyPatches.lua b/Plugins/GenerateApiDump/PropertyPatches.lua index 1605357..e415b2f 100644 --- a/Plugins/GenerateApiDump/PropertyPatches.lua +++ b/Plugins/GenerateApiDump/PropertyPatches.lua @@ -8,10 +8,8 @@ export type GetSet = string | { } export type Patch = { - Add: { [string]: string }?, Redirect: { [string]: GetSet }?, Defaults: { [string]: any }?, - Remove: { string }?, } -- strict type reaffirmation? @@ -28,18 +26,6 @@ local function UseColor3(propName: string): GetSet } end -local function TryDefineEnum(enumName: string): string? - local gotEnum, enum = pcall(function() - return (Enum :: any)[enumName] :: Enum - end) - - if gotEnum then - return "Enum:" .. tostring(enum) - end - - return nil -end - local function TryGetEnumItem(enumName, itemName): EnumItem? local gotEnum, enum = pcall(function() return (Enum :: any)[enumName] :: Enum @@ -59,8 +45,6 @@ local function TryGetEnumItem(enumName, itemName): EnumItem? end local GuiTextMixIn: Patch = { - Add = { Transparency = "float" }, - Redirect = { Font = GetSet({ Get = "FontUtility.GetLegacyFont(FontFace)", @@ -87,20 +71,6 @@ local GuiTextMixIn: Patch = { local PropertyPatches: { [string]: Patch } = { AnimationRigData = { - Add = { - name = "BinaryString", - label = "BinaryString", - parent = "BinaryString", - weight = "BinaryString", - transform = "BinaryString", - facsControl = "BinaryString", - preTransform = "BinaryString", - postTransform = "BinaryString", - articulatedJoint = "BinaryString", - endEffectorRotationConstraint = "BinaryString", - endEffectorTranslationConstraint = "BinaryString", - }, - Defaults = { name = "AQAAAAEAAAAAAAAA", label = "AQAAAAEAAAAAAAAA", @@ -111,33 +81,23 @@ local PropertyPatches: { [string]: Patch } = { postTransform = "AQAAAAEAAAAAAIA/AAAAAAAAAAAAAAAAAACAPwAAAAAAAAAAAAAAAAAAgD8AAAAAAAAAAAAAAAA=", weight = "AQAAAAAAAAA=", - facsControl = "AQAAAAAAAAA=", - articulatedJoint = "AQAAAAAAAAA=", - endEffectorRotationConstraint = "AQAAAAAAAAA=", - endEffectorTranslationConstraint = "AQAAAAAAAAA=", + }, + }, + + AudioSearchParams = { + Redirect = { + AudioSubtype = GetSet("AudioSubType"), }, }, BallSocketConstraint = { -- Why does this even exist? - Add = { - MaxFrictionTorqueXml = "float", - MaxFrictionTorque = "float", - }, - Redirect = { MaxFrictionTorque = GetSet("MaxFrictionTorqueXml"), }, }, BasePart = { - Add = { - MaterialVariantSerialized = "string", - MaterialVariant = "string", - Color3uint8 = "Color3uint8", - size = "Vector3", - }, - Redirect = { Position = GetSet({ Get = "CFrame.Position", @@ -157,22 +117,6 @@ local PropertyPatches: { [string]: Patch } = { }, }, - BaseScript = { - Remove = { "LinkedSource" }, - }, - - BevelMesh = { - Add = { - Bevel = "float", - Bevel_Roundness = "float", - Bulge = "float", - }, - }, - - BinaryStringValue = { - Add = { Value = "BinaryString" }, - }, - BodyColors = { Redirect = { HeadColor = UseColor3("HeadColor3"), @@ -196,22 +140,6 @@ local PropertyPatches: { [string]: Patch } = { Redirect = { CoordinateFrame = GetSet("CFrame") }, }, - CustomEvent = { - Add = { PersistedCurrentValue = "float" }, - }, - - DataModelMesh = { - Add = { - LODX = TryDefineEnum("LevelOfDetailSetting"), - LODY = TryDefineEnum("LevelOfDetailSetting"), - }, - - Defaults = { - LODX = TryGetEnumItem("LevelOfDetailSetting", "High"), - LODY = TryGetEnumItem("LevelOfDetailSetting", "High"), - }, - }, - DataStoreService = { Defaults = { AutomaticRetry = true, @@ -220,8 +148,6 @@ local PropertyPatches: { [string]: Patch } = { }, DoubleConstrainedValue = { - Add = { value = "double" }, - Redirect = { Value = GetSet("value"), ConstrainedValue = GetSet("value"), @@ -229,11 +155,6 @@ local PropertyPatches: { [string]: Patch } = { }, Fire = { - Add = { - heat_xml = "float", - size_xml = "float", - }, - Defaults = { heat_xml = 9, size_xml = 5, @@ -246,15 +167,10 @@ local PropertyPatches: { [string]: Patch } = { }, FloatCurve = { - Add = { ValuesAndTimes = "BinaryString" }, Defaults = { ValuesAndTimes = "AAAAAAEAAAAKAAAAAAAAFkUAAAAA" }, }, FormFactorPart = { - Add = { - formFactorRaw = TryDefineEnum("FormFactor"), - }, - Defaults = { formFactorRaw = TryGetEnumItem("FormFactor", "Brick"), }, @@ -265,7 +181,6 @@ local PropertyPatches: { [string]: Patch } = { }, FunctionalTest = { - Add = { HasMigratedSettingsToTestService = "bool" }, Defaults = { HasMigratedSettingsToTestService = false }, }, @@ -285,24 +200,11 @@ local PropertyPatches: { [string]: Patch } = { }, }, - HiddenSurfaceRemovalAsset = { - Add = { - HSRData = "BinaryString", - HSRMeshIdData = "BinaryString", - }, - }, - HttpService = { Defaults = { HttpEnabled = false }, }, Humanoid = { - Add = { - Health_XML = "float", - InternalHeadScale = "float", - InternalBodyScale = "Vector3", - }, - Defaults = { Health_XML = 100, InternalHeadScale = 1, @@ -312,21 +214,9 @@ local PropertyPatches: { [string]: Patch } = { Redirect = { Health = GetSet("Health_XML"), }, - - Remove = { - "Jump", - "Torso", - "LeftLeg", - "RightLeg", - }, }, HumanoidDescription = { - Add = { - EmotesDataInternal = "string", - EquippedEmotesDataInternal = "string", - }, - Defaults = { AccessoryBlob = "[]", EmotesDataInternal = "[]", @@ -335,13 +225,10 @@ local PropertyPatches: { [string]: Patch } = { }, InsertService = { - Add = { AllowClientInsertModels = "bool" }, Defaults = { AllowClientInsertModels = false }, }, IntConstrainedValue = { - Add = { value = "int64" }, - Redirect = { Value = GetSet("value"), ConstrainedValue = GetSet("value"), @@ -349,17 +236,12 @@ local PropertyPatches: { [string]: Patch } = { }, Lighting = { - Add = { - Technology = TryDefineEnum("Technology"), - }, - Defaults = { Technology = TryGetEnumItem("Technology", "Compatibility"), }, }, LocalizationTable = { - Add = { Contents = "string" }, Defaults = { Contents = "[]" }, Redirect = { @@ -367,32 +249,11 @@ local PropertyPatches: { [string]: Patch } = { }, }, - LocalScript = { - Remove = { - "LinkedSource", - "Source", - }, - }, - - LuaSourceContainer = { - Add = { - LinkedSource = "Content", - ScriptGuid = "string", - Source = "ProtectedString", - }, - }, - MarkerCurve = { - Add = { ValuesAndTimes = "BinaryString" }, Defaults = { ValuesAndTimes = "AAAAAAEAAAAKAAAAAAAAFkUAAAAA" }, }, MaterialService = { - Add = { - Use2022Materials = "bool", - Use2022MaterialsXml = "bool", - }, - Redirect = { Use2022Materials = GetSet("Use2022MaterialsXml") }, Defaults = { @@ -431,47 +292,20 @@ local PropertyPatches: { [string]: Patch } = { }, }, - MaterialVariant = { - Add = { - TexturePack0 = "Content", - TexturePack1 = "Content", - }, - }, - MeshPart = { - Add = { VertexCount = "int" }, Defaults = { VertexCount = 0 }, Redirect = { MeshID = GetSet("MeshId") }, }, Model = { - Add = { - ModelMeshCFrame = "CFrame", - ModelMeshData = "SharedString", - ModelMeshSize = "Vector3", - NeedsPivotMigration = "bool", - WorldPivotData = "Optional", - }, - }, - - ModuleScript = { - Remove = { - "LinkedSource", - "Source", - }, + Defaults = { ScaleFactor = 1 }, }, PackageLink = { - Add = { - VersionIdSerialize = "int64", - PackageIdSerialize = "Content", - }, - Defaults = { AutoUpdate = false }, }, Part = { - Add = { shape = TryDefineEnum("PartType") }, Redirect = { Shape = GetSet("shape") }, }, @@ -485,38 +319,14 @@ local PropertyPatches: { [string]: Patch } = { }, PartOperation = { - Add = { - AssetId = "Content", - - ChildData = "BinaryString", - ChildData2 = "SharedString", - - MeshData = "BinaryString", - MeshData2 = "SharedString", - - FormFactor = TryDefineEnum("FormFactor"), - }, - Defaults = { FormFactor = Enum.FormFactor.Custom }, }, - PartOperationAsset = { - Add = { - ChildData = "BinaryString", - MeshData = "BinaryString", - }, - }, - Players = { Defaults = { MaxPlayersInternal = 16 }, }, PolicyService = { - Add = { - IsLuobuServer = TryDefineEnum("TriStateBoolean"), - LuobuWhitelisted = TryDefineEnum("TriStateBoolean"), - }, - Defaults = { IsLuobuServer = TryGetEnumItem("TriStateBoolean", "Unknown"), LuobuWhitelisted = TryGetEnumItem("TriStateBoolean", "Unknown"), @@ -524,7 +334,6 @@ local PropertyPatches: { [string]: Patch } = { }, RotationCurve = { - Add = { ValuesAndTimes = "BinaryString" }, Defaults = { ValuesAndTimes = "AAAAAAEAAAAKAAAAAAAAFkUAAAAA" }, }, @@ -540,27 +349,7 @@ local PropertyPatches: { [string]: Patch } = { Defaults = { LoadStringEnabled = false }, }, - Script = { - Remove = { - "LinkedSource", - "Source", - }, - }, - - ScriptDebugger = { - Add = { - CoreScriptIdentifier = "string", - ScriptGuid = "string", - }, - }, - Smoke = { - Add = { - size_xml = "float", - opacity_xml = "float", - riseVelocity_xml = "float", - }, - Defaults = { size_xml = 1, opacity_xml = 0.5, @@ -575,12 +364,6 @@ local PropertyPatches: { [string]: Patch } = { }, Sound = { - Add = { - MaxDistance = "float", -- ?! - xmlRead_MaxDistance_3 = "float", - xmlRead_MinDistance_3 = "float", - }, - Defaults = { xmlRead_MinDistance_3 = 10, xmlRead_MaxDistance_3 = 10000, @@ -600,10 +383,6 @@ local PropertyPatches: { [string]: Patch } = { }, StarterPlayer = { - Add = { - LoadCharacterLayeredClothing = "Enum:LoadCharacterLayeredClothing", - }, - Defaults = { GameSettingsAvatar = Enum.GameAvatarType.R15, GameSettingsR15Collision = Enum.R15CollisionType.OuterBox, @@ -617,14 +396,6 @@ local PropertyPatches: { [string]: Patch } = { }, }, - StudioData = { - Add = { - CommitInflightGuid = "string", - CommitInflightAuthorId = "int64", - CommitInflightPlaceVersion = "int", - }, - }, - SurfaceAppearance = { Defaults = { AlphaMode = Enum.AlphaMode.Overlay }, }, @@ -634,13 +405,6 @@ local PropertyPatches: { [string]: Patch } = { TextButton = GuiTextMixIn, Terrain = { - Add = { - AcquisitionMethod = TryDefineEnum("TerrainAcquisitionMethod"), - ClusterGridV3 = "BinaryString", - PhysicsGrid = "BinaryString", - SmoothGrid = "BinaryString", - }, - Defaults = { Decoration = false, SmoothGrid = "AQU=", @@ -650,19 +414,7 @@ local PropertyPatches: { [string]: Patch } = { }, }, - TerrainDetail = { - Add = { TexturePack = "Content" }, - }, - TerrainRegion = { - Add = { - ExtentsMax = "Vector3int16", - ExtentsMin = "Vector3int16", - - GridV3 = "BinaryString", - SmoothGrid = "BinaryString", - }, - Defaults = { ExtentsMax = Vector3int16.new(), ExtentsMin = Vector3int16.new(), @@ -680,13 +432,6 @@ local PropertyPatches: { [string]: Patch } = { }, TriangleMeshPart = { - Add = { - InitialSize = "Vector3", - LODData = "BinaryString", - PhysicsData = "BinaryString", - PhysicalConfigData = "SharedString", - }, - Defaults = { InitialSize = Vector3.new(1, 1, 1), PhysicalConfigData = "1B2M2Y8AsgTpgAmY7PhCfg==", @@ -694,13 +439,10 @@ local PropertyPatches: { [string]: Patch } = { }, TrussPart = { - Add = { style = TryDefineEnum("Style") }, Redirect = { Style = GetSet("style") }, }, UnvalidatedAssetService = { - Add = { CachedData = "string" }, - Defaults = { CachedData = HttpService:JSONEncode({ users = {}, @@ -711,39 +453,19 @@ local PropertyPatches: { [string]: Patch } = { }, UserInputService = { - Add = { LegacyInputEventsEnabled = "bool" }, Defaults = { LegacyInputEventsEnabled = true }, }, ViewportFrame = { - Add = { - CameraCFrame = "CFrame", - CameraFieldOfView = "float", - }, - Defaults = { - CameraCFrame = CFrame.new(), + CameraCFrame = CFrame.identity, CameraFieldOfView = 70, }, }, WeldConstraint = { - Add = { - Part0Internal = "Class:BasePart", - Part1Internal = "Class:BasePart", - - EnabledInternal = "bool", - State = "int", - - CFrame0 = "CFrame", - CFrame1 = "CFrame", - }, - Defaults = { - CFrame0 = CFrame.new(), - CFrame1 = CFrame.new(), - - EnabledInternal = true, + CFrame0 = CFrame.identity, State = 3, Part0 = Instance.new("Part"), @@ -753,29 +475,12 @@ local PropertyPatches: { [string]: Patch } = { Redirect = { Part0 = GetSet("Part0Internal"), Part1 = GetSet("Part1Internal"), - Enabled = GetSet("EnabledInternal"), }, }, Workspace = { - Add = { - CollisionGroups = "string", - - ExplicitAutoJoints = "bool", - TerrainWeldsFixed = "bool", - - StreamingMinRadius = "int", - StreamingTargetRadius = "int", - - MeshPartHeads = TryDefineEnum("MeshPartHeads"), - SignalBehavior = TryDefineEnum("SignalBehavior"), - StreamingPauseMode = TryDefineEnum("StreamingPauseMode"), - PhysicsSteppingMethod = TryDefineEnum("PhysicsSteppingMethod"), - MeshPartHeadsAndAccessories = TryDefineEnum("MeshPartHeadsAndAccessories"), - }, - Defaults = { - CollisionGroups = "Default^0^1", + CollisionGroupData = "AQEABP////8HRGVmYXVsdA==", TouchesUseCollisionGroups = false, ExplicitAutoJoints = true, diff --git a/Plugins/GenerateApiDump/init.server.lua b/Plugins/GenerateApiDump/init.server.lua index 4af52a2..4223d29 100644 --- a/Plugins/GenerateApiDump/init.server.lua +++ b/Plugins/GenerateApiDump/init.server.lua @@ -173,33 +173,6 @@ local function collectProperties(class) return propMap end -local function createProperty(propName, propType) - local category = "DataType" - local name = propType - - if propType:find(":") then - local data = string.split(propType, ":") - category = data[1] - name = data[2] - end - - return { - Name = propName, - - Serialization = { - CanSave = true, - CanLoad = true, - }, - - ValueType = { - Category = category, - Name = name, - }, - - Security = "None", - } -end - --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -- Formatting --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- @@ -222,6 +195,7 @@ local formatLinks = { ["Color3uint8"] = "Color3", ["ProtectedString"] = "String", + ["OptionalCoordinateFrame"] = "Optional", } local function getFormatFunction(valueType: string): FormatFunc @@ -294,7 +268,7 @@ local function generateClasses() local env = getfenv() local version = getAsync(baseUrl .. "version.txt") - local apiDump = getAsync(baseUrl .. "API-Dump.json") + local apiDump = getAsync(baseUrl .. "Full-API-Dump.json") apiDump = HttpService:JSONDecode(apiDump) local classNames = {} @@ -306,6 +280,7 @@ local function generateClasses() FontSize = true, FontStyle = true, FontWeight = true, + AdPortalType = true, } for _, class in ipairs(apiDump.Classes) do @@ -366,6 +341,7 @@ local function generateClasses() writeLine() writeLine("#pragma warning disable IDE1006 // Naming Styles") + writeLine("#pragma warning disable CS0612 // Type or member is obsolete") writeLine() writeLine("namespace RobloxFiles") @@ -430,14 +406,17 @@ local function generateClasses() local propMap = collectProperties(class) local propNames = {} + --[[ for _, propName in pairs(classPatches.Remove) do propMap[propName] = nil end + ]] for propName in pairs(propMap) do table.insert(propNames, propName) end + --[[ for propName, propType in pairs(classPatches.Add) do local prop = propMap[propName] @@ -450,6 +429,7 @@ local function generateClasses() table.insert(propNames, propName) end end + ]] local firstLine = true class.PropertyMap = propMap @@ -569,7 +549,11 @@ local function generateClasses() local default = "" if propName == className then - name = name .. "_" + name ..= "_" + end + + if name:find(" ") then + name = name:gsub(" ", "_") end if valueType == "int64" then @@ -578,6 +562,8 @@ local function generateClasses() valueType = "byte[]" elseif valueType == "Font" and category ~= "Enum" then valueType = "FontFace" + elseif valueType == "OptionalCoordinateFrame" then + valueType = "Optional" end local first = name:sub(1, 1) diff --git a/RobloxFileFormat.dll b/RobloxFileFormat.dll index da4e79a..5ccda3c 100644 Binary files a/RobloxFileFormat.dll and b/RobloxFileFormat.dll differ