|
@ -248,3 +248,20 @@ pub struct AddToRoom { |
|
|
pub padding: u32,
|
|
|
pub padding: u32,
|
|
|
pub playerinfo: PlayerInfo,
|
|
|
pub playerinfo: PlayerInfo,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#[pso_packet(0x06)]
|
|
|
|
|
|
pub struct PlayerChat {
|
|
|
|
|
|
pub unknown: u32,
|
|
|
|
|
|
pub guildcard: u32,
|
|
|
|
|
|
pub message: String,
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl PlayerChat {
|
|
|
|
|
|
pub fn new(guildcard: u32, message: String) -> PlayerChat {
|
|
|
|
|
|
PlayerChat {
|
|
|
|
|
|
unknown: 0x00010000,
|
|
|
|
|
|
guildcard: guildcard,
|
|
|
|
|
|
message: message,
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|