|
@ -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,
|
|
|
}
|
|
|
}
|
|
|