ID 0x61 · 97Client → ServerInventory
book-edit.bin
struct BookEdit {
varint32 BookSlot;
tagged case index (0=ReplacePage, 1=AddPage, 2=DeletePage, 3=SwapPages, 4=Finalize) Operation;
}Structure
| Field | Type | Description |
|---|
| Book Slot | varint32 | |
| Operation | tagged 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
| Field | Type | Description |
|---|
| Page Index | varint32 | |
| Page Text | string | |
| Photo Name | string | |
Structure of AddPage
| Field | Type | Description |
|---|
| Page Index | varint32 | |
| Page Text | string | |
| Photo Name | string | |
Structure of DeletePage
| Field | Type | Description |
|---|
| Page Index | varint32 | |
Structure of SwapPages
| Field | Type | Description |
|---|
| Page Index | varint32 | |
| Swap With Index | varint32 | |
Structure of Finalize
| Field | Type | Description |
|---|
| Title | string | |
| Author | string | |
| Xuid | string | |
Notes