1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-07-16 17:35:15 +00:00
Files
bedrock-protocol-docs/html/svg/connectionRequest.svg
2025-05-21 14:00:52 -07:00

237 lines
11 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 12.2.1 (20241206.2353)
-->
<!-- Title: ConnectionRequest Pages: 1 -->
<svg width="839pt" height="206pt"
viewBox="0.00 0.00 838.94 206.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 202)">
<title>ConnectionRequest</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-202 834.94,-202 834.94,4 -4,4"/>
<!-- 0 -->
<!-- name: &quot;ConnectionRequest&quot;, typeName: &quot;&quot;, id: 0, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node1" class="node">
<title>0</title>
<ellipse fill="none" stroke="black" cx="83.08" cy="-99" rx="83.08" ry="18"/>
<text text-anchor="middle" x="83.08" y="-93.95" font-family="Times New Roman,serif" font-size="14.00">ConnectionRequest</text>
</g>
<!-- 1 -->
<!-- name: &quot;Certificate Chain (JSON)&quot;, typeName: &quot;&quot;, id: 1, branchId: 0, recurseId: &#45;1, attributes: 8, notes: &quot;Array of Base64 encoded JSON Web Token certificates to authenticate the player.
The last certificate in the chain will have a property &#39;extraData&#39; that contains player identity information including the XBL XUID (if the player was signed into XBL at the time of the connection).&quot; -->
<g id="node2" class="node">
<title>1</title>
<ellipse fill="none" stroke="black" cx="307.26" cy="-126" rx="105.09" ry="18"/>
<text text-anchor="middle" x="307.26" y="-120.95" font-family="Times New Roman,serif" font-size="14.00">Certificate Chain (JSON)</text>
</g>
<!-- 0&#45;&gt;1 -->
<g id="edge1" class="edge">
<title>0&#45;&gt;1</title>
<path fill="none" stroke="black" d="M156.52,-107.8C173.33,-109.85 191.48,-112.05 209.15,-114.2"/>
<polygon fill="black" stroke="black" points="208.52,-117.65 218.87,-115.38 209.37,-110.7 208.52,-117.65"/>
</g>
<!-- 7 -->
<!-- name: &quot;Raw Token&quot;, typeName: &quot;&quot;, id: 7, branchId: 0, recurseId: &#45;1, attributes: 8, notes: &quot;Base64 encoded JSON Web Token that contains other relevant client properties.&quot;
&quot;Properties Include:
&#39;SelfSignedId&#39;
&#39;ServerAddress&#39; = (unresolved url if applicable)
&#39;ClientRandomId&#39;
&#39;SkinId&#39;
&#39;SkinData&#39;
&#39;SkinImageWidth&#39;
&#39;SkinImageHeight&#39;
&#39;CapeData&#39;
&#39;CapeImageWidth&#39;
&#39;CapeImageHeight&#39;
&#39;SkinResourcePatch&#39;
&#39;SkinGeometryData&#39;
&#39;SkinGeometryDataEngineVersion&#39;
&#39;SkinAnimationData&#39;
&#39;PlayFabId&#39;
&#39;AnimatedImageData = Array of:&#39;
&#39;&#45;&#45; Type&#39;
&#39;&#45;&#45; Image&#39;
&#39;&#45;&#45; ImageWidth&#39;
&#39;&#45;&#45; ImageHeight&#39;
&#39;&#45;&#45; Frames&#39;
&#39;&#45;&#45; AnimationExpression&#39;
&#39;ArmSize&#39;
&#39;SkinColor&#39;
&#39;PersonaPieces = Array of:&#39;
&#39;&#45;&#45; PackId&#39;
&#39;&#45;&#45; PieceId&#39;
&#39;&#45;&#45; IsDefault&#39;
&#39;&#45;&#45; PieceType&#39;
&#39;&#45;&#45; ProuctId&#39;
&#39;PieceTintColors = Array of:&#39;
&#39;&#45;&#45; PieceType&#39;
&#39;&#45;&#45; Colors = Array of color hexstrings&#39;
&#39;IsEduMode (if edu mode)&#39;
&#39;TenantId (if edu mode)&#39;
&#39;ADRole (if edu mode)&#39;
&#39;IsEditorMode&#39;
&#39;GameVersion&#39;
&#39;DeviceModel&#39;
&#39;DeviceOS&#39; = (see enumeration: BuildPlatform)
&#39;DefaultInputMode&#39; = (see enumeration: InputMode)
&#39;CurrentInputMode&#39; = (see enumeration: InputMode)
&#39;UIProfile&#39; = (see enumeration: UIProfile)
&#39;GuiScale&#39;
&#39;LanguageCode&#39;
&#39;PlatformUserId&#39;
&#39;ThirdPartyName&#39;
&#39;PlatformOnlineId&#39;
&#39;PlatformOfflineId&#39;
&#39;DeviceId&#39;
&#39;TrustedSkin&#39;
&#39;PremiumSkin&#39;
&#39;PersonaSkin&#39;
&#39;OverrideSkin&#39;
&#39;CapeOnClassicSkin&#39;
&#39;CapeId&#39;
&#39;CompatibleWithClientSideChunkGen&#39;&quot; -->
<g id="node8" class="node">
<title>7</title>
<ellipse fill="none" stroke="black" cx="307.26" cy="-72" rx="52.89" ry="18"/>
<text text-anchor="middle" x="307.26" y="-66.95" font-family="Times New Roman,serif" font-size="14.00">Raw Token</text>
</g>
<!-- 0&#45;&gt;7 -->
<g id="edge7" class="edge">
<title>0&#45;&gt;7</title>
<path fill="none" stroke="black" d="M156.52,-90.2C185.46,-86.68 218.4,-82.68 245.99,-79.32"/>
<polygon fill="black" stroke="black" points="246.07,-82.84 255.57,-78.16 245.22,-75.89 246.07,-82.84"/>
</g>
<!-- 2 -->
<!-- name: &quot;Array Size&quot;, typeName: &quot;&quot;, id: 2, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node3" class="node">
<title>2</title>
<ellipse fill="none" stroke="black" cx="687.54" cy="-180" rx="50.84" ry="18"/>
<text text-anchor="middle" x="687.54" y="-174.95" font-family="Times New Roman,serif" font-size="14.00">Array Size</text>
</g>
<!-- 1&#45;&gt;2 -->
<g id="edge2" class="edge">
<title>1&#45;&gt;2</title>
<path fill="none" stroke="black" d="M375.41,-140.04C398.47,-144.57 424.48,-149.35 448.35,-153 508.91,-162.25 578.57,-169.79 626.85,-174.53"/>
<polygon fill="black" stroke="black" points="626.24,-177.99 636.53,-175.47 626.91,-171.02 626.24,-177.99"/>
</g>
<!-- 4 -->
<!-- name: &quot;example element&quot;, typeName: &quot;&quot;, id: 4, branchId: 0, recurseId: &#45;1, attributes: 16, notes: &quot;&quot; -->
<g id="node5" class="node">
<title>4</title>
<ellipse fill="none" stroke="black" stroke-dasharray="1,5" cx="523.24" cy="-126" rx="74.89" ry="18"/>
<text text-anchor="middle" x="523.24" y="-120.95" font-family="Times New Roman,serif" font-size="14.00">example element</text>
</g>
<!-- 1&#45;&gt;4 -->
<g id="edge4" class="edge">
<title>1&#45;&gt;4</title>
<path fill="none" stroke="black" d="M412.74,-126C420.73,-126 428.73,-126 436.57,-126"/>
<polygon fill="black" stroke="black" points="436.41,-129.5 446.41,-126 436.41,-122.5 436.41,-129.5"/>
</g>
<!-- 3 -->
<!-- name: &quot;int&quot;, typeName: &quot;&quot;, id: 3, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node4" class="node">
<title>3</title>
<ellipse fill="none" stroke="black" cx="803.94" cy="-180" rx="27" ry="18"/>
<text text-anchor="middle" x="803.94" y="-174.95" font-family="Times New Roman,serif" font-size="14.00">int</text>
</g>
<!-- 2&#45;&gt;3 -->
<g id="edge3" class="edge">
<title>2&#45;&gt;3</title>
<path fill="none" stroke="black" d="M738.71,-180C747.61,-180 756.74,-180 765.21,-180"/>
<polygon fill="black" stroke="black" points="765.16,-183.5 775.16,-180 765.16,-176.5 765.16,-183.5"/>
</g>
<!-- 5 -->
<!-- name: &quot;String Data&quot;, typeName: &quot;&quot;, id: 5, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node6" class="node">
<title>5</title>
<ellipse fill="none" stroke="black" cx="687.54" cy="-126" rx="53.4" ry="18"/>
<text text-anchor="middle" x="687.54" y="-120.95" font-family="Times New Roman,serif" font-size="14.00">String Data</text>
</g>
<!-- 4&#45;&gt;5 -->
<g id="edge5" class="edge">
<title>4&#45;&gt;5</title>
<path fill="none" stroke="black" d="M598.27,-126C606.36,-126 614.54,-126 622.49,-126"/>
<polygon fill="black" stroke="black" points="622.43,-129.5 632.43,-126 622.43,-122.5 622.43,-129.5"/>
</g>
<!-- 6 -->
<!-- name: &quot;byte&quot;, typeName: &quot;&quot;, id: 6, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node7" class="node">
<title>6</title>
<ellipse fill="none" stroke="black" cx="803.94" cy="-126" rx="27" ry="18"/>
<text text-anchor="middle" x="803.94" y="-120.95" font-family="Times New Roman,serif" font-size="14.00">byte</text>
</g>
<!-- 5&#45;&gt;6 -->
<g id="edge6" class="edge">
<title>5&#45;&gt;6</title>
<path fill="none" stroke="black" d="M741.38,-126C749.37,-126 757.48,-126 765.07,-126"/>
<polygon fill="black" stroke="black" points="764.97,-129.5 774.97,-126 764.97,-122.5 764.97,-129.5"/>
</g>
<!-- 8 -->
<!-- name: &quot;Array Size&quot;, typeName: &quot;&quot;, id: 8, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node9" class="node">
<title>8</title>
<ellipse fill="none" stroke="black" cx="523.24" cy="-72" rx="50.84" ry="18"/>
<text text-anchor="middle" x="523.24" y="-66.95" font-family="Times New Roman,serif" font-size="14.00">Array Size</text>
</g>
<!-- 7&#45;&gt;8 -->
<g id="edge8" class="edge">
<title>7&#45;&gt;8</title>
<path fill="none" stroke="black" d="M360.61,-72C390.8,-72 428.93,-72 460.57,-72"/>
<polygon fill="black" stroke="black" points="460.4,-75.5 470.4,-72 460.4,-68.5 460.4,-75.5"/>
</g>
<!-- 10 -->
<!-- name: &quot;example element&quot;, typeName: &quot;&quot;, id: 10, branchId: 0, recurseId: &#45;1, attributes: 16, notes: &quot;&quot; -->
<g id="node11" class="node">
<title>10</title>
<ellipse fill="none" stroke="black" stroke-dasharray="1,5" cx="523.24" cy="-18" rx="74.89" ry="18"/>
<text text-anchor="middle" x="523.24" y="-12.95" font-family="Times New Roman,serif" font-size="14.00">example element</text>
</g>
<!-- 7&#45;&gt;10 -->
<g id="edge10" class="edge">
<title>7&#45;&gt;10</title>
<path fill="none" stroke="black" d="M350.54,-61.33C381.53,-53.51 424.13,-42.76 459.14,-33.92"/>
<polygon fill="black" stroke="black" points="459.91,-37.34 468.75,-31.5 458.2,-30.55 459.91,-37.34"/>
</g>
<!-- 9 -->
<!-- name: &quot;int&quot;, typeName: &quot;&quot;, id: 9, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node10" class="node">
<title>9</title>
<ellipse fill="none" stroke="black" cx="803.94" cy="-72" rx="27" ry="18"/>
<text text-anchor="middle" x="803.94" y="-66.95" font-family="Times New Roman,serif" font-size="14.00">int</text>
</g>
<!-- 8&#45;&gt;9 -->
<g id="edge9" class="edge">
<title>8&#45;&gt;9</title>
<path fill="none" stroke="black" d="M574.39,-72C629.26,-72 715.96,-72 765.3,-72"/>
<polygon fill="black" stroke="black" points="765.19,-75.5 775.19,-72 765.19,-68.5 765.19,-75.5"/>
</g>
<!-- 11 -->
<!-- name: &quot;String Data&quot;, typeName: &quot;&quot;, id: 11, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node12" class="node">
<title>11</title>
<ellipse fill="none" stroke="black" cx="687.54" cy="-18" rx="53.4" ry="18"/>
<text text-anchor="middle" x="687.54" y="-12.95" font-family="Times New Roman,serif" font-size="14.00">String Data</text>
</g>
<!-- 10&#45;&gt;11 -->
<g id="edge11" class="edge">
<title>10&#45;&gt;11</title>
<path fill="none" stroke="black" d="M598.27,-18C606.36,-18 614.54,-18 622.49,-18"/>
<polygon fill="black" stroke="black" points="622.43,-21.5 632.43,-18 622.43,-14.5 622.43,-21.5"/>
</g>
<!-- 12 -->
<!-- name: &quot;byte&quot;, typeName: &quot;&quot;, id: 12, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node13" class="node">
<title>12</title>
<ellipse fill="none" stroke="black" cx="803.94" cy="-18" rx="27" ry="18"/>
<text text-anchor="middle" x="803.94" y="-12.95" font-family="Times New Roman,serif" font-size="14.00">byte</text>
</g>
<!-- 11&#45;&gt;12 -->
<g id="edge12" class="edge">
<title>11&#45;&gt;12</title>
<path fill="none" stroke="black" d="M741.38,-18C749.37,-18 757.48,-18 765.07,-18"/>
<polygon fill="black" stroke="black" points="764.97,-21.5 774.97,-18 764.97,-14.5 764.97,-21.5"/>
</g>
</g>
</svg>