mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-07-16 17:35:15 +00:00
237 lines
11 KiB
XML
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: "ConnectionRequest", typeName: "", id: 0, branchId: 0, recurseId: -1, attributes: 0, notes: "" -->
|
|
<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: "Certificate Chain (JSON)", typeName: "", id: 1, branchId: 0, recurseId: -1, attributes: 8, notes: "Array of Base64 encoded JSON Web Token certificates to authenticate the player.
|
|
|
|
The last certificate in the chain will have a property 'extraData' that contains player identity information including the XBL XUID (if the player was signed into XBL at the time of the connection)." -->
|
|
<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->1 -->
|
|
<g id="edge1" class="edge">
|
|
<title>0->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: "Raw Token", typeName: "", id: 7, branchId: 0, recurseId: -1, attributes: 8, notes: "Base64 encoded JSON Web Token that contains other relevant client properties."
|
|
"Properties Include:
|
|
'SelfSignedId'
|
|
'ServerAddress' = (unresolved url if applicable)
|
|
'ClientRandomId'
|
|
'SkinId'
|
|
'SkinData'
|
|
'SkinImageWidth'
|
|
'SkinImageHeight'
|
|
'CapeData'
|
|
'CapeImageWidth'
|
|
'CapeImageHeight'
|
|
'SkinResourcePatch'
|
|
'SkinGeometryData'
|
|
'SkinGeometryDataEngineVersion'
|
|
'SkinAnimationData'
|
|
'PlayFabId'
|
|
'AnimatedImageData = Array of:'
|
|
'-- Type'
|
|
'-- Image'
|
|
'-- ImageWidth'
|
|
'-- ImageHeight'
|
|
'-- Frames'
|
|
'-- AnimationExpression'
|
|
'ArmSize'
|
|
'SkinColor'
|
|
'PersonaPieces = Array of:'
|
|
'-- PackId'
|
|
'-- PieceId'
|
|
'-- IsDefault'
|
|
'-- PieceType'
|
|
'-- ProuctId'
|
|
'PieceTintColors = Array of:'
|
|
'-- PieceType'
|
|
'-- Colors = Array of color hexstrings'
|
|
'IsEduMode (if edu mode)'
|
|
'TenantId (if edu mode)'
|
|
'ADRole (if edu mode)'
|
|
'IsEditorMode'
|
|
'GameVersion'
|
|
'DeviceModel'
|
|
'DeviceOS' = (see enumeration: BuildPlatform)
|
|
'DefaultInputMode' = (see enumeration: InputMode)
|
|
'CurrentInputMode' = (see enumeration: InputMode)
|
|
'UIProfile' = (see enumeration: UIProfile)
|
|
'GuiScale'
|
|
'LanguageCode'
|
|
'PlatformUserId'
|
|
'ThirdPartyName'
|
|
'PlatformOnlineId'
|
|
'PlatformOfflineId'
|
|
'DeviceId'
|
|
'TrustedSkin'
|
|
'PremiumSkin'
|
|
'PersonaSkin'
|
|
'OverrideSkin'
|
|
'CapeOnClassicSkin'
|
|
'CapeId'
|
|
'CompatibleWithClientSideChunkGen'" -->
|
|
<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->7 -->
|
|
<g id="edge7" class="edge">
|
|
<title>0->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: "Array Size", typeName: "", id: 2, branchId: 0, recurseId: -1, attributes: 0, notes: "" -->
|
|
<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->2 -->
|
|
<g id="edge2" class="edge">
|
|
<title>1->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: "example element", typeName: "", id: 4, branchId: 0, recurseId: -1, attributes: 16, notes: "" -->
|
|
<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->4 -->
|
|
<g id="edge4" class="edge">
|
|
<title>1->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: "int", typeName: "", id: 3, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<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->3 -->
|
|
<g id="edge3" class="edge">
|
|
<title>2->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: "String Data", typeName: "", id: 5, branchId: 0, recurseId: -1, attributes: 0, notes: "" -->
|
|
<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->5 -->
|
|
<g id="edge5" class="edge">
|
|
<title>4->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: "byte", typeName: "", id: 6, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<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->6 -->
|
|
<g id="edge6" class="edge">
|
|
<title>5->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: "Array Size", typeName: "", id: 8, branchId: 0, recurseId: -1, attributes: 0, notes: "" -->
|
|
<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->8 -->
|
|
<g id="edge8" class="edge">
|
|
<title>7->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: "example element", typeName: "", id: 10, branchId: 0, recurseId: -1, attributes: 16, notes: "" -->
|
|
<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->10 -->
|
|
<g id="edge10" class="edge">
|
|
<title>7->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: "int", typeName: "", id: 9, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<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->9 -->
|
|
<g id="edge9" class="edge">
|
|
<title>8->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: "String Data", typeName: "", id: 11, branchId: 0, recurseId: -1, attributes: 0, notes: "" -->
|
|
<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->11 -->
|
|
<g id="edge11" class="edge">
|
|
<title>10->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: "byte", typeName: "", id: 12, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<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->12 -->
|
|
<g id="edge12" class="edge">
|
|
<title>11->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>
|