任务单 #45166

generate_packets.py: Introduce PacketsDefinition class

开放日期: 2022-07-20 22:05 最后更新: 2022-07-22 20:37

报告人:
属主:
类型:
状态:
关闭
组件:
里程碑:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:

Details

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:

  • create / move parse code into class #45167
  • factor out method to iterate by number #45168
  • move all_caps_union() #45169
  • move packet_functional_capability generation #45170
  • move delta_stats_report() generation #45171
  • move delta_stats_reset() generation #45172
  • move packet_name() generation #45173
  • move packet_has_game_info_flag() generation #45174
  • move packet_handlers_fill_initial() generation #45175
  • move packet_handlers_fill_capability() generation #45176
  • move enum packet_type generation #45177

任务单历史 (3/4 Histories)

2022-07-20 22:05 Updated by: alienvalkyrie
  • New Ticket "generate_packets.py: Introduce PacketsDefinition class" created
2022-07-20 22:57 Updated by: alienvalkyrie
  • Details Updated
2022-07-21 00:15 Updated by: alienvalkyrie
评论

All sub-issues are now in review. Once they are merged, this ticket will be closed.

2022-07-22 20:37 Updated by: alienvalkyrie
  • 状态 Update from 开启 to 关闭
  • 处理结果 Update from to Fixed

Attachment File List

No attachments

编辑

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登录名