Bug fixes and improvements.

- Fixed an issue pertaining to implicit value casting in the property
reflection.
- Removed some unnecessary generated whitespace in the class data.
- Added some missing properties to the generated class data.
- Moved the Quaternion type into the DataTypes namespace.
This commit is contained in:
CloneTrooper1019
2019-07-03 09:48:05 -05:00
parent de8df15d3f
commit 4e1fdc0a22
9 changed files with 75 additions and 22 deletions

Binary file not shown.

View File

@ -391,7 +391,6 @@ local function generateClasses()
local firstLine = true
table.sort(propNames)
if classTags.Service then
writeLine("public %s()", className)
openStack()
@ -399,8 +398,14 @@ local function generateClasses()
writeLine("IsService = true;")
closeStack()
if #propNames > 0 then
writeLine()
for i, propName in ipairs(propNames) do
local prop = propMap[propName]
local serial = prop.Serialization
if serial.CanLoad then
writeLine()
break
end
end
end

View File

@ -84,6 +84,23 @@ return
}
};
BevelMesh =
{
Add =
{
Bevel = "float";
Bevel_Roundness = "float";
Bulge = "float";
};
Defaults =
{
Bevel = 0;
Bevel_Roundness = 0;
Bulge = 0;
}
};
BinaryStringValue =
{
Add =
@ -387,6 +404,7 @@ return
AssetId = "Content";
ChildData = "BinaryString";
MeshData = "BinaryString";
FormFactor = "Enum:FormFactor";
};
Defaults =
@ -394,6 +412,7 @@ return
AssetId = "";
ChildData = "";
MeshData = "";
FormFactor = Enum.FormFactor.Custom;
};
};