|
@ -249,6 +249,40 @@ pub struct AddToRoom { |
|
|
pub playerinfo: PlayerInfo,
|
|
|
pub playerinfo: PlayerInfo,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#[pso_packet(0x69)]
|
|
|
|
|
|
pub struct LeaveLobby {
|
|
|
|
|
|
client: u8,
|
|
|
|
|
|
leader: u8,
|
|
|
|
|
|
_padding: u16,
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl LeaveLobby {
|
|
|
|
|
|
pub fn new(client: u8, leader: u8) -> LeaveLobby {
|
|
|
|
|
|
LeaveLobby {
|
|
|
|
|
|
client: client,
|
|
|
|
|
|
leader: leader,
|
|
|
|
|
|
_padding: 0,
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#[pso_packet(0x66)]
|
|
|
|
|
|
pub struct LeaveRoom {
|
|
|
|
|
|
client: u8,
|
|
|
|
|
|
leader: u8,
|
|
|
|
|
|
_padding: u16,
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl LeaveRoom {
|
|
|
|
|
|
pub fn new(client: u8, leader: u8) -> LeaveRoom {
|
|
|
|
|
|
LeaveRoom {
|
|
|
|
|
|
client: client,
|
|
|
|
|
|
leader: leader,
|
|
|
|
|
|
_padding: 0,
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
#[pso_packet(0x06)]
|
|
|
#[pso_packet(0x06)]
|
|
|
pub struct PlayerChat {
|
|
|
pub struct PlayerChat {
|
|
|
pub unknown: u32,
|
|
|
pub unknown: u32,
|
|
|