From f71f463144bb66ce82bf83c5a23f53d08e04a085 Mon Sep 17 00:00:00 2001 From: jake Date: Sun, 22 Nov 2020 09:37:55 -0700 Subject: [PATCH] request ship/block list --- src/packet/ship.rs | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/packet/ship.rs b/src/packet/ship.rs index c255384..3b7c235 100644 --- a/src/packet/ship.rs +++ b/src/packet/ship.rs @@ -9,9 +9,9 @@ use crate::ConsumingBlob; use std::io::Read; -pub const BLOCK_MENU_ID: u32 = 1; -pub const ROOM_MENU_ID: u32 = 2; -pub const LOBBY_MENU_ID: u32 = 3; +pub const BLOCK_MENU_ID: u32 = 2; +pub const ROOM_MENU_ID: u32 = 3; +pub const LOBBY_MENU_ID: u32 = 4; #[pso_packet(0x03)] pub struct ShipWelcome { @@ -57,6 +57,18 @@ impl PSOPacketData for BlockEntry { } } + +#[pso_packet(0xA0)] +pub struct RequestShipList { + unknown: [u8; 24], +} + + +#[pso_packet(0xA1)] +pub struct RequestShipBlockList { + unknown: [u8; 24], +} + #[pso_packet(0xA1)] pub struct ShipBlockList { shipblock: BlockEntry,