From 415794794a7b3eedd22165e77f19d3787849dd0b Mon Sep 17 00:00:00 2001 From: jake Date: Sun, 15 Dec 2019 23:14:40 -0800 Subject: [PATCH] directedmessage -> directmessage --- src/packet/ship.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/packet/ship.rs b/src/packet/ship.rs index 3c34710..14daa65 100644 --- a/src/packet/ship.rs +++ b/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, }