Tíquete #45166

generate_packets.py: Introduce PacketsDefinition class

: 2022-07-20 22:05 Última Atualização: 2022-07-22 20:37

Relator:
Tipo:
Estado:
Fechado
Componente:
Marcos:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
Nenhum

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

Ticket History (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
Comentário

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

2022-07-22 20:37 Updated by: alienvalkyrie
  • Estado Update from Aberto to Fechado
  • Resolução Update from Nenhum to Fixed

Attachment File List

No attachments

Editar

Please login to add comment to this ticket » Login