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

177 lines
9.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: NpcDialoguePacket Pages: 1 -->
<svg width="598pt" height="314pt"
viewBox="0.00 0.00 597.96 314.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 310)">
<title>NpcDialoguePacket</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-310 593.96,-310 593.96,4 -4,4"/>
<!-- 0 -->
<!-- name: &quot;NpcDialoguePacket&quot;, typeName: &quot;&quot;, id: 0, branchId: 169, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node1" class="node">
<title>0</title>
<ellipse fill="none" stroke="black" cx="84" cy="-153" rx="84" ry="18"/>
<text text-anchor="middle" x="84" y="-147.57" font-family="Times New Roman,serif" font-size="14.00">NpcDialoguePacket</text>
</g>
<!-- 1 -->
<!-- name: &quot;Npc Id Raw Id&quot;, typeName: &quot;&quot;, id: 1, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;The ActorUniqueID of the NPC being remote fired&quot; -->
<g id="node2" class="node">
<title>1</title>
<ellipse fill="none" stroke="black" cx="314.94" cy="-288" rx="67.03" ry="18"/>
<text text-anchor="middle" x="314.94" y="-282.57" font-family="Times New Roman,serif" font-size="14.00">Npc Id Raw Id</text>
</g>
<!-- 0&#45;&gt;1 -->
<g id="edge1" class="edge">
<title>0&#45;&gt;1</title>
<path fill="none" stroke="black" d="M99.54,-170.88C120.2,-195.06 160.4,-237.81 204,-261 216.45,-267.63 230.57,-272.66 244.44,-276.48"/>
<polygon fill="black" stroke="black" points="243.45,-279.83 254.01,-278.91 245.18,-273.05 243.45,-279.83"/>
</g>
<!-- 3 -->
<!-- name: &quot;Npc Dialogue Action Type&quot;, typeName: &quot;&quot;, id: 3, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node4" class="node">
<title>3</title>
<ellipse fill="none" stroke="black" cx="314.94" cy="-234" rx="110.94" ry="18"/>
<text text-anchor="middle" x="314.94" y="-228.57" font-family="Times New Roman,serif" font-size="14.00">Npc Dialogue Action Type</text>
</g>
<!-- 0&#45;&gt;3 -->
<g id="edge3" class="edge">
<title>0&#45;&gt;3</title>
<path fill="none" stroke="black" d="M117.92,-169.94C141.44,-181.54 174.09,-196.64 204,-207 213.99,-210.46 224.64,-213.66 235.23,-216.55"/>
<polygon fill="black" stroke="black" points="234.18,-219.9 244.75,-219.07 235.97,-213.13 234.18,-219.9"/>
</g>
<!-- 5 -->
<!-- name: &quot;Dialogue&quot;, typeName: &quot;&quot;, id: 5, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;The text to be displayed to the client&quot; -->
<g id="node6" class="node">
<title>5</title>
<ellipse fill="none" stroke="black" cx="314.94" cy="-180" rx="43.08" ry="18"/>
<text text-anchor="middle" x="314.94" y="-174.57" font-family="Times New Roman,serif" font-size="14.00">Dialogue</text>
</g>
<!-- 0&#45;&gt;5 -->
<g id="edge5" class="edge">
<title>0&#45;&gt;5</title>
<path fill="none" stroke="black" d="M158.38,-161.65C192.01,-165.62 231.1,-170.23 261.68,-173.84"/>
<polygon fill="black" stroke="black" points="261.11,-177.29 271.45,-174.99 261.93,-170.34 261.11,-177.29"/>
</g>
<!-- 7 -->
<!-- name: &quot;Scene Name&quot;, typeName: &quot;&quot;, id: 7, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;The scene the data has been pulled from for the client to reference&quot; -->
<g id="node8" class="node">
<title>7</title>
<ellipse fill="none" stroke="black" cx="314.94" cy="-126" rx="57.05" ry="18"/>
<text text-anchor="middle" x="314.94" y="-120.58" font-family="Times New Roman,serif" font-size="14.00">Scene Name</text>
</g>
<!-- 0&#45;&gt;7 -->
<g id="edge7" class="edge">
<title>0&#45;&gt;7</title>
<path fill="none" stroke="black" d="M158.38,-144.35C187.69,-140.89 221.15,-136.94 249.51,-133.6"/>
<polygon fill="black" stroke="black" points="249.89,-137.08 259.41,-132.43 249.07,-130.13 249.89,-137.08"/>
</g>
<!-- 9 -->
<!-- name: &quot;Npc Name&quot;, typeName: &quot;&quot;, id: 9, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;The name of the NPC to be displayed to the client&quot; -->
<g id="node10" class="node">
<title>9</title>
<ellipse fill="none" stroke="black" cx="314.94" cy="-72" rx="50.56" ry="18"/>
<text text-anchor="middle" x="314.94" y="-66.58" font-family="Times New Roman,serif" font-size="14.00">Npc Name</text>
</g>
<!-- 0&#45;&gt;9 -->
<g id="edge9" class="edge">
<title>0&#45;&gt;9</title>
<path fill="none" stroke="black" d="M117.92,-136.06C141.44,-124.46 174.09,-109.36 204,-99 221.6,-92.9 241.24,-87.62 258.99,-83.38"/>
<polygon fill="black" stroke="black" points="259.63,-86.83 268.58,-81.16 258.05,-80.01 259.63,-86.83"/>
</g>
<!-- 11 -->
<!-- name: &quot;Action JSON&quot;, typeName: &quot;&quot;, id: 11, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;The JSON string of the buttons/actions the server can perform. The server is still authoritative on what actions can be performed&quot; -->
<g id="node12" class="node">
<title>11</title>
<ellipse fill="none" stroke="black" cx="314.94" cy="-18" rx="60.54" ry="18"/>
<text text-anchor="middle" x="314.94" y="-12.57" font-family="Times New Roman,serif" font-size="14.00">Action JSON</text>
</g>
<!-- 0&#45;&gt;11 -->
<g id="edge11" class="edge">
<title>0&#45;&gt;11</title>
<path fill="none" stroke="black" d="M99.54,-135.12C120.2,-110.94 160.4,-68.19 204,-45 217.75,-37.68 233.52,-32.31 248.75,-28.38"/>
<polygon fill="black" stroke="black" points="249.32,-31.84 258.24,-26.11 247.7,-25.03 249.32,-31.84"/>
</g>
<!-- 2 -->
<!-- name: &quot;unsigned int64&quot;, typeName: &quot;&quot;, id: 2, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node3" class="node">
<title>2</title>
<ellipse fill="none" stroke="black" cx="525.92" cy="-288" rx="64.04" ry="18"/>
<text text-anchor="middle" x="525.92" y="-282.57" font-family="Times New Roman,serif" font-size="14.00">unsigned int64</text>
</g>
<!-- 1&#45;&gt;2 -->
<g id="edge2" class="edge">
<title>1&#45;&gt;2</title>
<path fill="none" stroke="black" d="M382.35,-288C403.93,-288 428.01,-288 450.15,-288"/>
<polygon fill="black" stroke="black" points="450.02,-291.5 460.02,-288 450.02,-284.5 450.02,-291.5"/>
</g>
<!-- 4 -->
<!-- name: &quot;varint&quot;, typeName: &quot;&quot;, id: 4, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node5" class="node">
<title>4</title>
<ellipse fill="none" stroke="black" cx="525.92" cy="-234" rx="31.1" ry="18"/>
<text text-anchor="middle" x="525.92" y="-228.57" font-family="Times New Roman,serif" font-size="14.00">varint</text>
</g>
<!-- 3&#45;&gt;4 -->
<g id="edge4" class="edge">
<title>3&#45;&gt;4</title>
<path fill="none" stroke="black" d="M426.24,-234C446.46,-234 466.38,-234 482.97,-234"/>
<polygon fill="black" stroke="black" points="482.91,-237.5 492.91,-234 482.91,-230.5 482.91,-237.5"/>
</g>
<!-- 6 -->
<!-- name: &quot;string&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="525.92" cy="-180" rx="31.1" ry="18"/>
<text text-anchor="middle" x="525.92" y="-174.57" font-family="Times New Roman,serif" font-size="14.00">string</text>
</g>
<!-- 5&#45;&gt;6 -->
<g id="edge6" class="edge">
<title>5&#45;&gt;6</title>
<path fill="none" stroke="black" d="M358.48,-180C394.99,-180 447.28,-180 483.47,-180"/>
<polygon fill="black" stroke="black" points="483.1,-183.5 493.1,-180 483.1,-176.5 483.1,-183.5"/>
</g>
<!-- 8 -->
<!-- name: &quot;string&quot;, typeName: &quot;&quot;, id: 8, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node9" class="node">
<title>8</title>
<ellipse fill="none" stroke="black" cx="525.92" cy="-126" rx="31.1" ry="18"/>
<text text-anchor="middle" x="525.92" y="-120.58" font-family="Times New Roman,serif" font-size="14.00">string</text>
</g>
<!-- 7&#45;&gt;8 -->
<g id="edge8" class="edge">
<title>7&#45;&gt;8</title>
<path fill="none" stroke="black" d="M372.22,-126C407.21,-126 451.44,-126 483.28,-126"/>
<polygon fill="black" stroke="black" points="482.9,-129.5 492.9,-126 482.9,-122.5 482.9,-129.5"/>
</g>
<!-- 10 -->
<!-- name: &quot;string&quot;, typeName: &quot;&quot;, id: 10, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node11" class="node">
<title>10</title>
<ellipse fill="none" stroke="black" cx="525.92" cy="-72" rx="31.1" ry="18"/>
<text text-anchor="middle" x="525.92" y="-66.58" font-family="Times New Roman,serif" font-size="14.00">string</text>
</g>
<!-- 9&#45;&gt;10 -->
<g id="edge10" class="edge">
<title>9&#45;&gt;10</title>
<path fill="none" stroke="black" d="M365.99,-72C401.75,-72 449.3,-72 483.04,-72"/>
<polygon fill="black" stroke="black" points="482.85,-75.5 492.85,-72 482.85,-68.5 482.85,-75.5"/>
</g>
<!-- 12 -->
<!-- name: &quot;string&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="525.92" cy="-18" rx="31.1" ry="18"/>
<text text-anchor="middle" x="525.92" y="-12.57" font-family="Times New Roman,serif" font-size="14.00">string</text>
</g>
<!-- 11&#45;&gt;12 -->
<g id="edge12" class="edge">
<title>11&#45;&gt;12</title>
<path fill="none" stroke="black" d="M375.82,-18C410.15,-18 452.39,-18 483.14,-18"/>
<polygon fill="black" stroke="black" points="482.8,-21.5 492.8,-18 482.8,-14.5 482.8,-21.5"/>
</g>
</g>
</svg>