Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature packet log #1038

Merged
merged 5 commits into from
Apr 18, 2020
Merged

Conversation

EtienneDx
Copy link
Contributor

According to #874 , I modified the Network debugger to cound every outgoing and incomming packet, and their types, as well as a way to see the different packets as they are sent/arrive.

The debugger now includes 5 tabs:

  • All packets
  • The sent packets
  • The received packets
  • The count of packets per type
  • A filter of packets for the first 3 tabs

The first threee tabs includes a detail section for each packet, displaying by default the result of .ToString. To modify the default output, the packet must be an IDebugPacket and implement the GetDebugString() method.

Preview:

image

image

image

@Measurity Measurity linked an issue Apr 14, 2020 that may be closed by this pull request
Copy link
Collaborator

@Measurity Measurity left a comment

Choose a reason for hiding this comment

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

Created a PR instead of review: EtienneDx#1

@Sunrunner37 Sunrunner37 merged commit b73d55d into SubnauticaNitrox:master Apr 18, 2020
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.

Implement a rudimentary packet log in-game.
4 participants