From 32088d4762b791bb90c48485c8bcb194d8268845 Mon Sep 17 00:00:00 2001 From: jake Date: Tue, 23 Nov 2021 00:56:03 -0700 Subject: [PATCH] tradesuccessful --- src/packet/ship.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/packet/ship.rs b/src/packet/ship.rs index 3a1af66..6abb2dd 100644 --- a/src/packet/ship.rs +++ b/src/packet/ship.rs @@ -621,3 +621,16 @@ pub struct TradeConfirmed { #[pso_packet(0xD4)] pub struct CancelTrade { } + +#[pso_packet(0xD4)] +pub struct TradeSuccessful { + success: u8, +} + +impl std::default::Default for TradeSuccessful { + fn default() -> TradeSuccessful { + TradeSuccessful { + success: 1, + } + } +}