From ce5d37aff85bc8f357daaa624778e88817c97e99 Mon Sep 17 00:00:00 2001 From: jake Date: Wed, 18 Nov 2020 18:48:22 -0700 Subject: [PATCH] small left dialog --- src/packet/ship.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/packet/ship.rs b/src/packet/ship.rs index d1c709e..c255384 100644 --- a/src/packet/ship.rs +++ b/src/packet/ship.rs @@ -270,6 +270,21 @@ impl SmallDialog { } } +#[pso_packet(0x11)] +pub struct SmallLeftDialog { + padding: [u32; 0x02], + msg: String, +} + +impl SmallLeftDialog { + pub fn new(msg: String) -> SmallLeftDialog { + SmallLeftDialog { + padding: [0x00004500, 0x45004500], + msg: msg, + } + } +} + #[pso_packet(0x64, manual_flag)] pub struct JoinRoom { pub flag: u32, // # of elements in players