mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-06-13 21:42:01 +00:00
47 lines
2.4 KiB
XML
47 lines
2.4 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
|
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
<!-- Generated by graphviz version 11.0.0 (20240428.1522)
|
|
-->
|
|
<!-- Title: Packet Header Pages: 1 -->
|
|
<svg width="437pt" height="44pt"
|
|
viewBox="0.00 0.00 437.28 44.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 40)">
|
|
<title>Packet Header</title>
|
|
<polygon fill="white" stroke="none" points="-4,4 -4,-40 433.28,-40 433.28,4 -4,4"/>
|
|
<!-- 0 -->
|
|
<!-- name: "Packet Header", typeName: "", id: 0, branchId: 0, recurseId: -1, attributes: 0, notes: "" -->
|
|
<g id="node1" class="node">
|
|
<title>0</title>
|
|
<ellipse fill="none" stroke="black" cx="64.54" cy="-18" rx="64.54" ry="18"/>
|
|
<text text-anchor="middle" x="64.54" y="-12.57" font-family="Times New Roman,serif" font-size="14.00">Packet Header</text>
|
|
</g>
|
|
<!-- 1 -->
|
|
<!-- name: "Packet ID", typeName: "", id: 1, branchId: 0, recurseId: -1, attributes: 0, notes: "The first 10 value bits are the packet id, the next 2 value bits are the Sender SubClientID, and the next 2 value bits are the Target SubClientID" -->
|
|
<g id="node2" class="node">
|
|
<title>1</title>
|
|
<ellipse fill="none" stroke="black" cx="212.64" cy="-18" rx="47.57" ry="18"/>
|
|
<text text-anchor="middle" x="212.64" y="-12.57" font-family="Times New Roman,serif" font-size="14.00">Packet ID</text>
|
|
</g>
|
|
<!-- 0->1 -->
|
|
<g id="edge1" class="edge">
|
|
<title>0->1</title>
|
|
<path fill="none" stroke="black" d="M129.2,-18C137.26,-18 145.47,-18 153.44,-18"/>
|
|
<polygon fill="black" stroke="black" points="153.38,-21.5 163.38,-18 153.38,-14.5 153.38,-21.5"/>
|
|
</g>
|
|
<!-- 2 -->
|
|
<!-- name: "unsigned varint", typeName: "", id: 2, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<g id="node3" class="node">
|
|
<title>2</title>
|
|
<ellipse fill="none" stroke="black" cx="362.75" cy="-18" rx="66.53" ry="18"/>
|
|
<text text-anchor="middle" x="362.75" y="-12.57" font-family="Times New Roman,serif" font-size="14.00">unsigned varint</text>
|
|
</g>
|
|
<!-- 1->2 -->
|
|
<g id="edge2" class="edge">
|
|
<title>1->2</title>
|
|
<path fill="none" stroke="black" d="M260.51,-18C268.25,-18 276.46,-18 284.72,-18"/>
|
|
<polygon fill="black" stroke="black" points="284.47,-21.5 294.47,-18 284.47,-14.5 284.47,-21.5"/>
|
|
</g>
|
|
</g>
|
|
</svg>
|