leave area packets
This commit is contained in:
parent
c3f91163a7
commit
8b4ed1530f
@ -249,6 +249,40 @@ pub struct AddToRoom {
|
||||
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)]
|
||||
pub struct PlayerChat {
|
||||
pub unknown: u32,
|
||||
@ -264,4 +298,4 @@ impl PlayerChat {
|
||||
message: message,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user