diff options
author | metamuffin <metamuffin@disroot.org> | 2024-09-17 21:21:51 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-09-17 21:21:51 +0200 |
commit | 666adbf669afc06d87aa28f1a8ca120c5612d3a4 (patch) | |
tree | ef2b168a272649f000957a081ce4119bfd7909ec /server/protocol/src | |
parent | 7cacd111e2b443bac291244b168c20e2c8bf69ec (diff) | |
download | hurrycurry-666adbf669afc06d87aa28f1a8ca120c5612d3a4.tar hurrycurry-666adbf669afc06d87aa28f1a8ca120c5612d3a4.tar.bz2 hurrycurry-666adbf669afc06d87aa28f1a8ca120c5612d3a4.tar.zst |
localized messages
Diffstat (limited to 'server/protocol/src')
-rw-r--r-- | server/protocol/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/protocol/src/lib.rs b/server/protocol/src/lib.rs index 706747f4..1bfb280e 100644 --- a/server/protocol/src/lib.rs +++ b/server/protocol/src/lib.rs @@ -139,6 +139,7 @@ pub enum PacketS { #[derive(Debug, Clone, Serialize, Deserialize, Encode, Decode, PartialEq, Eq)] #[serde(rename_all = "snake_case")] pub enum Message { + Translation { id: String, params: Vec<Message> }, Text(String), Item(ItemIndex), Effect(String), |