Large scale refactor to add class support!
Instance classes are now strongly typed with real property fields that are derived from the JSON API Dump! This required a lot of reworking across the board: - Classes and Enums are auto-generated in the 'Generated' folder now. This is done using a custom built-in plugin, which can be found in the Plugins folder of this project. - Property objects are now tied to .NET's reflection system. Reading and writing from them will try to redirect into a field of the Instance they are bound to. - Property types that were loosely defined now have proper data types (such as Color3uint8, Content, ProtectedString, SharedString, etc) - Fixed an error with the CFrame directional vectors. - The binary PRNT chunk now writes instances in child->parent order. - Enums are now generated correctly, with up-to-date values. - INST chunks are now referred to as 'Classes' instead of 'Types'. - Unary operator added to Vector2 and Vector3. - CollectionService tags can now be manipulated per-instance using the Instance.Tags member. - The Instance.Archivable property now works correctly. - XML files now save/load metadata correctly. - Cleaned up the property tokens directory. I probably missed a few things, but that's a general overview of everything that changed.
This commit is contained in:
@ -71,9 +71,14 @@
|
||||
<Compile Include="BinaryFormat\Chunks\SSTR.cs" />
|
||||
<Compile Include="BinaryFormat\IO\BinaryFileReader.cs" />
|
||||
<Compile Include="BinaryFormat\IO\BinaryFileWriter.cs" />
|
||||
<Compile Include="DataTypes\Color3uint8.cs" />
|
||||
<Compile Include="DataTypes\ProtectedString.cs" />
|
||||
<Compile Include="DataTypes\Content.cs" />
|
||||
<Compile Include="DataTypes\SharedString.cs" />
|
||||
<Compile Include="Interfaces\IBinaryFileChunk.cs" />
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Tree\Enums.cs" />
|
||||
<Compile Include="Generated\Classes.cs" />
|
||||
<Compile Include="Generated\Enums.cs" />
|
||||
<Compile Include="Tree\Property.cs" />
|
||||
<Compile Include="Tree\Instance.cs" />
|
||||
<Compile Include="RobloxFile.cs" />
|
||||
@ -89,7 +94,6 @@
|
||||
<Compile Include="DataTypes\NumberSequenceKeypoint.cs" />
|
||||
<Compile Include="DataTypes\PhysicalProperties.cs" />
|
||||
<Compile Include="DataTypes\Ray.cs" />
|
||||
<Compile Include="DataTypes\Region3int16.cs" />
|
||||
<Compile Include="Interfaces\IXmlPropertyToken.cs" />
|
||||
<Compile Include="Utility\BrickColors.cs" />
|
||||
<Compile Include="DataTypes\Vector3int16.cs" />
|
||||
@ -100,41 +104,43 @@
|
||||
<Compile Include="DataTypes\Vector2.cs" />
|
||||
<Compile Include="DataTypes\Vector3.cs" />
|
||||
<Compile Include="Utility\Formatting.cs" />
|
||||
<Compile Include="Utility\FontUtility.cs" />
|
||||
<Compile Include="Utility\MaterialInfo.cs" />
|
||||
<Compile Include="Utility\Quaternion.cs" />
|
||||
<Compile Include="DataTypes\Quaternion.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\SharedString.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\Vector3int16.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\SharedString.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\ProtectedString.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\Vector3int16.cs" />
|
||||
<Compile Include="XmlFormat\IO\XmlFileWriter.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\XmlPropertyTokens.cs" />
|
||||
<Compile Include="XmlFormat\XmlPropertyTokens.cs" />
|
||||
<Compile Include="XmlFormat\IO\XmlFileReader.cs" />
|
||||
<Compile Include="XmlFormat\XmlRobloxFile.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\Axes.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\BinaryString.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\Boolean.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\BrickColor.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\CFrame.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\Content.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\Color3.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\Color3uint8.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\ColorSequence.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\Double.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\Enum.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\Faces.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\Float.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\Int.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\Int64.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\NumberRange.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\NumberSequence.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\PhysicalProperties.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\Ray.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\Rect.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\Ref.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\String.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\UDim.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\UDim2.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\Vector2.cs" />
|
||||
<Compile Include="XmlFormat\PropertyTokens\Tokens\Vector3.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\Axes.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\BinaryString.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\Boolean.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\BrickColor.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\CFrame.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\Content.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\Color3.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\Color3uint8.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\ColorSequence.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\Double.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\Enum.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\Faces.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\Float.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\Int.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\Int64.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\NumberRange.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\NumberSequence.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\PhysicalProperties.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\Ray.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\Rect.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\Ref.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\String.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\UDim.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\UDim2.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\Vector2.cs" />
|
||||
<Compile Include="XmlFormat\Tokens\Vector3.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include=".NETFramework,Version=v4.5.2">
|
||||
|
Reference in New Issue
Block a user