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)] #[pso_packet(0x62, manual_flag)]
pub struct DirectedMessage {
pub struct DirectMessage {
flag: u32, flag: u32,
msg: GameMessage 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, flag: target,
msg: msg, msg: msg,
} }

Loading…
Cancel
Save