large dialog
This commit is contained in:
parent
16a37ec828
commit
59b564c44b
@ -303,6 +303,24 @@ impl SmallLeftDialog {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[pso_packet(0x1A)]
|
||||||
|
pub struct LargeDialog {
|
||||||
|
padding: [u32; 0x02],
|
||||||
|
msg: String,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl LargeDialog {
|
||||||
|
pub fn new(mut msg: String) -> LargeDialog {
|
||||||
|
if !msg.ends_with('\0') {
|
||||||
|
msg.push('\0');
|
||||||
|
}
|
||||||
|
LargeDialog {
|
||||||
|
padding: [0, 0x45000000],
|
||||||
|
msg: msg,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#[pso_packet(0x64, manual_flag)]
|
#[pso_packet(0x64, manual_flag)]
|
||||||
pub struct JoinRoom {
|
pub struct JoinRoom {
|
||||||
pub flag: u32, // # of elements in players
|
pub flag: u32, // # of elements in players
|
||||||
|
Loading…
x
Reference in New Issue
Block a user