MCBE
OverviewPacketsBookEdit
ID 0x61 · 97Client → ServerInventory

BookEdit

book-edit.bin
struct BookEdit {
  varint32                                     BookSlot;
  tagged case index (0=ReplacePage, 1=AddPage, 2=DeletePage, 3=SwapPages, 4=Finalize) Operation;
}

Structure

FieldTypeDescription
Book Slotvarint32
Operationtagged case index (0=ReplacePage, 1=AddPage, 2=DeletePage, 3=SwapPages, 4=Finalize)Variant: an index selects the payload type — see the tables below.

Structure of ReplacePage

FieldTypeDescription
Page Indexvarint32
Page Textstring
Photo Namestring

Structure of AddPage

FieldTypeDescription
Page Indexvarint32
Page Textstring
Photo Namestring

Structure of DeletePage

FieldTypeDescription
Page Indexvarint32

Structure of SwapPages

FieldTypeDescription
Page Indexvarint32
Swap With Indexvarint32

Structure of Finalize

FieldTypeDescription
Titlestring
Authorstring
Xuidstring

Notes

  • No special notes.