Rouden and GitHub
ac45a0a64b
MapId, MapCoordinates, EntityCoordinates Type serializers ( #6165 )
...
* New Type Serializers
* Delete NetCoordinatesSerializer.cs
* Make EntityCoordinates and MapCoordinates use DataRecord
* Turn them into actual record structs
I'm somewhat surprised the DataRecord attribute doesn't check this
* Allocate MapIds before deserializing components
* Deserialize preallocated ids
* fix map merge assert
* remove old
* Use TryGetMap
* release notes
2025-10-06 15:27:08 +13:00
abd5149245
Improve map serialization error logging & exception tolerance ( #6188 )
...
* Improve map serialization error logging
* Prevent remove children of erroring entities
* better logging
* Improve error tolerance
* Even more exception tolerance
* missing !
* Improve handling of category errors
Helps prevents weird bugs that arise due to deleting un-initialized entities
* release notes
* Typo fix
---------
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com >
2025-09-17 21:44:56 +02:00
fbc706f37b
Refactor map loading & saving ( #5572 )
...
* Refactor map loading & saving
* test fixes
* ISerializationManager tweaks
* Fix component composition
* Try fix entity deserialization component composition
* comments
* CL
* error preinit
* a
* cleanup
* error if version is too new
* Add AlwaysPushSerializationTest
* Add auto-inclusion test
* Better categorization
* Combine test components
* Save -> TrySave
Also better handling for saving multiple entities individually
* Create new partial class for map loading
* Add OrphanSerializationTest
* Include MapIds in BeforeSerializationEvent
* Addd LifetimeSerializationTest
* Add TestMixedLifetimeSerialization
* Add CategorizationTest
* explicitly serialize list of nullspace entities
* Add backwards compatibility test
* Version comments
also fixes wrong v4 format
* add MapMergeTest
* Add NetEntity support
* Optimize EntityDeserializer
Avoid unnecessary component deserialization
* fix assert & other bugs
* fucking containers strike again
* Fix deletion of pre-init entities
* fix release note merge conflict
* Update Robust.Shared/Map/MapManager.GridCollection.cs
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
* VV
---------
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
2025-02-16 21:25:07 +11:00