Add support for NEX v3.10.22
All checks were successful
Build and Test / splatoon-testfire (push) Successful in 1m39s
Build and Test / splatoon (push) Successful in 1m59s
Build and Test / wii-u-chat (push) Successful in 2m26s
Build and Test / fast-racing-neo (push) Successful in 3m2s
Build and Test / friends (push) Successful in 7m24s
Build and Test / super-mario-maker (push) Successful in 8m54s

This commit is contained in:
red binder 2026-05-02 13:19:06 +02:00
commit 0df281cd61
3 changed files with 36 additions and 15 deletions

View file

@ -121,20 +121,40 @@ pub struct MatchmakeBlockListParam {
option_flag: u32,
}
#[derive(RmcSerialize, Debug, Clone)]
#[rmc_struct(0)]
pub struct JoinMatchmakeSessionParam {
pub gid: u32,
pub additional_participants: Vec<PID>,
pub gid_for_participation_check: u32,
pub join_matchmake_session_open: u32,
pub join_matchmake_session_behavior: u8,
pub user_password: String,
pub system_password: String,
pub join_message: String,
pub participation_count: u16,
//pub extra_participant: u16,
//pub block_list_param: MatchmakeBlockListParam
cfg_if! {
if #[cfg(feature = "v3-10-22")] {
#[derive(RmcSerialize, Debug, Clone)]
#[rmc_struct(1)]
pub struct JoinMatchmakeSessionParam {
pub gid: u32,
pub additional_participants: Vec<PID>,
pub gid_for_participation_check: u32,
pub join_matchmake_session_open: u32,
pub join_matchmake_session_behavior: u8,
pub user_password: String,
pub system_password: String,
pub join_message: String,
pub participation_count: u16,
pub extra_participant: u16,
//pub block_list_param: MatchmakeBlockListParam
}
} else {
#[derive(RmcSerialize, Debug, Clone)]
#[rmc_struct(0)]
pub struct JoinMatchmakeSessionParam {
pub gid: u32,
pub additional_participants: Vec<PID>,
pub gid_for_participation_check: u32,
pub join_matchmake_session_open: u32,
pub join_matchmake_session_behavior: u8,
pub user_password: String,
pub system_password: String,
pub join_message: String,
pub participation_count: u16,
//pub extra_participant: u16,
//pub block_list_param: MatchmakeBlockListParam
}
}
}
pub mod gathering_flags {