diff options
Diffstat (limited to 'azalea-protocol/src/packets/game/s_edit_book.rs')
| -rwxr-xr-x | azalea-protocol/src/packets/game/s_edit_book.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/s_edit_book.rs b/azalea-protocol/src/packets/game/s_edit_book.rs new file mode 100755 index 00000000..af05a7cd --- /dev/null +++ b/azalea-protocol/src/packets/game/s_edit_book.rs @@ -0,0 +1,10 @@ +use azalea_buf::AzBuf; +use azalea_protocol_macros::ServerboundGamePacket; + +#[derive(Clone, Debug, AzBuf, ServerboundGamePacket)] +pub struct ServerboundEditBook { + #[var] + pub slot: u32, + pub pages: Vec<String>, + pub title: Option<String>, +} |
