developer:legacy_protocol
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
developer:legacy_protocol [2025/03/12 11:20] – [Set brick attribute (0x09)] Add more attributes bunnynabbit | developer:legacy_protocol [2025/07/15 02:07] (current) – mixamega | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Legacy Protocol ====== | ====== Legacy Protocol ====== | ||
- | A networking protocol used by the legacy client/ | + | A networking protocol used by the legacy client/ |
Line 25: | Line 25: | ||
| Uint32 | | Uint32 | ||
| String | | String | ||
+ | A client may optionally append a byte specifying its [[https:// | ||
+ | ^ Type ^ Description ^ | ||
+ | | Byte | Client ID | | ||
==== Message (0x06) ==== | ==== Message (0x06) ==== | ||
Line 56: | Line 59: | ||
| Uint32 | Y scale | | | Uint32 | Y scale | | ||
| Uint32 | Z scale | | | Uint32 | Z scale | | ||
- | Time is in milliseconds. | ||
=== Type: kill === | === Type: kill === | ||
Activates physics on brick and remove brick from world after set time. | Activates physics on brick and remove brick from world after set time. | ||
+ | If time is 0 the brick will not be removed automatically. | ||
^ Type ^ Description ^ | ^ Type ^ Description ^ | ||
| Uint32 | Time | | | Uint32 | Time | | ||
Line 65: | Line 68: | ||
Deletes brick from world. | Deletes brick from world. | ||
^ Type ^ Description ^ | ^ Type ^ Description ^ | ||
- | | Float | Color | | ||
=== Type: col === | === Type: col === | ||
Sets color of brick. | Sets color of brick. | ||
^ Type ^ Description ^ | ^ Type ^ Description ^ | ||
| Float | Color | | | Float | Color | | ||
+ | Color is in decimal format. | ||
=== Type: alpha === | === Type: alpha === | ||
Sets transparency of brick. | Sets transparency of brick. | ||
Line 79: | Line 82: | ||
^ Type ^ Description ^ | ^ Type ^ Description ^ | ||
| Uint32 | | Uint32 | ||
+ | Color is in decimal format. | ||
=== Type: lightrange === | === Type: lightrange === | ||
Sets light range of brick. | Sets light range of brick. | ||
^ Type ^ Description | ^ Type ^ Description | ||
- | | Uint32 | + | | Uint32 |
=== Type: model === | === Type: model === | ||
Sets mesh on brick. | Sets mesh on brick. |
developer/legacy_protocol.1741774833.txt.gz · Last modified: by bunnynabbit