1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-02-24 09:45:28 +00:00
bedrock-protocol-docs/html/svg/GameRulesChangedPacketData.svg
Oswaldo Leyva Barrientos 933599d224 Protocol version 622 for r/20_u7
2024-02-15 15:10:22 -08:00

231 lines
12 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 9.0.0 (20230911.1827)
-->
<!-- Title: GameRulesChangedPacketData Pages: 1 -->
<svg width="1353pt" height="368pt"
viewBox="0.00 0.00 1353.07 368.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 364)">
<title>GameRulesChangedPacketData</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-364 1349.07,-364 1349.07,4 -4,4"/>
<!-- 1 -->
<!-- name: &quot;GameRulesChangedPacketData&quot;, typeName: &quot;&quot;, id: 1, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node1" class="node">
<title>1</title>
<ellipse fill="none" stroke="black" cx="128.41" cy="-280" rx="128.41" ry="18"/>
<text text-anchor="middle" x="128.41" y="-274.57" font-family="Times New Roman,serif" font-size="14.00">GameRulesChangedPacketData</text>
</g>
<!-- 2 -->
<!-- name: &quot;Rules List&quot;, typeName: &quot;&quot;, id: 2, branchId: 0, recurseId: &#45;1, attributes: 8, notes: &quot;&quot; -->
<g id="node2" class="node">
<title>2</title>
<ellipse fill="none" stroke="black" cx="340.89" cy="-280" rx="48.07" ry="18"/>
<text text-anchor="middle" x="340.89" y="-274.57" font-family="Times New Roman,serif" font-size="14.00">Rules List</text>
</g>
<!-- 1&#45;&gt;2 -->
<g id="edge1" class="edge">
<title>1&#45;&gt;2</title>
<path fill="none" stroke="black" d="M257.3,-280C265.44,-280 273.38,-280 280.93,-280"/>
<polygon fill="black" stroke="black" points="280.92,-283.5 290.92,-280 280.92,-276.5 280.92,-283.5"/>
</g>
<!-- 3 -->
<!-- name: &quot;Array Size&quot;, typeName: &quot;&quot;, id: 3, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node3" class="node">
<title>3</title>
<ellipse fill="none" stroke="black" cx="924.94" cy="-338" rx="49.57" ry="18"/>
<text text-anchor="middle" x="924.94" y="-332.57" font-family="Times New Roman,serif" font-size="14.00">Array Size</text>
</g>
<!-- 2&#45;&gt;3 -->
<g id="edge2" class="edge">
<title>2&#45;&gt;3</title>
<path fill="none" stroke="black" d="M386.83,-285.78C438.99,-292.38 527.64,-303.26 604,-311 694.9,-320.21 800.56,-328.69 864.81,-333.61"/>
<polygon fill="black" stroke="black" points="864.18,-337.07 874.42,-334.34 864.71,-330.09 864.18,-337.07"/>
</g>
<!-- 5 -->
<!-- name: &quot;example element&quot;, typeName: &quot;&quot;, id: 5, branchId: 0, recurseId: &#45;1, attributes: 16, notes: &quot;&quot; -->
<g id="node5" class="node">
<title>5</title>
<ellipse fill="none" stroke="black" stroke-dasharray="1,5" cx="496.48" cy="-234" rx="71.52" ry="18"/>
<text text-anchor="middle" x="496.48" y="-228.57" font-family="Times New Roman,serif" font-size="14.00">example element</text>
</g>
<!-- 2&#45;&gt;5 -->
<g id="edge4" class="edge">
<title>2&#45;&gt;5</title>
<path fill="none" stroke="black" d="M379.07,-268.86C396.9,-263.53 418.65,-257.01 438.5,-251.06"/>
<polygon fill="black" stroke="black" points="439.27,-254.49 447.85,-248.26 437.26,-247.78 439.27,-254.49"/>
</g>
<!-- 4 -->
<!-- name: &quot;unsigned varint&quot;, typeName: &quot;&quot;, id: 4, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node4" class="node">
<title>4</title>
<ellipse fill="none" stroke="black" cx="1278.54" cy="-342" rx="66.53" ry="18"/>
<text text-anchor="middle" x="1278.54" y="-336.57" font-family="Times New Roman,serif" font-size="14.00">unsigned varint</text>
</g>
<!-- 3&#45;&gt;4 -->
<g id="edge3" class="edge">
<title>3&#45;&gt;4</title>
<path fill="none" stroke="black" d="M974.83,-338.56C1033.28,-339.22 1131.8,-340.34 1200.52,-341.12"/>
<polygon fill="black" stroke="black" points="1200.15,-344.62 1210.19,-341.23 1200.23,-337.62 1200.15,-344.62"/>
</g>
<!-- 6 -->
<!-- name: &quot;Rule Name&quot;, typeName: &quot;&quot;, id: 6, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node6" class="node">
<title>6</title>
<ellipse fill="none" stroke="black" cx="690" cy="-284" rx="51.56" ry="18"/>
<text text-anchor="middle" x="690" y="-278.57" font-family="Times New Roman,serif" font-size="14.00">Rule Name</text>
</g>
<!-- 5&#45;&gt;6 -->
<g id="edge5" class="edge">
<title>5&#45;&gt;6</title>
<path fill="none" stroke="black" d="M547.3,-247.01C574.77,-254.18 608.85,-263.08 636.7,-270.35"/>
<polygon fill="black" stroke="black" points="635.8,-273.73 646.36,-272.87 637.57,-266.96 635.8,-273.73"/>
</g>
<!-- 8 -->
<!-- name: &quot;Can Be Modified By Player&quot;, typeName: &quot;&quot;, id: 8, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node8" class="node">
<title>8</title>
<ellipse fill="none" stroke="black" cx="924.94" cy="-234" rx="112.94" ry="18"/>
<text text-anchor="middle" x="924.94" y="-228.57" font-family="Times New Roman,serif" font-size="14.00">Can Be Modified By Player</text>
</g>
<!-- 5&#45;&gt;8 -->
<g id="edge7" class="edge">
<title>5&#45;&gt;8</title>
<path fill="none" stroke="black" d="M568.38,-234C631.35,-234 724.79,-234 800.08,-234"/>
<polygon fill="black" stroke="black" points="800.01,-237.5 810.01,-234 800.01,-230.5 800.01,-237.5"/>
</g>
<!-- 10 -->
<!-- name: &quot;Rule Type&quot;, typeName: &quot;&quot;, id: 10, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;enumeration: GameRule::Type&quot; -->
<g id="node10" class="node">
<title>10</title>
<ellipse fill="none" stroke="black" cx="1124.94" cy="-144" rx="49.57" ry="18"/>
<text text-anchor="middle" x="1124.94" y="-138.57" font-family="Times New Roman,serif" font-size="14.00">Rule Type</text>
</g>
<!-- 5&#45;&gt;10 -->
<g id="edge9" class="edge">
<title>5&#45;&gt;10</title>
<path fill="none" stroke="black" d="M559.55,-225.08C681.29,-207.59 949.75,-169.03 1067.13,-152.16"/>
<polygon fill="black" stroke="black" points="1067.44,-155.65 1076.84,-150.77 1066.45,-148.72 1067.44,-155.65"/>
</g>
<!-- 12 -->
<!-- name: &quot;Dependency on &#39;Rule Type&#39;&quot;, typeName: &quot;&quot;, id: 12, branchId: 0, recurseId: &#45;1, attributes: 2, notes: &quot;&quot; -->
<g id="node14" class="node">
<title>12</title>
<polygon fill="none" stroke="black" points="770,-134 604,-134 604,-98 776,-98 776,-128 770,-134"/>
<polyline fill="none" stroke="black" points="770,-134 770,-128"/>
<polyline fill="none" stroke="black" points="776,-128 770,-128"/>
<text text-anchor="middle" x="690" y="-110.58" font-family="Times New Roman,serif" font-size="14.00">Dependency on &#39;Rule Type&#39;</text>
</g>
<!-- 5&#45;&gt;12 -->
<g id="edge13" class="edge">
<title>5&#45;&gt;12</title>
<path fill="none" stroke="black" d="M523.07,-216.89C544.5,-202.69 575.99,-182.13 604,-165 617.68,-156.63 632.8,-147.79 646.44,-139.96"/>
<polygon fill="black" stroke="black" points="647.81,-143.21 654.76,-135.21 644.34,-137.13 647.81,-143.21"/>
</g>
<!-- 7 -->
<!-- name: &quot;string&quot;, typeName: &quot;&quot;, id: 7, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node7" class="node">
<title>7</title>
<ellipse fill="none" stroke="black" cx="1278.54" cy="-288" rx="31.1" ry="18"/>
<text text-anchor="middle" x="1278.54" y="-282.57" font-family="Times New Roman,serif" font-size="14.00">string</text>
</g>
<!-- 6&#45;&gt;7 -->
<g id="edge6" class="edge">
<title>6&#45;&gt;7</title>
<path fill="none" stroke="black" d="M742.03,-284.35C856.22,-285.13 1130.57,-287 1235.63,-287.71"/>
<polygon fill="black" stroke="black" points="1235.47,-291.21 1245.49,-287.78 1235.52,-284.21 1235.47,-291.21"/>
</g>
<!-- 9 -->
<!-- name: &quot;bool&quot;, typeName: &quot;&quot;, id: 9, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node9" class="node">
<title>9</title>
<ellipse fill="none" stroke="black" cx="1278.54" cy="-234" rx="27.61" ry="18"/>
<text text-anchor="middle" x="1278.54" y="-228.57" font-family="Times New Roman,serif" font-size="14.00">bool</text>
</g>
<!-- 8&#45;&gt;9 -->
<g id="edge8" class="edge">
<title>8&#45;&gt;9</title>
<path fill="none" stroke="black" d="M1038.16,-234C1107.26,-234 1191.52,-234 1239.41,-234"/>
<polygon fill="black" stroke="black" points="1239.25,-237.5 1249.25,-234 1239.25,-230.5 1239.25,-237.5"/>
</g>
<!-- 11 -->
<!-- name: &quot;unsigned varint&quot;, typeName: &quot;&quot;, id: 11, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node11" class="node">
<title>11</title>
<ellipse fill="none" stroke="black" cx="1278.54" cy="-180" rx="66.53" ry="18"/>
<text text-anchor="middle" x="1278.54" y="-174.57" font-family="Times New Roman,serif" font-size="14.00">unsigned varint</text>
</g>
<!-- 10&#45;&gt;11 -->
<g id="edge10" class="edge">
<title>10&#45;&gt;11</title>
<path fill="none" stroke="black" d="M1166.97,-153.74C1182.29,-157.38 1200.03,-161.59 1216.76,-165.57"/>
<polygon fill="black" stroke="black" points="1215.55,-168.88 1226.09,-167.78 1217.17,-162.07 1215.55,-168.88"/>
</g>
<!-- 16 -->
<!-- name: &quot;unsigned varint&quot;, typeName: &quot;&quot;, id: 16, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node12" class="node">
<title>16</title>
<ellipse fill="none" stroke="black" cx="1278.54" cy="-126" rx="66.53" ry="18"/>
<text text-anchor="middle" x="1278.54" y="-120.58" font-family="Times New Roman,serif" font-size="14.00">unsigned varint</text>
</g>
<!-- 10&#45;&gt;16 -->
<g id="edge11" class="edge">
<title>10&#45;&gt;16</title>
<path fill="none" stroke="black" d="M1172.67,-138.45C1183.17,-137.21 1194.55,-135.85 1205.82,-134.52"/>
<polygon fill="black" stroke="black" points="1205.98,-138.02 1215.5,-133.37 1205.16,-131.07 1205.98,-138.02"/>
</g>
<!-- 17 -->
<!-- name: &quot;unsigned varint&quot;, typeName: &quot;&quot;, id: 17, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node13" class="node">
<title>17</title>
<ellipse fill="none" stroke="black" cx="1278.54" cy="-72" rx="66.53" ry="18"/>
<text text-anchor="middle" x="1278.54" y="-66.58" font-family="Times New Roman,serif" font-size="14.00">unsigned varint</text>
</g>
<!-- 10&#45;&gt;17 -->
<g id="edge12" class="edge">
<title>10&#45;&gt;17</title>
<path fill="none" stroke="black" d="M1153.15,-128.97C1169.92,-119.9 1191.99,-108.33 1212.01,-99 1217.51,-96.43 1223.33,-93.85 1229.14,-91.36"/>
<polygon fill="black" stroke="black" points="1230.27,-94.68 1238.12,-87.57 1227.55,-88.23 1230.27,-94.68"/>
</g>
<!-- 13 -->
<!-- name: &quot;if (1)&quot;, typeName: &quot;&quot;, id: 13, branchId: 1, recurseId: &#45;1, attributes: 4, notes: &quot;&quot; -->
<g id="node15" class="node">
<title>13</title>
<polygon fill="none" stroke="black" points="924.94,-99 884.48,-81 924.94,-63 965.4,-81 924.94,-99"/>
<text text-anchor="middle" x="924.94" y="-75.58" font-family="Times New Roman,serif" font-size="14.00">if (1)</text>
</g>
<!-- 12&#45;&gt;13 -->
<g id="edge14" class="edge">
<title>12&#45;&gt;13</title>
<path fill="none" stroke="black" d="M776.42,-103.17C812.64,-97.72 853.19,-91.63 882.59,-87.21"/>
<polygon fill="black" stroke="black" points="882.81,-90.72 892.18,-85.77 881.77,-83.8 882.81,-90.72"/>
</g>
<!-- 14 -->
<!-- name: &quot;Rule Value&quot;, typeName: &quot;&quot;, id: 14, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node16" class="node">
<title>14</title>
<ellipse fill="none" stroke="black" cx="1124.94" cy="-63" rx="51.06" ry="18"/>
<text text-anchor="middle" x="1124.94" y="-57.58" font-family="Times New Roman,serif" font-size="14.00">Rule Value</text>
</g>
<!-- 13&#45;&gt;14 -->
<g id="edge15" class="edge">
<title>13&#45;&gt;14</title>
<path fill="none" stroke="black" d="M959.53,-77.95C987.98,-75.36 1029.47,-71.59 1063.66,-68.48"/>
<polygon fill="black" stroke="black" points="1063.79,-71.98 1073.43,-67.59 1063.16,-65.01 1063.79,-71.98"/>
</g>
<!-- 15 -->
<!-- name: &quot;bool&quot;, typeName: &quot;&quot;, id: 15, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node17" class="node">
<title>15</title>
<ellipse fill="none" stroke="black" cx="1278.54" cy="-18" rx="27.61" ry="18"/>
<text text-anchor="middle" x="1278.54" y="-12.57" font-family="Times New Roman,serif" font-size="14.00">bool</text>
</g>
<!-- 14&#45;&gt;15 -->
<g id="edge16" class="edge">
<title>14&#45;&gt;15</title>
<path fill="none" stroke="black" d="M1164.98,-51.41C1188.81,-44.34 1219.02,-35.37 1242.15,-28.51"/>
<polygon fill="black" stroke="black" points="1242.83,-31.95 1251.42,-25.75 1240.84,-25.24 1242.83,-31.95"/>
</g>
</g>
</svg>