0.466.1.418149
This commit is contained in:
parent
131b1dabf0
commit
b0f532f31a
@ -1,5 +1,5 @@
|
|||||||
// Auto-generated list of creatable Roblox classes.
|
// Auto-generated list of creatable Roblox classes.
|
||||||
// Updated as of 0.465.0.417678
|
// Updated as of 0.466.1.418149
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
@ -2285,6 +2285,7 @@ namespace RobloxFiles
|
|||||||
|
|
||||||
public class Terrain : BasePart
|
public class Terrain : BasePart
|
||||||
{
|
{
|
||||||
|
public TerrainAcquisitionMethod AcquisitionMethod = TerrainAcquisitionMethod.None;
|
||||||
public byte[] ClusterGridV3 = Array.Empty<byte>();
|
public byte[] ClusterGridV3 = Array.Empty<byte>();
|
||||||
public bool Decoration;
|
public bool Decoration;
|
||||||
public byte[] MaterialColors = Convert.FromBase64String("AAAAAAAAan8/P39rf2Y/ilY+j35fi21PZmxvZbDqw8faiVpHOi4kHh4lZlw76JxKc3trhHtagcLgc4RKxr21zq2UlJSM");
|
public byte[] MaterialColors = Convert.FromBase64String("AAAAAAAAan8/P39rf2Y/ilY+j35fi21PZmxvZbDqw8faiVpHOi4kHh4lZlw76JxKc3trhHtagcLgc4RKxr21zq2UlJSM");
|
||||||
@ -2328,8 +2329,10 @@ namespace RobloxFiles
|
|||||||
{
|
{
|
||||||
public Content AssetId = "";
|
public Content AssetId = "";
|
||||||
public byte[] ChildData = Array.Empty<byte>();
|
public byte[] ChildData = Array.Empty<byte>();
|
||||||
|
public SharedString ChildData2 = SharedString.FromBase64("yuZpQdnvvUBOTYh1jqZ2cA==");
|
||||||
public FormFactor FormFactor = FormFactor.Custom;
|
public FormFactor FormFactor = FormFactor.Custom;
|
||||||
public byte[] MeshData = Array.Empty<byte>();
|
public byte[] MeshData = Array.Empty<byte>();
|
||||||
|
public SharedString MeshData2 = SharedString.FromBase64("yuZpQdnvvUBOTYh1jqZ2cA==");
|
||||||
public RenderFidelity RenderFidelity = RenderFidelity.Precise;
|
public RenderFidelity RenderFidelity = RenderFidelity.Precise;
|
||||||
public float SmoothingAngle;
|
public float SmoothingAngle;
|
||||||
public bool UsePartColor;
|
public bool UsePartColor;
|
||||||
@ -2372,7 +2375,7 @@ namespace RobloxFiles
|
|||||||
public ModelLevelOfDetail LevelOfDetail = ModelLevelOfDetail.Automatic;
|
public ModelLevelOfDetail LevelOfDetail = ModelLevelOfDetail.Automatic;
|
||||||
public CFrame ModelInPrimary = new CFrame();
|
public CFrame ModelInPrimary = new CFrame();
|
||||||
public CFrame ModelMeshCFrame = new CFrame();
|
public CFrame ModelMeshCFrame = new CFrame();
|
||||||
public SharedString ModelMeshData;
|
public SharedString ModelMeshData = SharedString.FromBase64("yuZpQdnvvUBOTYh1jqZ2cA==");
|
||||||
public Vector3 ModelMeshSize = new Vector3();
|
public Vector3 ModelMeshSize = new Vector3();
|
||||||
public BasePart PrimaryPart;
|
public BasePart PrimaryPart;
|
||||||
}
|
}
|
||||||
@ -2401,7 +2404,7 @@ namespace RobloxFiles
|
|||||||
public bool FilteringEnabled;
|
public bool FilteringEnabled;
|
||||||
public float Gravity = 196.2f;
|
public float Gravity = 196.2f;
|
||||||
public InterpolationThrottlingMode InterpolationThrottling = InterpolationThrottlingMode.Default;
|
public InterpolationThrottlingMode InterpolationThrottling = InterpolationThrottlingMode.Default;
|
||||||
public MeshPartHeads MeshPartHeads = MeshPartHeads.Default;
|
public MeshPartHeadsAndAccessories MeshPartHeadsAndAccessories = MeshPartHeadsAndAccessories.Default;
|
||||||
public PhysicsSteppingMethod PhysicsSteppingMethod = PhysicsSteppingMethod.Default;
|
public PhysicsSteppingMethod PhysicsSteppingMethod = PhysicsSteppingMethod.Default;
|
||||||
public bool StreamingEnabled;
|
public bool StreamingEnabled;
|
||||||
public int StreamingMinRadius = 64;
|
public int StreamingMinRadius = 64;
|
||||||
@ -3409,12 +3412,24 @@ namespace RobloxFiles
|
|||||||
public float Scale = 1;
|
public float Scale = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class UIStroke : UIComponent
|
||||||
|
{
|
||||||
|
public ApplyStrokeMode ApplyStrokeMode = ApplyStrokeMode.Contextual;
|
||||||
|
public Color3 Color = new Color3();
|
||||||
|
public bool Enabled = true;
|
||||||
|
public LineJoinMode LineJoinMode = LineJoinMode.Round;
|
||||||
|
public float Thickness = 1;
|
||||||
|
public float Transparency;
|
||||||
|
}
|
||||||
|
|
||||||
public class UnvalidatedAssetService : Instance
|
public class UnvalidatedAssetService : Instance
|
||||||
{
|
{
|
||||||
public UnvalidatedAssetService()
|
public UnvalidatedAssetService()
|
||||||
{
|
{
|
||||||
IsService = true;
|
IsService = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public string CachedData = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
public class UserInputService : Instance
|
public class UserInputService : Instance
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// Auto-generated list of Roblox enums.
|
// Auto-generated list of Roblox enums.
|
||||||
// Updated as of 0.465.0.417678
|
// Updated as of 0.466.1.418149
|
||||||
|
|
||||||
namespace RobloxFiles.Enums
|
namespace RobloxFiles.Enums
|
||||||
{
|
{
|
||||||
@ -43,6 +43,12 @@ namespace RobloxFiles.Enums
|
|||||||
Core = 1000
|
Core = 1000
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public enum ApplyStrokeMode
|
||||||
|
{
|
||||||
|
Contextual,
|
||||||
|
Border
|
||||||
|
}
|
||||||
|
|
||||||
public enum AspectType
|
public enum AspectType
|
||||||
{
|
{
|
||||||
FitWithinMaxSize,
|
FitWithinMaxSize,
|
||||||
@ -661,6 +667,13 @@ namespace RobloxFiles.Enums
|
|||||||
High
|
High
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public enum LineJoinMode
|
||||||
|
{
|
||||||
|
Round,
|
||||||
|
Bevel,
|
||||||
|
Miter
|
||||||
|
}
|
||||||
|
|
||||||
public enum Material
|
public enum Material
|
||||||
{
|
{
|
||||||
Plastic = 256,
|
Plastic = 256,
|
||||||
@ -702,7 +715,7 @@ namespace RobloxFiles.Enums
|
|||||||
Water = 2048
|
Water = 2048
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum MeshPartHeads
|
public enum MeshPartHeadsAndAccessories
|
||||||
{
|
{
|
||||||
Default,
|
Default,
|
||||||
Disabled,
|
Disabled,
|
||||||
@ -965,6 +978,22 @@ namespace RobloxFiles.Enums
|
|||||||
Future
|
Future
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public enum TerrainAcquisitionMethod
|
||||||
|
{
|
||||||
|
None,
|
||||||
|
Legacy,
|
||||||
|
Template,
|
||||||
|
Generate,
|
||||||
|
Import,
|
||||||
|
Convert,
|
||||||
|
EditAddTool,
|
||||||
|
EditSeaLevelTool,
|
||||||
|
EditReplaceTool,
|
||||||
|
RegionFillTool,
|
||||||
|
RegionPasteTool,
|
||||||
|
Other
|
||||||
|
}
|
||||||
|
|
||||||
public enum TextTruncate
|
public enum TextTruncate
|
||||||
{
|
{
|
||||||
None,
|
None,
|
||||||
|
5
Plugins/.vscode/settings.json
vendored
Normal file
5
Plugins/.vscode/settings.json
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"Lua.diagnostics.ignore": [
|
||||||
|
"CopyToClipboard"
|
||||||
|
]
|
||||||
|
}
|
Binary file not shown.
@ -203,12 +203,12 @@ return
|
|||||||
{
|
{
|
||||||
Add =
|
Add =
|
||||||
{
|
{
|
||||||
formFactorRaw = "Enum:FormFactor";
|
formFactorRaw = TryDefineEnum("FormFactor");
|
||||||
};
|
};
|
||||||
|
|
||||||
Defaults =
|
Defaults =
|
||||||
{
|
{
|
||||||
formFactorRaw = Enum.FormFactor.Brick;
|
formFactorRaw = TryGetEnumItem("FormFactor", "Brick");
|
||||||
};
|
};
|
||||||
|
|
||||||
Redirect =
|
Redirect =
|
||||||
@ -400,7 +400,7 @@ return
|
|||||||
|
|
||||||
Part =
|
Part =
|
||||||
{
|
{
|
||||||
Add = { shape = "Enum:PartType" };
|
Add = { shape = TryDefineEnum("PartType") };
|
||||||
Redirect = { Shape = "shape" };
|
Redirect = { Shape = "shape" };
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -421,9 +421,14 @@ return
|
|||||||
Add =
|
Add =
|
||||||
{
|
{
|
||||||
AssetId = "Content";
|
AssetId = "Content";
|
||||||
|
|
||||||
ChildData = "BinaryString";
|
ChildData = "BinaryString";
|
||||||
|
ChildData2 = "SharedString";
|
||||||
|
|
||||||
MeshData = "BinaryString";
|
MeshData = "BinaryString";
|
||||||
FormFactor = "Enum:FormFactor";
|
MeshData2 = "SharedString";
|
||||||
|
|
||||||
|
FormFactor = TryDefineEnum("FormFactor");
|
||||||
};
|
};
|
||||||
|
|
||||||
Defaults = { FormFactor = Enum.FormFactor.Custom };
|
Defaults = { FormFactor = Enum.FormFactor.Custom };
|
||||||
@ -560,6 +565,7 @@ return
|
|||||||
{
|
{
|
||||||
Add =
|
Add =
|
||||||
{
|
{
|
||||||
|
AcquisitionMethod = TryDefineEnum("TerrainAcquisitionMethod");
|
||||||
ClusterGridV3 = "BinaryString";
|
ClusterGridV3 = "BinaryString";
|
||||||
PhysicsGrid = "BinaryString";
|
PhysicsGrid = "BinaryString";
|
||||||
SmoothGrid = "BinaryString";
|
SmoothGrid = "BinaryString";
|
||||||
@ -570,6 +576,7 @@ return
|
|||||||
Decoration = false;
|
Decoration = false;
|
||||||
SmoothGrid = "AQU=";
|
SmoothGrid = "AQU=";
|
||||||
PhysicsGrid = "AgMAAAAAAAAAAAAAAAA=";
|
PhysicsGrid = "AgMAAAAAAAAAAAAAAAA=";
|
||||||
|
AcquisitionMethod = TryGetEnumItem("TerrainAcquisitionMethod", "None");
|
||||||
MaterialColors = "AAAAAAAAan8/P39rf2Y/ilY+j35fi21PZmxvZbDqw8faiVpHOi4kHh4lZlw76JxKc3trhHtagcLgc4RKxr21zq2UlJSM";
|
MaterialColors = "AAAAAAAAan8/P39rf2Y/ilY+j35fi21PZmxvZbDqw8faiVpHOi4kHh4lZlw76JxKc3trhHtagcLgc4RKxr21zq2UlJSM";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -614,10 +621,15 @@ return
|
|||||||
|
|
||||||
TrussPart =
|
TrussPart =
|
||||||
{
|
{
|
||||||
Add = { style = "Enum:Style" };
|
Add = { style = TryDefineEnum("Style") };
|
||||||
Redirect = { Style = "style" };
|
Redirect = { Style = "style" };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
UnvalidatedAssetService =
|
||||||
|
{
|
||||||
|
Add = { CachedData = "string" };
|
||||||
|
};
|
||||||
|
|
||||||
ViewportFrame =
|
ViewportFrame =
|
||||||
{
|
{
|
||||||
Add =
|
Add =
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
local Selection = game:GetService("Selection")
|
||||||
local HttpService = game:GetService("HttpService")
|
local HttpService = game:GetService("HttpService")
|
||||||
local ServerStorage = game:GetService("ServerStorage")
|
|
||||||
local StarterPlayer = game:GetService("StarterPlayer")
|
local StarterPlayer = game:GetService("StarterPlayer")
|
||||||
local StudioService = game:GetService("StudioService")
|
local StudioService = game:GetService("StudioService")
|
||||||
|
|
||||||
@ -77,6 +77,8 @@ local function exportStream(label)
|
|||||||
export.Source = results
|
export.Source = results
|
||||||
export.Name = label
|
export.Name = label
|
||||||
export.Parent = workspace
|
export.Parent = workspace
|
||||||
|
|
||||||
|
Selection:Add{export}
|
||||||
end
|
end
|
||||||
|
|
||||||
if isCoreScript then
|
if isCoreScript then
|
||||||
@ -312,11 +314,18 @@ local function generateClasses()
|
|||||||
end)
|
end)
|
||||||
elseif not classTags.NotCreatable then
|
elseif not classTags.NotCreatable then
|
||||||
pcall(function ()
|
pcall(function ()
|
||||||
|
local dumpFolder = game:FindFirstChild("DumpFolder")
|
||||||
class.Object = Instance.new(className)
|
class.Object = Instance.new(className)
|
||||||
|
|
||||||
if game:FindFirstChild("DumpFolder") then
|
if dumpFolder then
|
||||||
|
local old = dumpFolder:FindFirstChildOfClass(className)
|
||||||
|
|
||||||
|
if old then
|
||||||
|
old:Destroy()
|
||||||
|
end
|
||||||
|
|
||||||
class.Object.Name = className
|
class.Object.Name = className
|
||||||
class.Object.Parent = game.DumpFolder
|
class.Object.Parent = dumpFolder
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
@ -549,6 +558,9 @@ local function generateClasses()
|
|||||||
elseif stringTypes[typeName] then
|
elseif stringTypes[typeName] then
|
||||||
value = ""
|
value = ""
|
||||||
gotValue = true
|
gotValue = true
|
||||||
|
elseif typeName == "SharedString" then
|
||||||
|
value = "yuZpQdnvvUBOTYh1jqZ2cA=="
|
||||||
|
gotValue = true
|
||||||
elseif category == "DataType" then
|
elseif category == "DataType" then
|
||||||
local DataType = env[typeName]
|
local DataType = env[typeName]
|
||||||
|
|
||||||
|
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
@ -8,10 +8,20 @@ namespace RobloxFiles.Utility
|
|||||||
internal class ImplicitMember
|
internal class ImplicitMember
|
||||||
{
|
{
|
||||||
private const BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.FlattenHierarchy | BindingFlags.IgnoreCase;
|
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 readonly object member;
|
||||||
private ImplicitMember(PropertyInfo prop) { member = prop; }
|
private readonly string inputName;
|
||||||
|
|
||||||
|
private ImplicitMember(FieldInfo field, string name)
|
||||||
|
{
|
||||||
|
member = field;
|
||||||
|
inputName = name;
|
||||||
|
}
|
||||||
|
private ImplicitMember(PropertyInfo prop, string name)
|
||||||
|
{
|
||||||
|
member = prop;
|
||||||
|
inputName = name;
|
||||||
|
}
|
||||||
|
|
||||||
public static ImplicitMember Get(Type type, string name)
|
public static ImplicitMember Get(Type type, string name)
|
||||||
{
|
{
|
||||||
@ -21,7 +31,7 @@ namespace RobloxFiles.Utility
|
|||||||
.FirstOrDefault();
|
.FirstOrDefault();
|
||||||
|
|
||||||
if (field != null)
|
if (field != null)
|
||||||
return new ImplicitMember(field);
|
return new ImplicitMember(field, name);
|
||||||
|
|
||||||
var prop = type
|
var prop = type
|
||||||
.GetProperties(flags)
|
.GetProperties(flags)
|
||||||
@ -29,7 +39,7 @@ namespace RobloxFiles.Utility
|
|||||||
.FirstOrDefault();
|
.FirstOrDefault();
|
||||||
|
|
||||||
if (prop != null)
|
if (prop != null)
|
||||||
return new ImplicitMember(prop);
|
return new ImplicitMember(prop, name);
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@ -38,35 +48,54 @@ namespace RobloxFiles.Utility
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
Type result = null;
|
switch (member)
|
||||||
|
{
|
||||||
|
case PropertyInfo prop: return prop.PropertyType;
|
||||||
|
case FieldInfo field: return field.FieldType;
|
||||||
|
|
||||||
if (member is FieldInfo field)
|
default: return null;
|
||||||
result = field.FieldType;
|
}
|
||||||
else if (member is PropertyInfo prop)
|
|
||||||
result = prop.PropertyType;
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public object GetValue(object obj)
|
public object GetValue(object obj)
|
||||||
{
|
{
|
||||||
if (member is FieldInfo field)
|
object result = null;
|
||||||
return field.GetValue(obj);
|
|
||||||
else if (member is PropertyInfo prop)
|
|
||||||
return prop.GetValue(obj);
|
|
||||||
|
|
||||||
return null;
|
switch (member)
|
||||||
|
{
|
||||||
|
case FieldInfo field:
|
||||||
|
{
|
||||||
|
result = field.GetValue(obj);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case PropertyInfo prop:
|
||||||
|
{
|
||||||
|
result = prop.GetValue(obj);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SetValue(object obj, object value)
|
public void SetValue(object obj, object value)
|
||||||
{
|
{
|
||||||
if (member is FieldInfo field)
|
switch (member)
|
||||||
|
{
|
||||||
|
case FieldInfo field:
|
||||||
|
{
|
||||||
field.SetValue(obj, value);
|
field.SetValue(obj, value);
|
||||||
else if (member is PropertyInfo prop)
|
return;
|
||||||
|
}
|
||||||
|
case PropertyInfo prop:
|
||||||
|
{
|
||||||
prop.SetValue(obj, value);
|
prop.SetValue(obj, value);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
RobloxFile.LogError("Unknown field in ImplicitMember.SetValue");
|
RobloxFile.LogError($"Unknown field '{inputName}' in ImplicitMember.SetValue");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user