mirror of
https://github.com/overte-org/overte.git
synced 2025-07-15 16:57:10 +02:00
Merge pull request #12545 from birarda/bug/fix-nlpacket-ascii
fix ASCII art for packet headers in NLPacket
This commit is contained in:
commit
762e36ef19
1 changed files with 17 additions and 6 deletions
|
@ -21,15 +21,26 @@
|
||||||
class NLPacket : public udt::Packet {
|
class NLPacket : public udt::Packet {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
|
//
|
||||||
|
// | BYTE | BYTE | BYTE | BYTE |
|
||||||
|
//
|
||||||
// 0 1 2 3
|
// 0 1 2 3
|
||||||
// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
|
// 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
|
||||||
// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||||
// | Packet Type | Packet Version |
|
// | Packet Type | Version | |
|
||||||
// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
|
||||||
// | Node UUID | Hash (only if verified) | Optional (only if sourced)
|
// | |
|
||||||
// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
// | Node UUID - 16 bytes |
|
||||||
//
|
// | (ONLY FOR SOURCED PACKETS) |
|
||||||
|
// | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||||
|
// | | |
|
||||||
|
// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
|
||||||
|
// | |
|
||||||
|
// | MD5 Verification - 16 bytes |
|
||||||
|
// | (ONLY FOR VERIFIED PACKETS) |
|
||||||
|
// | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||||
|
// | | |
|
||||||
|
// +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
|
||||||
// NLPacket Header Format
|
// NLPacket Header Format
|
||||||
|
|
||||||
// this is used by the Octree classes - must be known at compile time
|
// this is used by the Octree classes - must be known at compile time
|
||||||
|
|
Loading…
Reference in a new issue