Skip to content

fix(classic): use generated packet command IDs - #265

Merged
zoeyrose merged 2 commits into
mainfrom
fix/packet-command-ids
Sep 24, 2026
Merged

zoeyrose merged 2 commits into
mainfrom
fix/packet-command-ids

Conversation

@zoeyrose

@zoeyrose zoeyrose commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

Summary

Replace the stale numeric notification and map-stat command IDs in the Classic-target packet helpers with the generated Atrinik constants.

Implementation / behavior

  • Dispatch notifications through Atrinik.CLIENT_CMD_NOTIFICATION.
  • Dispatch map stats through Atrinik.CLIENT_CMD_MAPSTATS.
  • Preserve the existing helper signatures, optional fields, field order, and payload values.
  • Add focused offline coverage with a recording SendPacket receiver.

Validation

  • Focused packet-helper tests
  • python3 tools/validate.py
  • git diff --check
  • Independent whole-diff review

Limitations / follow-up

Publication is gated on Classic #550 merging the generated constant exports. Native runtime qualification remains owned by Atrinik #604.

Closes #264

Delivery status

Classic #550 merged as d926f6fd0418fb1af9060158c43d8d3ff5252580. The merged source exports CLIENT_CMD_NOTIFICATION = 26 and CLIENT_CMD_MAPSTATS = 12; its embedded-module tests and the content packet integration check pass at content head 646c42dca71189b17b163eb4606e23cb5d0b8387. This satisfies the generated-constant publication prerequisite.

Native runtime qualification remains owned by Atrinik #604.

@zoeyrose
zoeyrose marked this pull request as ready for review September 24, 2026 22:15
@zoeyrose
zoeyrose merged commit d5fc39f into main Sep 24, 2026
9 checks passed
@zoeyrose
zoeyrose deleted the fix/packet-command-ids branch September 24, 2026 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(classic): dispatch notification and map-stat helpers with generated command IDs

1 participant