Browse Source

directedmessage -> directmessage

pull/3/head
jake 5 years ago
parent
commit
415794794a
  1. 8
      src/packet/ship.rs

8
src/packet/ship.rs

@ -121,14 +121,14 @@ impl Message {
}
#[pso_packet(0x62, manual_flag)]
pub struct DirectedMessage {
pub struct DirectMessage {
flag: u32,
msg: GameMessage
}
impl DirectedMessage {
fn new(target: u32, msg: GameMessage) -> DirectedMessage {
DirectedMessage {
impl DirectMessage {
pub fn new(target: u32, msg: GameMessage) -> DirectMessage {
DirectMessage {
flag: target,
msg: msg,
}

Loading…
Cancel
Save