forked from rojo-rbx/rbx-dom
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Serialize humanoid parent links last in rbx-binary
PR to merge this upstream is open, but this allows us to use it now.
- Loading branch information
Showing
6 changed files
with
119 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
rbx_binary/src/tests/snapshots/rbx_binary__tests__serializer__parent_humanoid_last.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
--- | ||
source: rbx_binary/src/tests/serializer.rs | ||
assertion_line: 213 | ||
expression: decoded | ||
--- | ||
num_types: 3 | ||
num_instances: 3 | ||
chunks: | ||
- Inst: | ||
type_id: 1 | ||
type_name: Humanoid | ||
object_format: 0 | ||
referents: | ||
- 1 | ||
- Inst: | ||
type_id: 0 | ||
type_name: Model | ||
object_format: 0 | ||
referents: | ||
- 0 | ||
- Inst: | ||
type_id: 2 | ||
type_name: Motor6D | ||
object_format: 0 | ||
referents: | ||
- 2 | ||
- Prop: | ||
type_id: 1 | ||
prop_name: Name | ||
prop_type: String | ||
values: | ||
- Humanoid | ||
- Prop: | ||
type_id: 0 | ||
prop_name: Name | ||
prop_type: String | ||
values: | ||
- Model | ||
- Prop: | ||
type_id: 2 | ||
prop_name: Name | ||
prop_type: String | ||
values: | ||
- Motor6D | ||
- Prnt: | ||
version: 0 | ||
links: | ||
- - 0 | ||
- -1 | ||
- - 2 | ||
- 1 | ||
- - 1 | ||
- 0 | ||
- End | ||
|