aboutsummaryrefslogtreecommitdiff
path: root/server/protocol
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-10-06 18:37:14 +0200
committermetamuffin <metamuffin@disroot.org>2025-10-06 18:37:14 +0200
commit6e264a13ecc0284c5073d0fbe92e6d0bfeeee6bb (patch)
tree8fce220a62fc49062aaa45a69b69b469b3204505 /server/protocol
parent5925c4da0d9c0e40203531d2c0c61a653e10824b (diff)
downloadhurrycurry-6e264a13ecc0284c5073d0fbe92e6d0bfeeee6bb.tar
hurrycurry-6e264a13ecc0284c5073d0fbe92e6d0bfeeee6bb.tar.bz2
hurrycurry-6e264a13ecc0284c5073d0fbe92e6d0bfeeee6bb.tar.zst
Prepare for book locale
Diffstat (limited to 'server/protocol')
-rw-r--r--server/protocol/src/book.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/protocol/src/book.rs b/server/protocol/src/book.rs
index 7c529f22..87b7e4fc 100644
--- a/server/protocol/src/book.rs
+++ b/server/protocol/src/book.rs
@@ -30,9 +30,11 @@ pub struct Book {
pub enum BookPage {
Cover,
Contents {
+ title: Message,
table: Vec<(Message, usize)>,
},
Text {
+ title: Message,
paragraphs: Vec<Message>,
},
Recipe {