Part of #43927. This is a meta-ticket tracking the task of replacing the list[Packet] passed around the bottom quarter of the script with a dedicated PacketsDefinition class, and moving most of the module-level functions involved in either creating it or producing code based on it into that new class as methods. For an idea of what the end result might look like, the prototype (or current state thereof) is on my github fork. (Unless you're reading this far enough in the future, when that branch will likely no longer exist.)
Part of #43927. This is a meta-ticket tracking the task of replacing the list[Packet] passed around the bottom quarter of the script with a dedicated PacketsDefinition class, and moving most of the module-level functions involved in either creating it or producing code based on it into that new class as methods. For an idea of what the end result might look like, the prototype (or current state thereof) is on my github fork. (Unless you're reading this far enough in the future, when that branch will likely no longer exist.)
Issues: