- Updated `ICSharpCode.Decompiler` to version `10.0.0.8079-preview1`.
- Upgraded testing packages in `AssetRipper.AssemblyDumper.Tests.csproj`:
- `Microsoft.NET.Test.Sdk` to `17.14.1`
- `NUnit` to `4.4.0`
- `NUnit3TestAdapter` to `5.1.0`
- Changed `AssetRipper.Primitives` version to `3.2.0` in both `Utils` and `DocExtraction` projects.
- Updated `AssetRipper.Checksum` to version `1.1.0` in `AssetRipper.AssemblyDumper`.
Added a condition to rename nodes starting with "m_Dest" to "m_Destination" if the character at index 6 is uppercase. This improves flexibility in naming conventions while preserving existing logic for "m_Src" nodes.
Added functionality to rename nodes that start with "m_Dst" and "m_Src" to "m_Destination" and "m_Source" respectively, improving the descriptiveness of node names by retaining the original suffix.
- Updated `ICSharpCode.Decompiler` to version `9.0.0.7889`.
- Upgraded testing packages in `AssetRipper.AssemblyDumper.Tests.csproj`:
- `Microsoft.NET.Test.Sdk` to `17.13.0`
- `NUnit` to `4.3.2`
- `NUnit3TestAdapter` to `5.0.0`
- `coverlet.collector` to `6.0.4`
- Updated `AssetRipper.Primitives` to version `3.1.6` in both `Utils` and `DocExtraction` projects.
- Changed `AssetRipper.Tpk.TypeTrees.Json` to version `1.1.0`.
Replaced ICloneable with IDeepCloneable for cloning objects.
Now using DeepClone method instead of Clone. Removed redundant
logic for copying values between different collections as
DeepClone handles this internally.
- Add CopyStructureValues method to MonoBehaviourHelper
- Update ApplyChangesToGroup in Pass501_MonoBehaviourImplementation
- Add AddStructureCopyValues method to TypeDefinition
- Ensure structure copy logic is applied to all instances
Introduce new functionality to reset the structure of a `MonoBehaviour` in the `AssetRipper` project.
In `MonoBehaviourHelper.cs`:
- Add using directives for `AssetRipper.Assets.Cloning`, `AssetRipper.Assets.Metadata`, and `AssetRipper.Assets.Traversal`.
- Add a new static method `ResetStructure` to the `MonoBehaviourHelper` class to reset the provided `IUnityAssetBase` structure.
In `Pass501_MonoBehaviourImplementation.cs`:
- Add `AddStructureReset` method to the `TypeDefinition` class to modify IL code to call `ResetStructure`.
- Integrate `AddStructureReset` into the existing code to ensure structure reset functionality is included in `MonoBehaviour` processing.
- Added `using` directives for new dependencies in `MonoBehaviourHelper.cs` and `Pass501_MonoBehaviourImplementation.cs`.
- Introduced `MaybeAppendStructureDependencies` method in `MonoBehaviourHelper.cs` to handle structure dependencies.
- Added `AddStructureFetchDependencies` method in `Pass501_MonoBehaviourImplementation.cs` to modify `FetchDependencies` and include structure dependencies.