RSZ: add option to include order attribute from reflection properties for GameObjectRef fields #1434
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PFB files have a
GameObjectRefInfostable. Each entry has aproperty_idattribute that references a field in the source object (the field is always of typevia.GameObjectRef).property_idis a 32-bit value encoding:To fully rebuild PFB files without hardcoding
property_ids, the order attribute must be dumped for allvia.GameObjectReffields. This allows matching the lower 16 bits ofproperty_idto the correct field by its order value.For this purpose I included a
--include_orderoption.