Update Design Doc: `level` tool

master
Ashley N. 2023-09-08 00:36:38 +00:00
parent b0d0bb2671
commit 688002cd1e
1 changed files with 5 additions and 3 deletions

@ -98,15 +98,17 @@ For (number of entities):
``` ```
* 2 bytes: Number of components * 2 bytes: Number of components
For (number of components): For (number of components):
* 2 bytes: Component ID * 4 bytes: Component ID
* 2 bytes: ID of the associated entity * Upper 2 bytes - ID of the associated entity
* Lower 2 bytes - Index of the component within above entity
``` ```
#### Component Attributes #### Component Attributes
``` ```
* 2 bytes: Number of component attributes * 2 bytes: Number of component attributes
For (number of component attributes): For (number of component attributes):
* 2 bytes: ID of the component * 2 bytes: ID of the associated entity
* 2 bytes: Index of the component within above entity
* 2 bytes: Index of the property (Order of properties are identical to order of properties in configuration TOML) * 2 bytes: Index of the property (Order of properties are identical to order of properties in configuration TOML)
* 2 bytes: Value of the property * 2 bytes: Value of the property
``` ```