Merge pull request 'RightText support in the ship' (#143) from andy/right-text2 into master
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #143
This commit is contained in:
commit
8f9f2b074c
@ -254,6 +254,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 {
|
||||||
@ -298,6 +299,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(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user