carmineos / rage-toolkit

Other
19 stars 6 forks source link

ResourceSystemBlock: Implement Rebuild #8

Open carmineos opened 3 years ago

carmineos commented 3 years ago

Implement Rebuild method for all the block that require to update some fields to be coherent with parts/references blocks.

carmineos commented 2 years ago

An example of this can be found in all those blocks which have a *Count field and which is dependent on a referenced block. The field update can't be done on Write because we can't know which of the blocks is written first. In this case then the fields should be updated in the Rebuild method, we should leave in the Write only the update of the pointers.