feat(secure): add RmcSerialize macro for convenience serializing structs

This commit is contained in:
DJMrTV 2025-02-05 15:03:08 +01:00
commit 7479105157
7 changed files with 275 additions and 11 deletions

View file

@ -284,9 +284,3 @@ mod test{
println!("packet: {:?}", packet);
}
}
#[derive(RmcSerialize)]
#[rmc_struct(0)]
struct MatchmakeParam{
params: Vec<(String, Variant)>
}