From 7ebdc5ffb18bdba11c3793556634c9bd81d80e0e Mon Sep 17 00:00:00 2001 From: andy Date: Wed, 18 Mar 2020 21:36:43 -0300 Subject: [PATCH] remove BaseRoom struct --- src/packet/ship.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/packet/ship.rs b/src/packet/ship.rs index 088f30b..b62e58e 100644 --- a/src/packet/ship.rs +++ b/src/packet/ship.rs @@ -343,14 +343,6 @@ pub struct RoomListRequest { } -#[derive(PSOPacketData, Clone)] -pub struct BaseRoom { - pub menu_id: u32, - pub title_id: u32, - pub zero: u16, - pub menu_title: [u16; 17], -} - #[derive(PSOPacketData, Clone)] pub struct RoomList { pub menu_id: u32, @@ -364,6 +356,6 @@ pub struct RoomList { #[pso_packet(0x08)] pub struct RoomListResponse { - pub baseroom: BaseRoom, + pub baseroom: RoomList, pub rooms: Vec, }