Skip to content

Conversation

bobtista
Copy link

@bobtista bobtista commented Oct 6, 2025

This PR extracts magic character literals ('T', 'R', 'P', 'C', 'F', 'D') into the NetPacketFieldTypes namespace

Testing:

  • No behavior changes - exact same packet format and protocol

Copy link

@xezon xezon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good idea.

@xezon xezon added Network Anything related to network, servers Refactor Edits the code with insignificant behavior changes, is never user facing labels Oct 6, 2025
@bobtista bobtista force-pushed the bobtista/netpackettypes branch from 16c89f3 to 7a593b9 Compare October 7, 2025 16:49
@xezon xezon changed the title refactor(network): Extract magic character literals into named constants refactor(network): Extract magic NetPacket character literals into named constants Oct 8, 2025
@xezon xezon merged commit 870f41c into TheSuperHackers:main Oct 8, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Network Anything related to network, servers Refactor Edits the code with insignificant behavior changes, is never user facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants