chat packet struct for issue_038 in elseware.
This commit is contained in:
parent
70584a4d01
commit
26261ab2b1
@ -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 padding: u32,
|
||||||
|
pub guildcard: u32,
|
||||||
|
pub message: String,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl PlayerChat {
|
||||||
|
pub fn new(padding: u32, guildcard: u32, message: String) -> PlayerChat {
|
||||||
|
PlayerChat {
|
||||||
|
padding: padding,
|
||||||
|
guildcard: guildcard,
|
||||||
|
message: message,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user