0.472.0.419960

This commit is contained in:
Max 2021-04-02 01:10:34 -05:00
parent 917a96aa9f
commit a70150eb41
5 changed files with 31 additions and 19 deletions

View File

@ -1,5 +1,5 @@
// Auto-generated list of creatable Roblox classes. // Auto-generated list of creatable Roblox classes.
// Updated as of 0.470.0.419147 // Updated as of 0.472.0.419960
using System; using System;
@ -914,11 +914,6 @@ namespace RobloxFiles
public int MaxItems = 1000; public int MaxItems = 1000;
} }
public class DebuggerWatch : Instance
{
public string Expression = "";
}
public class Dialog : Instance public class Dialog : Instance
{ {
public DialogBehaviorType BehaviorType = DialogBehaviorType.SinglePlayer; public DialogBehaviorType BehaviorType = DialogBehaviorType.SinglePlayer;
@ -3085,6 +3080,14 @@ 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 public class StandalonePluginScripts : Instance
{ {
} }
@ -3174,7 +3177,6 @@ namespace RobloxFiles
public string CommitInflightGuid = ""; public string CommitInflightGuid = "";
public int CommitInflightPlaceVersion; public int CommitInflightPlaceVersion;
public bool EnableScriptCollabByDefaultOnLoad; public bool EnableScriptCollabByDefaultOnLoad;
public bool EnableScriptCollabOnLoad;
public long SrcPlaceId; public long SrcPlaceId;
public long SrcUniverseId; public long SrcUniverseId;
} }

View File

@ -1,5 +1,5 @@
// Auto-generated list of Roblox enums. // Auto-generated list of Roblox enums.
// Updated as of 0.470.0.419147 // Updated as of 0.472.0.419960
namespace RobloxFiles.Enums namespace RobloxFiles.Enums
{ {

Binary file not shown.

View File

@ -9,6 +9,7 @@ local stackLevel = 0
local singletons = local singletons =
{ {
Speaker = Instance.new("Sound"); -- close enough
Terrain = workspace:WaitForChild("Terrain", 1000); Terrain = workspace:WaitForChild("Terrain", 1000);
ParabolaAdornment = Instance.new("BoxHandleAdornment"); -- close enough ParabolaAdornment = Instance.new("BoxHandleAdornment"); -- close enough
StarterPlayerScripts = StarterPlayer:WaitForChild("StarterPlayerScripts"); StarterPlayerScripts = StarterPlayer:WaitForChild("StarterPlayerScripts");
@ -56,11 +57,11 @@ end
local function openStack() local function openStack()
writeLine('{') writeLine('{')
stackLevel = stackLevel + 1 stackLevel += 1
end end
local function closeStack() local function closeStack()
stackLevel = stackLevel - 1 stackLevel -= 1
writeLine('}') writeLine('}')
end end
@ -367,6 +368,7 @@ local function generateClasses()
local classTags = getTags(class) local classTags = getTags(class)
local registerClass = canCreateClass(class) local registerClass = canCreateClass(class)
local object = class.Object
if class.Inherited then if class.Inherited then
registerClass = true registerClass = true
@ -376,7 +378,15 @@ local function generateClasses()
registerClass = false registerClass = false
end end
local object = class.Object local noSecurityCheck = pcall(function ()
if not classTags.Service then
return tostring(object)
end
end)
if not noSecurityCheck then
object = nil
end
if not object then if not object then
if class.Inherited then if class.Inherited then
@ -442,7 +452,7 @@ local function generateClasses()
closeStack() closeStack()
end end
for i, propName in ipairs(propNames) do for j, propName in ipairs(propNames) do
local prop = propMap[propName] local prop = propMap[propName]
local propTags = getTags(prop) local propTags = getTags(prop)
@ -533,7 +543,7 @@ local function generateClasses()
writeLine("public %s %s => %s;", valueType, name, get) writeLine("public %s %s => %s;", valueType, name, get)
end end
if i ~= #propNames and set then if j ~= #propNames and set then
writeLine() writeLine()
end end
else else
@ -579,7 +589,7 @@ local function generateClasses()
if gotValue then if gotValue then
warn(src, "Fell back to implicit value for property:", id) warn(src, "Fell back to implicit value for property:", id)
else else
warn(src, "!! Could not figure out default value for property:", id) warn(src, "!! Could not figure out default value for property:", id, "value error was:", value)
end end
end end
@ -628,7 +638,7 @@ local function generateClasses()
writeLine("public %s %s%s;", valueType, name, default) writeLine("public %s %s%s;", valueType, name, default)
if propTags.Deprecated and i ~= #propNames then if propTags.Deprecated and j ~= #propNames then
writeLine() writeLine()
end end
end end
@ -682,7 +692,7 @@ local function generateEnums(whiteList)
return a.Value < b.Value return a.Value < b.Value
end) end)
for i, enumItem in ipairs(enumItems) do for j, enumItem in ipairs(enumItems) do
local text = "" local text = ""
local comma = ',' local comma = ','
@ -694,7 +704,7 @@ local function generateEnums(whiteList)
text = " = " .. value; text = " = " .. value;
end end
if i == #enumItems then if j == #enumItems then
comma = "" comma = ""
end end

Binary file not shown.