crate::ix!();
#[derive(Default)]
#[no_copy]
pub struct SerializedNetMsg {
pub data: Vec<u8>,
pub ty: String,
}
pub struct NetMsgMaker {
n_version: i32,
}
impl NetMsgMaker {
pub fn new(n_version_in: i32) -> Self {
todo!();
}
pub fn make_with_flags(&self,
n_flags: i32,
msg_type: &str,
args: &[&dyn Any]) -> SerializedNetMsg {
todo!();
}
pub fn make(&self,
msg_type: &str,
args: &[&dyn Any]) -> SerializedNetMsg {
todo!();
}
}