Browse Source

request ship/block list

pull/3/head
jake 4 years ago
parent
commit
f71f463144
  1. 18
      src/packet/ship.rs

18
src/packet/ship.rs

@ -9,9 +9,9 @@ use crate::ConsumingBlob;
use std::io::Read; 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)] #[pso_packet(0x03)]
pub struct ShipWelcome { 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)] #[pso_packet(0xA1)]
pub struct ShipBlockList { pub struct ShipBlockList {
shipblock: BlockEntry, shipblock: BlockEntry,

Loading…
Cancel
Save