Ticket #45166

generate_packets.py: Introduce PacketsDefinition class

Eröffnet am: 2022-07-20 22:05 Letztes Update: 2022-07-22 20:37

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
Keine

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-Verlauf (3/4 Historien)

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

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

2022-07-22 20:37 Aktualisiert von: alienvalkyrie
  • Status Update from Offen to Geschlossen
  • Lösung Update from Keine to Gefixt

Dateianhangliste

Keine Anhänge

Bearbeiten

Please login to add comment to this ticket » Anmelden