Browse Source

remove BaseRoom struct

pull/3/head
andy 5 years ago
parent
commit
7ebdc5ffb1
  1. 10
      src/packet/ship.rs

10
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)] #[derive(PSOPacketData, Clone)]
pub struct RoomList { pub struct RoomList {
pub menu_id: u32, pub menu_id: u32,
@ -364,6 +356,6 @@ pub struct RoomList {
#[pso_packet(0x08)] #[pso_packet(0x08)]
pub struct RoomListResponse { pub struct RoomListResponse {
pub baseroom: BaseRoom,
pub baseroom: RoomList,
pub rooms: Vec<RoomList>, pub rooms: Vec<RoomList>,
} }
Loading…
Cancel
Save