Browse Source

right-side text support

pull/135/head
andy 2 years ago
parent
commit
fe84bd4109
  1. 2
      src/ship/ship.rs

2
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(),
}
}
}

Loading…
Cancel
Save