z-edit / zedit-unified-patching-framework

A zEdit module which provides a framework for dynamic patch generation, similar to SkyProc/SUM.
MIT License
14 stars 3 forks source link

Have a syntax for getting records in process blocks alternative to load #7

Closed matortheeternal closed 6 years ago

matortheeternal commented 6 years ago

Thinking it could either be using load as a function and returning an array of record handles OR adding a new syntax like getRecords which would do the same thing. The great advantage of this is it will support patchers which need to patch records based on how they are referenced from other records without developers having to resort to doing everything in initialize and manage customProgess.

matortheeternal commented 6 years ago

leaning towards just using load as a function returning an array. it seems clean and doesn't require adding too much more code.

matortheeternal commented 6 years ago

Actually, we can't use load because it is already used once for each file that is being patched. New syntax will be records