Browse Source

charselect pkts

pull/3/head
Jake Probst 5 years ago
parent
commit
5fbfce058c
  1. 15
      src/packet/login.rs

15
src/packet/login.rs

@ -211,6 +211,21 @@ impl ChecksumAck {
} }
} }
#[pso_packet(0xE3)]
pub struct CharSelect {
pub flag: u32,
pub slot: u32,
pub reason: u32, // TODO: enum?
}
#[pso_packet(0xE4)]
pub struct CharAck {
pub flag: u32,
pub slot: u32,
pub code: u32, // TODO: enum?
}
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
#[test] #[test]

Loading…
Cancel
Save