mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-08-15 00:22:17 +00:00
238 lines
11 KiB
XML
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: "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="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: "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.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->1 -->
|
|
<g id="edge1" class="edge">
|
|
<title>0->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: "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'
|
|
'ThirdPartyNameOnly'
|
|
'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.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->7 -->
|
|
<g id="edge7" class="edge">
|
|
<title>0->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: "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="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->2 -->
|
|
<g id="edge2" class="edge">
|
|
<title>1->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: "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="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->4 -->
|
|
<g id="edge4" class="edge">
|
|
<title>1->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: "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="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->3 -->
|
|
<g id="edge3" class="edge">
|
|
<title>2->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: "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="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->5 -->
|
|
<g id="edge5" class="edge">
|
|
<title>4->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: "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="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->6 -->
|
|
<g id="edge6" class="edge">
|
|
<title>5->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: "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="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->8 -->
|
|
<g id="edge8" class="edge">
|
|
<title>7->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: "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="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->10 -->
|
|
<g id="edge10" class="edge">
|
|
<title>7->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: "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="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->9 -->
|
|
<g id="edge9" class="edge">
|
|
<title>8->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: "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="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->11 -->
|
|
<g id="edge11" class="edge">
|
|
<title>10->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: "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="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->12 -->
|
|
<g id="edge12" class="edge">
|
|
<title>11->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>
|