From a71692d62acf3486f7d2a0d13f5fa4c54308331c Mon Sep 17 00:00:00 2001 From: andy Date: Tue, 14 Nov 2023 14:22:58 -0400 Subject: [PATCH] RightText support in the ship --- src/ship_server/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ship_server/src/lib.rs b/src/ship_server/src/lib.rs index 11e5ad6..f6d0ed1 100644 --- a/src/ship_server/src/lib.rs +++ b/src/ship_server/src/lib.rs @@ -254,6 +254,7 @@ pub enum SendShipPacket { TradeSuccessful(TradeSuccessful), LobbyEvent(LobbyEvent), LargeDialog(LargeDialog), + RightText(RightText), } impl SendServerPacket for SendShipPacket { @@ -298,6 +299,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(), } } }