From fe84bd41093f1908cedc64d0257670dec94bbc9a Mon Sep 17 00:00:00 2001 From: andy Date: Thu, 16 Feb 2023 00:06:14 +0000 Subject: [PATCH] right-side text support --- src/ship/ship.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ship/ship.rs b/src/ship/ship.rs index 8a1c6fa..0b188ae 100644 --- a/src/ship/ship.rs +++ b/src/ship/ship.rs @@ -292,6 +292,7 @@ pub enum SendShipPacket { TradeSuccessful(TradeSuccessful), LobbyEvent(LobbyEvent), LargeDialog(LargeDialog), + RightText(RightText), } impl SendServerPacket for SendShipPacket { @@ -336,6 +337,7 @@ impl SendServerPacket for SendShipPacket { SendShipPacket::TradeSuccessful(pkt) => pkt.as_bytes(), SendShipPacket::LobbyEvent(pkt) => pkt.as_bytes(), SendShipPacket::LargeDialog(pkt) => pkt.as_bytes(), + SendShipPacket::RightText(pkt) => pkt.as_bytes(), } } }