enable third notification param on wiiu chat
This commit is contained in:
parent
678ec565a5
commit
65c3642439
5 changed files with 24 additions and 21 deletions
|
|
@ -232,7 +232,7 @@ impl ExtendedMatchmakeSession {
|
|||
param_1: self.session.gathering.self_gid as PID,
|
||||
param_2: other_pid,
|
||||
str_param: "".into(),
|
||||
#[cfg(feature = "v3-5-0")]
|
||||
#[cfg(feature = "third-notif-param")]
|
||||
param_3: 0,
|
||||
})
|
||||
.await;
|
||||
|
|
@ -265,7 +265,7 @@ impl ExtendedMatchmakeSession {
|
|||
param_1: self.session.gathering.self_gid as PID,
|
||||
param_2: *pid,
|
||||
str_param: join_msg.clone(),
|
||||
#[cfg(feature = "v3-5-0")]
|
||||
#[cfg(feature = "third-notif-param")]
|
||||
param_3: self.connected_players.len() as _,
|
||||
})
|
||||
.await;
|
||||
|
|
@ -288,7 +288,7 @@ impl ExtendedMatchmakeSession {
|
|||
param_1: self.session.gathering.self_gid as PID,
|
||||
param_2: new_conn_pid,
|
||||
str_param: join_msg.clone(),
|
||||
#[cfg(feature = "v3-5-0")]
|
||||
#[cfg(feature = "third-notif-param")]
|
||||
param_3: self.connected_players.len() as _,
|
||||
})
|
||||
.await;
|
||||
|
|
|
|||
|
|
@ -463,7 +463,7 @@ impl MatchmakeExtension for User {
|
|||
notif_type: REQUEST_JOIN_GATHERING * 1000,
|
||||
param_1,
|
||||
param_2,
|
||||
#[cfg(feature = "v3-5-0")]
|
||||
#[cfg(feature = "third-notif-param")]
|
||||
param_3: 0,
|
||||
str_param,
|
||||
})
|
||||
|
|
@ -476,7 +476,7 @@ impl MatchmakeExtension for User {
|
|||
notif_type: END_GATHERING * 1000,
|
||||
param_1,
|
||||
param_2,
|
||||
#[cfg(feature = "v3-5-0")]
|
||||
#[cfg(feature = "third-notif-param")]
|
||||
param_3: 0,
|
||||
str_param,
|
||||
})
|
||||
|
|
@ -554,7 +554,7 @@ impl Matchmake for User {
|
|||
pid_source: self.pid,
|
||||
param_1: gid as PID,
|
||||
param_2: self.pid,
|
||||
#[cfg(feature = "v3-5-0")]
|
||||
#[cfg(feature = "third-notif-param")]
|
||||
param_3: 0,
|
||||
str_param: "".to_string(),
|
||||
})
|
||||
|
|
@ -576,7 +576,7 @@ impl Matchmake for User {
|
|||
pid_source: self.pid,
|
||||
param_1: gid as PID,
|
||||
param_2: self.pid,
|
||||
#[cfg(feature = "v3-5-0")]
|
||||
#[cfg(feature = "third-notif-param")]
|
||||
param_3: 0,
|
||||
str_param: "".to_string(),
|
||||
})
|
||||
|
|
@ -612,7 +612,7 @@ impl Matchmake for User {
|
|||
pid_source: self.pid,
|
||||
param_1: gid as PID,
|
||||
param_2: *candidate as PID,
|
||||
#[cfg(feature = "v3-5-0")]
|
||||
#[cfg(feature = "third-notif-param")]
|
||||
param_3: 0,
|
||||
str_param: "".to_string(),
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue