Skip to main content

Lift Import Creation

This packet is sent when the player imports a creation from the lift.

  • ID: 0x2D (45)
  • Size: Variable
  • LZ4 Compressed: Yes
  • State: Playing
  • Bound To: Client -> Server

Structure

OffsetField NameField TypeNotes
0x00Lift IDbe u32The ID of the lift to import the creation on.
0x04Uncompressed Sizebe u32The size of the blueprint data before it is compressed with LZ4.
0x08Compressed Sizebe u32The size of the blueprint data after it is compressed with LZ4.
0x14Compressed Blueprint DataLZ4 compressed bytesThe contents of the blueprint.json file, compressed with LZ4 block compression.
info

The blueprint data can be decompressed using the lz4_decompress_safe function from the LZ4 C API. The lz4.block.decompress function from python-lz4 can also be used by providing the uncompressed_size argument. Without this argument, decompressing the blueprint data will fail.

note

When compressing the blueprint data, ensure the used LZ4 library does not prepend the Compressed Blueprint Data field with the compressed size.