0.413.1.370526

This commit is contained in:
CloneTrooper1019 2019-12-22 21:23:06 -06:00
parent 66bdae9387
commit 92c6f2d96e
10 changed files with 98 additions and 44 deletions

View File

@ -110,8 +110,6 @@ namespace RobloxFiles.DataTypes
public static Vector3 Up => new Vector3(0, 1, 0);
public static Vector3 Back => new Vector3(0, 0, 1);
public float Dot(Vector3 other)
{
float dotX = X * other.X;

View File

@ -1,5 +1,5 @@
// Auto-generated list of creatable Roblox classes.
// Updated as of 0.410.1.361262
// Updated as of 0.413.1.370526
using System;
@ -312,6 +312,14 @@ namespace RobloxFiles
public float TurnP = 3000;
}
public class BrowserService : Instance
{
public BrowserService()
{
IsService = true;
}
}
public abstract class CacheableContentProvider : Instance
{
public CacheableContentProvider()
@ -1801,7 +1809,9 @@ namespace RobloxFiles
public abstract class LuaSourceContainer : Instance
{
public Content LinkedSource = "";
public string ScriptGuid = "";
public ProtectedString Source = "";
}
public abstract class BaseScript : LuaSourceContainer
@ -1812,7 +1822,6 @@ namespace RobloxFiles
public class Script : BaseScript
{
public ProtectedString Source = "";
}
public class LocalScript : Script
@ -1821,8 +1830,6 @@ namespace RobloxFiles
public class ModuleScript : LuaSourceContainer
{
public Content LinkedSource = "";
public ProtectedString Source = "";
}
public class LuaWebService : Instance
@ -2169,10 +2176,8 @@ namespace RobloxFiles
{
public bool AutoUpdate = false;
public long OriginalHash = 0;
public Content PackageId => PackageIdSerialize;
public Content PackageIdSerialize = "";
public string SymbolicLink = "";
public long VersionId => VersionIdSerialize;
public long VersionIdSerialize = 0;
public long VersionNumber
@ -2246,6 +2251,17 @@ namespace RobloxFiles
}
}
public class PlayerEmulatorService : Instance
{
public PlayerEmulatorService()
{
IsService = true;
}
public bool PlayerEmulationEnabled = false; // [Load-only]
public string StudioEmulatedCountryRegionCode = ""; // [Load-only]
}
public class Players : Instance
{
public Players()
@ -2261,9 +2277,9 @@ namespace RobloxFiles
public class PluginAction : Instance
{
public bool Checked = true; // [Load-only]
public bool Checked = false; // [Load-only]
public string DefaultShortcut = ""; // [Load-only]
public bool Enabled = true; // [Load-only]
public bool Enabled = false; // [Load-only]
}
public class PluginGuiService : Instance
@ -2973,6 +2989,14 @@ namespace RobloxFiles
public int MinTextSize = 1;
}
public class UIGradient : UIComponent
{
public ColorSequence Color = new ColorSequence(new Color3(1, 1, 1));
public Vector2 Offset = new Vector2();
public float Rotation = 0;
public NumberSequence Transparency = new NumberSequence(0);
}
public abstract class UILayout : UIComponent
{
}

View File

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

18
Plugins/.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,18 @@
{
"version": "2.0.0",
"tasks":
[
{
"type": "shell",
"label": "Build Plugin",
"command": "rojo build --output GenerateApiDump.rbxm",
"group":
{
"kind": "build",
"isDefault": true
}
}
]
}

Binary file not shown.

View File

@ -1,7 +1,7 @@
local function UseColor3(propName)
return
{
Get = "BrickColor.FromColor3(" .. propName .. ')';
Get = string.format("BrickColor.FromColor3(%s)", propName);
Set = propName .. " = value.Color";
}
end
@ -348,10 +348,30 @@ return
}
};
LocalScript =
{
Remove =
{
"LinkedSource",
"Source"
}
};
LuaSourceContainer =
{
Add = { ScriptGuid = "string" };
Defaults = { ScriptGuid = "" };
Add =
{
LinkedSource = "Content";
ScriptGuid = "string";
Source = "ProtectedString";
};
Defaults =
{
LinkedSource = "";
ScriptGuid = "";
Source = "";
};
};
ManualSurfaceJointInstance =
@ -380,6 +400,15 @@ return
Defaults = { ModelInPrimary = CFrame.new() };
};
ModuleScript =
{
Remove =
{
"LinkedSource",
"Source"
}
};
NotificationService =
{
Remove = {"SelectedTheme"}
@ -389,9 +418,6 @@ return
{
Add =
{
VersionId = "int64";
PackageId = "Content";
OriginalHash = "int64";
SymbolicLink = "string";
@ -412,9 +438,6 @@ return
Redirect =
{
PackageId = { Get = "PackageIdSerialize" };
VersionId = { Get = "VersionIdSerialize" };
VersionNumber = "VersionIdSerialize";
};
};
@ -509,6 +532,15 @@ return
Defaults = { LoadStringEnabled = false }
};
Script =
{
Remove =
{
"LinkedSource",
"Source"
}
};
Smoke =
{
Add =

View File

@ -9,7 +9,7 @@ local stackLevel = 0
local singletons =
{
Terrain = workspace:WaitForChild("Terrain");
Terrain = workspace:WaitForChild("Terrain", 1000);
StarterPlayerScripts = StarterPlayer:WaitForChild("StarterPlayerScripts");
StarterCharacterScripts = StarterPlayer:WaitForChild("StarterCharacterScripts");
}
@ -175,7 +175,7 @@ end
-- Formatting
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
local formatting = require(script.Parent.Formatting)
local formatting = require(script.Formatting)
local formatLinks =
{
@ -207,7 +207,7 @@ end
-- Property Patches
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
local patches = require(script.Parent.PropertyPatches)
local patches = require(script.PropertyPatches)
local patchIndex = {}
function patchIndex:__index(key)

View File

@ -1,18 +0,0 @@
{
"name": "GenerateApiDump",
"tree":
{
"$className": "DataModel",
"ReplicatedStorage":
{
"$className": "ReplicatedStorage",
"GenerateApiDump":
{
"$path": "GenerateApiDump"
}
}
}
}

Binary file not shown.

View File

@ -29,7 +29,7 @@ namespace RobloxFiles
public IReadOnlyDictionary<string, Property> Properties => props;
/// <summary>The raw list of children for this Instance.</summary>
internal List<Instance> Children = new List<Instance>();
internal HashSet<Instance> Children = new HashSet<Instance>();
/// <summary>The raw value of the Instance's parent.</summary>
private Instance RawParent;
@ -445,14 +445,14 @@ namespace RobloxFiles
/// <summary>
/// Returns a string describing the index traversal of this Instance, starting from its root ancestor.
/// </summary>
public string GetFullName()
public string GetFullName(string separator = ".")
{
string fullName = Name;
Instance at = Parent;
while (at != null)
{
fullName = at.Name + '.' + fullName;
fullName = at.Name + separator + fullName;
at = at.Parent;
}