mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Implement live syncback service properties encoding and enhance syncback functionality
- Introduced a new `encodeService` helper in the plugin to serialize service properties, attributes, tags, and references alongside children data. - Updated the `performSyncback` function to utilize the new encoding method, ensuring all services are processed without child-only restrictions. - Extended the `ServiceChunk` struct to include fields for properties, attributes, tags, and references, improving data handling during syncback. - Modified the `build_dom_from_chunks` function to apply service properties and resolve references when reconstructing the service instances. - Added comprehensive tests to validate the new service properties handling, ensuring accurate synchronization and data integrity. These enhancements significantly improve the live syncback process, allowing for better service data management and consistency.
This commit is contained in:
parent
30e032b27e
commit
72ad84b5a7
16 changed files with 896 additions and 444 deletions
|
|
@ -13,6 +13,26 @@
|
|||
"Workspace": {
|
||||
"$className": "Workspace",
|
||||
"$path": "src/workspace"
|
||||
},
|
||||
"Lighting": {
|
||||
"$className": "Lighting",
|
||||
"$path": "src/lighting"
|
||||
},
|
||||
"SoundService": {
|
||||
"$className": "SoundService",
|
||||
"$path": "src/soundservice"
|
||||
},
|
||||
"StarterPlayer": {
|
||||
"$className": "StarterPlayer",
|
||||
"$path": "src/starterplayer"
|
||||
},
|
||||
"TextChatService": {
|
||||
"$className": "TextChatService",
|
||||
"$path": "src/textchatservice"
|
||||
},
|
||||
"VoiceChatService": {
|
||||
"$className": "VoiceChatService",
|
||||
"$path": "src/voicechatservice"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue