Browse Source

added packets 0x1E8, 0x2E8 (BBChecksum and BBChecksumAck)

pull/3/head
Andy 5 years ago
parent
commit
89c217731f
  1. 19
      src/packet/login.rs

19
src/packet/login.rs

@ -193,6 +193,25 @@ impl RedirectClient {
} }
} }
#[pso_packet(0x1E8)]
pub struct BBChecksum {
pub flag: u32,
}
#[pso_packet(0x2E8)]
pub struct BBChecksumAck {
pub flag: u32,
pub ack: u32,
}
impl BBChecksumAck {
pub fn new() -> BBChecksumAck {
BBChecksumAck {
flag: 0,
ack: 1,
}
}
}
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {

Loading…
Cancel
Save