mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-09-23 13:32:52 +00:00
28 lines
1.4 KiB
HTML
28 lines
1.4 KiB
HTML
<!DOCTYPE html> <html> <head><style>table{font-family: arial, sans-serif;border-collapse: collapse;width: 100% ;}.tab { margin-left: 40px; }td, th{text-align: left;padding: 8px;}tr:nth-child(even) {background-color: #dddddd;}div#expand{display:block;}</style> </head> <body><h1>NetworkSettingsPacket (id: 143)</h1>
|
|
<table><col width="1%"><col width="99%"><tr><th></th><th></th></tr><tr><td> <b>Purpose:</b> </td>
|
|
<td>Sends tunable options from host to client (compression threshold and algorithm)</td>
|
|
</tr><tr><td> <b>Notes:</b> </td>
|
|
<td></td>
|
|
</tr></table><br><h2>Payload</h2>
|
|
<img src="svg/NetworkSettingsPacket.svg" alt="NetworkSettingsPacket">
|
|
<br><br><br><table><col width="10%"><col width="10%"><col width="15%"><col width="80%"><tr><th>Field Name</th><th>Field Type</th><th>Field Constraints</th><th>Field Notes</th></tr><tr><td>Compression Threshold</td>
|
|
<td>unsigned short</td>
|
|
<td></td>
|
|
<td>Determines the smallest size of raw network payload to compress.<br>NOTE: 0 is disable compression, 1 is compress everything 1 byte or larger (so everything)</td>
|
|
</tr><tr><td>CompressionAlgorithm</td>
|
|
<td>enum PacketCompressionAlgorithm</td>
|
|
<td></td>
|
|
<td></td>
|
|
</tr><tr><td>Client Throttle Enabled</td>
|
|
<td>bool</td>
|
|
<td></td>
|
|
<td></td>
|
|
</tr><tr><td>Client Throttle Threshold</td>
|
|
<td>unsigned byte</td>
|
|
<td></td>
|
|
<td></td>
|
|
</tr><tr><td>Client Throttle Scalar</td>
|
|
<td>float</td>
|
|
<td></td>
|
|
<td></td>
|
|
</tr></table></body> </html> |