|
@ -292,6 +292,7 @@ pub enum SendShipPacket { |
|
|
TradeSuccessful(TradeSuccessful),
|
|
|
TradeSuccessful(TradeSuccessful),
|
|
|
LobbyEvent(LobbyEvent),
|
|
|
LobbyEvent(LobbyEvent),
|
|
|
LargeDialog(LargeDialog),
|
|
|
LargeDialog(LargeDialog),
|
|
|
|
|
|
RightText(RightText),
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
impl SendServerPacket for SendShipPacket {
|
|
|
impl SendServerPacket for SendShipPacket {
|
|
@ -336,6 +337,7 @@ impl SendServerPacket for SendShipPacket { |
|
|
SendShipPacket::TradeSuccessful(pkt) => pkt.as_bytes(),
|
|
|
SendShipPacket::TradeSuccessful(pkt) => pkt.as_bytes(),
|
|
|
SendShipPacket::LobbyEvent(pkt) => pkt.as_bytes(),
|
|
|
SendShipPacket::LobbyEvent(pkt) => pkt.as_bytes(),
|
|
|
SendShipPacket::LargeDialog(pkt) => pkt.as_bytes(),
|
|
|
SendShipPacket::LargeDialog(pkt) => pkt.as_bytes(),
|
|
|
|
|
|
SendShipPacket::RightText(pkt) => pkt.as_bytes(),
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|