From 3aa380a95bc9b37672bce1a404d90534e3fbe42d Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 5 Jun 2021 17:22:53 -0500 Subject: [PATCH] 0.481.1.423973 --- Generated/Classes.cs | 80 +++++++++++++++++++++--- Generated/Enums.cs | 23 ++++++- Plugins/GenerateApiDump.rbxm | Bin 15930 -> 16123 bytes Plugins/GenerateApiDump/init.server.lua | 18 ++++++ 4 files changed, 110 insertions(+), 11 deletions(-) diff --git a/Generated/Classes.cs b/Generated/Classes.cs index 29e25c7..6a59b1e 100644 --- a/Generated/Classes.cs +++ b/Generated/Classes.cs @@ -1,5 +1,5 @@ // Auto-generated list of creatable Roblox classes. -// Updated as of 0.476.0.421371 +// Updated as of 0.481.1.423973 using System; @@ -192,6 +192,7 @@ namespace RobloxFiles public ScreenOrientation ScreenOrientation = ScreenOrientation.LandscapeSensor; public bool ShowDevelopmentGui = true; + public VirtualCursorMode VirtualCursorMode = VirtualCursorMode.Default; } public abstract class BaseWrap : Instance @@ -943,6 +944,14 @@ namespace RobloxFiles { } + public class DraggerService : Instance + { + public DraggerService() + { + IsService = true; + } + } + public class EventIngestService : Instance { public EventIngestService() @@ -1454,6 +1463,7 @@ namespace RobloxFiles public bool Active; public Instance Adornee; public bool AlwaysOnTop; + public float Brightness = 1; public bool ClipsDescendants; public float DistanceLowerLimit; public float DistanceStep; @@ -1484,6 +1494,7 @@ namespace RobloxFiles public bool Active = true; public Instance Adornee; public bool AlwaysOnTop; + public float Brightness = 1; public Vector2 CanvasSize = new Vector2(800, 600); public bool ClipsDescendants; public NormalId Face = NormalId.Front; @@ -1737,6 +1748,7 @@ namespace RobloxFiles public class HumanoidDescription : Instance { + public string AccessoryBlob = ""; public string BackAccessory = ""; public float BodyTypeScale = 0.3f; public long ClimbAnimation; @@ -2158,13 +2170,27 @@ namespace RobloxFiles public abstract class BasePart : PVInstance { public bool Anchored; + + [Obsolete] public float BackParamA = -0.5f; + + [Obsolete] public float BackParamB = 0.5f; + public SurfaceType BackSurface = SurfaceType.Smooth; + + [Obsolete] public InputType BackSurfaceInput = InputType.NoInput; + + [Obsolete] public float BottomParamA = -0.5f; + + [Obsolete] public float BottomParamB = 0.5f; + public SurfaceType BottomSurface = SurfaceType.Smooth; + + [Obsolete] public InputType BottomSurfaceInput = InputType.NoInput; public BrickColor BrickColor @@ -2194,14 +2220,28 @@ namespace RobloxFiles [Obsolete] public float Friction = 0.3f; + [Obsolete] public float FrontParamA = -0.5f; + + [Obsolete] public float FrontParamB = 0.5f; + public SurfaceType FrontSurface = SurfaceType.Smooth; + + [Obsolete] public InputType FrontSurfaceInput = InputType.NoInput; + + [Obsolete] public float LeftParamA = -0.5f; + + [Obsolete] public float LeftParamB = 0.5f; + public SurfaceType LeftSurface = SurfaceType.Smooth; + + [Obsolete] public InputType LeftSurfaceInput = InputType.NoInput; + public bool Locked; public bool Massless; public Material Material = Material.Plastic; @@ -2214,10 +2254,18 @@ namespace RobloxFiles } public float Reflectance; + + [Obsolete] public float RightParamA = -0.5f; + + [Obsolete] public float RightParamB = 0.5f; + public SurfaceType RightSurface = SurfaceType.Smooth; + + [Obsolete] public InputType RightSurfaceInput = InputType.NoInput; + public int RootPriority; [Obsolete] @@ -2229,10 +2277,17 @@ namespace RobloxFiles set => size = value; } + [Obsolete] public float TopParamA = -0.5f; + + [Obsolete] public float TopParamB = 0.5f; + public SurfaceType TopSurface = SurfaceType.Smooth; + + [Obsolete] public InputType TopSurfaceInput = InputType.NoInput; + public float Transparency; [Obsolete] @@ -2427,13 +2482,17 @@ namespace RobloxFiles } public bool AllowThirdPartySales; + public NewAnimationRuntimeSetting AnimationWeightedBlendFix = NewAnimationRuntimeSetting.Default; public ClientAnimatorThrottlingMode ClientAnimatorThrottling = ClientAnimatorThrottlingMode.Default; public string CollisionGroups = "Default^0^1"; public Camera CurrentCamera; public double DistributedGameTime; public bool ExplicitAutoJoints = true; public float FallenPartsDestroyHeight = -500; - public bool FilteringEnabled; + + [Obsolete] + public bool FilteringEnabled = true; + public float Gravity = 196.2f; public InterpolationThrottlingMode InterpolationThrottling = InterpolationThrottlingMode.Default; public MeshPartHeadsAndAccessories MeshPartHeadsAndAccessories = MeshPartHeadsAndAccessories.Default; @@ -2579,6 +2638,14 @@ namespace RobloxFiles } } + public class PluginPolicyService : Instance + { + public PluginPolicyService() + { + IsService = true; + } + } + public class PointsService : Instance { public PointsService() @@ -3162,6 +3229,7 @@ namespace RobloxFiles public NumberRange GameSettingsScaleRangeWidth = new NumberRange(0.7f, 1); public float HealthDisplayDistance = 100; public bool LoadCharacterAppearance = true; + public LoadCharacterLayeredClothing LoadCharacterLayeredClothing = LoadCharacterLayeredClothing.Default; public float NameDisplayDistance = 100; public bool UserEmotesEnabled = true; } @@ -3296,14 +3364,6 @@ namespace RobloxFiles } } - public class ToastNotificationService : Instance - { - public ToastNotificationService() - { - IsService = true; - } - } - public class TouchInputService : Instance { public TouchInputService() diff --git a/Generated/Enums.cs b/Generated/Enums.cs index b70abe5..45c38e9 100644 --- a/Generated/Enums.cs +++ b/Generated/Enums.cs @@ -1,5 +1,5 @@ // Auto-generated list of Roblox enums. -// Updated as of 0.476.0.421371 +// Updated as of 0.481.1.423973 namespace RobloxFiles.Enums { @@ -681,6 +681,13 @@ namespace RobloxFiles.Enums Miter } + public enum LoadCharacterLayeredClothing + { + Default, + Disabled, + Enabled + } + public enum Material { Plastic = 256, @@ -766,6 +773,13 @@ namespace RobloxFiles.Enums OccludeAll } + public enum NewAnimationRuntimeSetting + { + Default, + Disabled, + Enabled + } + public enum NormalId { Right, @@ -1062,6 +1076,13 @@ namespace RobloxFiles.Enums Left } + public enum VirtualCursorMode + { + Default, + Disabled, + Enabled + } + public enum ZIndexBehavior { Global, diff --git a/Plugins/GenerateApiDump.rbxm b/Plugins/GenerateApiDump.rbxm index 4afa18fecff6272de0fae369b881b47d09daea56..fc455534c2e46f74126f54b7a7908a15e0afcdba 100644 GIT binary patch delta 1500 zcmW-hX>3$g6vzMPynVLUPG{O_Y2kHR$}7waZJ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TyImja#@Ke(Zfnch!Uk-xl|92m#%qA_frfOWV3&@OcHEt~A`JHqA-TCQ` zb01rBq6`@B9J_4!xwrGech(pFJh}ws8D@iA>32%_O1(S&ZdFe>P@Rj9%F>i3yPfh2 z;8x7aW&2K)YHi4^sm{F=h+0yJlO?;Fo=OdM4QDb2)rKQ`Wa$Rf4$-BK`X|D6LDUL# zr83`G`bvRY85fFM{-W2uYHbKx<@k2Ee0a3br?c z+Z9LHJzG^(myA!mBqAS-$EVGfM}b8w6#)A+p8N%;x|zf< zL2fQJZ#a$(039%kX|M6Im1eA-QjizI(0sYw!XoEfu*ynLeclVq>@k%)G>K= z?tw63NEM(%qQe5!6i_8dg0NCzlM2_wp#c5s7IW5v436`3X$*Ii1;*b^aB5j+Yl z0{vM-g+%?}i@-{_`uk;X@I$C~Me!a4B3`Q4KC;wg(i0B%W&mgBk z%fL@EOha^Gk$e7EDjwF2 Ioong-ABW5Vo&W#< diff --git a/Plugins/GenerateApiDump/init.server.lua b/Plugins/GenerateApiDump/init.server.lua index 55f7110..9d1008f 100644 --- a/Plugins/GenerateApiDump/init.server.lua +++ b/Plugins/GenerateApiDump/init.server.lua @@ -586,6 +586,24 @@ local function generateClasses() gotValue = true end) end + elseif category == "Enum" then + local enum = Enum[typeName] + local lowestId = math.huge + local lowest + + for _,item in pairs(enum:GetEnumItems()) do + local itemValue = item.Value + + if itemValue < lowestId then + lowest = item + lowestId = itemValue + end + end + + if lowest then + value = lowest + gotValue = true + end end local id = string.format("%s.%s", className, propName)