Correctly pass _offset to added callbacks instead of reader.BaseStream.Position. This is especially helpful for identifying resources tied to a specific HMD model.
Changed HMD model _offset assignment until after all resources are added. And put it outside of the try/catch in-case an error happens inside an added callback.
Some minor refactoring with the added callbacks so that they are all consistent.
Use readonly.
No empty line between this and _offset field.
Correct "_entity"/"_animation"/"_texture" name prefix.
Removed "Action" postfix from constructor argument names.
_offset
to added callbacks instead ofreader.BaseStream.Position
. This is especially helpful for identifying resources tied to a specific HMD model._offset
assignment until after all resources are added. And put it outside of the try/catch in-case an error happens inside an added callback._offset
field.