18 Commits

Author SHA1 Message Date
ds5678
e0cf8a09a9 Implement IDeepCloneable interface and refactor methods
Introduced IDeepCloneable interface in AssetRipper.Assets namespace.
Implemented DeepClone method in SerializableStructure and UnloadedStructure.
Updated nested StatelessAsset class to implement IDeepCloneable.
Refactored UnloadedStructure methods using LoadStructureOrStatelessAsset.
Revised FetchDependencies to use an empty array instead of Enumerable.Empty.
Added methods to UnloadedStructure for better equality comparison and asset handling.
2025-02-10 10:54:36 -08:00
ds5678
fe883e23ee Improve SerializableValue
* Support reading array depth 2 for primitives
* Add more helper properties
* Support reading TypelessData
2024-05-30 00:31:48 -07:00
ds5678
7dfb1d1825 Use type trees for PlayerSettings 2024-05-18 11:13:45 -04:00
ds5678
c821bf235d Support maps in assets read from type trees 2024-05-18 01:25:18 -04:00
ds5678
9853071b00 Rename SerializableField to SerializableValue 2024-05-13 18:13:24 -07:00
ds5678
42a995445a Support yaml flow mapping for type tree structures 2024-05-07 20:22:28 -07:00
ds5678
c33b69976c Type Tree Deserialization Improvements:
* Proper support for stream alignment
* Use unchecked casts when writing and walking
* Support CopyValues from different SerializableType
* Remove duplicate serializedVersion
* Ensure proper type name is used for array-like fields
* Support creating Unity class release and editor trees from the embedded Tpk
* Support Unity 3 named vector nodes
* Resolves #1328
2024-05-07 20:00:49 -07:00
ds5678
5255c7876a Remove ExportYaml methods from derived classes 2024-04-27 11:04:22 -07:00
ds5678
e9d46bbd15 Refactor SerializableStructure.TryRead 2024-02-25 23:57:21 -05:00
ds5678
6cda7a445f Simplify AssetWalker to use less generics
* SourceGenerated package is being bumped
* This is intended to reduce the output binary size for NativeAOT
2024-01-06 01:55:58 -05:00
ds5678
ccb4f1ad1e Walking for SerializableStructure 2024-01-05 21:13:08 -05:00
Jeremy Pritts
3509ddd1c3 2023 support
* Resolves #917
* Resolves #1023
2023-10-14 12:27:15 -04:00
Jeremy Pritts
959baca3c1 Resolve #1048 2023-10-07 11:34:17 -04:00
Jeremy Pritts
a6d21ed54c Allow null namespace in SerializableType 2023-10-07 11:23:36 -04:00
Jeremy Pritts
a182105cd2 Copy IMonoBehaviour.Structure when outlining prefabs
* Resolves #852
2023-06-09 09:44:01 -04:00
Jeremy Pritts
13e92b9421 Read MonoBehaviour Structures just in time
* Cleaner code for asset reading
* Files can be loaded in any order now
* Resolves a major bug where structures weren't getting read
2023-04-06 00:38:57 -04:00
Jeremy Pritts
10628e0fc9 Span reading. Resolves #693 2023-03-27 22:59:47 -04:00
Jeremy Pritts
6e45e71f3c Move projects into a subfolder 2023-01-14 11:31:39 -05:00