User Tools

Site Tools


developer:legacy_protocol

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
developer:legacy_protocol [2025/03/12 11:24] – [Legacy Protocol] Clarify packet types in messages bunnynabbitdeveloper:legacy_protocol [2025/07/15 02:07] (current) mixamega
Line 25: Line 25:
 | Uint32    | Set ID                | | Uint32    | Set ID                |
 | String    | Set Name              | | String    | Set Name              |
 +A client may optionally append a byte specifying its [[https://docs.sandpile.xyz/enums/Client.html|client identifier]].
 +^ 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  | Color       | | Uint32  | Color       |
 +Color is in decimal format.
 === Type: lightrange === === Type: lightrange ===
 Sets light range of brick. Sets light range of brick.
 ^ Type    ^ Description  ^ ^ Type    ^ Description  ^
-| Uint32 Mesh UUID    |+| Uint32 Range       |
 === Type: model === === Type: model ===
 Sets mesh on brick. Sets mesh on brick.
developer/legacy_protocol.1741775050.txt.gz · Last modified: by bunnynabbit