Browse Source

Merge pull request 'tradesuccessful' (#11) from tradesuccessful into master

Reviewed-on: #11
pull/13/head
jake 3 years ago
parent
commit
9d11968ce6
  1. 13
      src/packet/ship.rs

13
src/packet/ship.rs

@ -621,3 +621,16 @@ pub struct TradeConfirmed {
#[pso_packet(0xD4)] #[pso_packet(0xD4)]
pub struct CancelTrade { pub struct CancelTrade {
} }
#[pso_packet(0xD4)]
pub struct TradeSuccessful {
success: u8,
}
impl std::default::Default for TradeSuccessful {
fn default() -> TradeSuccessful {
TradeSuccessful {
success: 1,
}
}
}
Loading…
Cancel
Save