1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-08-15 00:22:17 +00:00
Files
bedrock-protocol-docs/html/svg/connectionRequest.svg
2024-07-17 13:35:22 -07:00

238 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 11.0.0 (20240428.1522)
-->
<!-- Title: ConnectionRequest Pages: 1 -->
<svg width="828pt" height="206pt"
viewBox="0.00 0.00 828.08 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 824.08,-202 824.08,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="84" cy="-99" rx="84" ry="18"/>
<text text-anchor="middle" x="84" y="-93.58" 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.45" cy="-126" rx="103.46" ry="18"/>
<text text-anchor="middle" x="307.45" y="-120.58" 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="M157.82,-107.88C174.65,-109.93 192.81,-112.14 210.47,-114.3"/>
<polygon fill="black" stroke="black" points="209.82,-117.74 220.17,-115.48 210.67,-110.8 209.82,-117.74"/>
</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;ThirdPartyNameOnly&#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.45" cy="-72" rx="54.06" ry="18"/>
<text text-anchor="middle" x="307.45" y="-66.58" 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="M157.82,-90.12C186.06,-86.68 218.04,-82.78 245.08,-79.48"/>
<polygon fill="black" stroke="black" points="245.33,-82.98 254.84,-78.29 244.49,-76.03 245.33,-82.98"/>
</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="678.02" cy="-180" rx="49.57" ry="18"/>
<text text-anchor="middle" x="678.02" y="-174.57" 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="M374.83,-140C397.61,-144.53 423.32,-149.32 446.91,-153 504.98,-162.06 571.73,-169.57 618.33,-174.35"/>
<polygon fill="black" stroke="black" points="617.91,-177.83 628.22,-175.36 618.62,-170.86 617.91,-177.83"/>
</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="518.43" cy="-126" rx="71.52" ry="18"/>
<text text-anchor="middle" x="518.43" y="-120.58" 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="M411.11,-126C419.15,-126 427.21,-126 435.1,-126"/>
<polygon fill="black" stroke="black" points="434.98,-129.5 444.98,-126 434.98,-122.5 434.98,-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="793.08" cy="-180" rx="27" ry="18"/>
<text text-anchor="middle" x="793.08" y="-174.57" 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="M727.95,-180C736.8,-180 745.89,-180 754.35,-180"/>
<polygon fill="black" stroke="black" points="754.29,-183.5 764.29,-180 754.29,-176.5 754.29,-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="678.02" cy="-126" rx="52.06" ry="18"/>
<text text-anchor="middle" x="678.02" y="-120.58" 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="M590.39,-126C598.4,-126 606.53,-126 614.42,-126"/>
<polygon fill="black" stroke="black" points="614.28,-129.5 624.28,-126 614.28,-122.5 614.28,-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="793.08" cy="-126" rx="27" ry="18"/>
<text text-anchor="middle" x="793.08" y="-120.58" 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="M730.26,-126C738.41,-126 746.7,-126 754.46,-126"/>
<polygon fill="black" stroke="black" points="754.22,-129.5 764.22,-126 754.22,-122.5 754.22,-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="518.43" cy="-72" rx="49.57" ry="18"/>
<text text-anchor="middle" x="518.43" y="-66.58" 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="M362,-72C391.17,-72 427.35,-72 457.46,-72"/>
<polygon fill="black" stroke="black" points="457.16,-75.5 467.16,-72 457.16,-68.5 457.16,-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="518.43" cy="-18" rx="71.52" ry="18"/>
<text text-anchor="middle" x="518.43" y="-12.57" 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="M351,-61.01C381.36,-53.16 422.66,-42.49 456.52,-33.74"/>
<polygon fill="black" stroke="black" points="456.95,-37.24 465.76,-31.35 455.2,-30.47 456.95,-37.24"/>
</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="793.08" cy="-72" rx="27" ry="18"/>
<text text-anchor="middle" x="793.08" y="-66.58" 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="M568.49,-72C621.78,-72 705.75,-72 754.19,-72"/>
<polygon fill="black" stroke="black" points="754.19,-75.5 764.19,-72 754.19,-68.5 754.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="678.02" cy="-18" rx="52.06" ry="18"/>
<text text-anchor="middle" x="678.02" y="-12.57" 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="M590.39,-18C598.4,-18 606.53,-18 614.42,-18"/>
<polygon fill="black" stroke="black" points="614.28,-21.5 624.28,-18 614.28,-14.5 614.28,-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="793.08" cy="-18" rx="27" ry="18"/>
<text text-anchor="middle" x="793.08" y="-12.57" 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="M730.26,-18C738.41,-18 746.7,-18 754.46,-18"/>
<polygon fill="black" stroke="black" points="754.22,-21.5 764.22,-18 754.22,-14.5 754.22,-21.5"/>
</g>
</g>
</svg>