redo macros
All checks were successful
Build and Test / splatoon-testfire (push) Successful in 4m29s
Build and Test / puyopuyo (push) Successful in 5m3s
Build and Test / splatoon (push) Successful in 5m40s
Build and Test / wii-sports-club (push) Successful in 5m46s
Build and Test / fast-racing-neo (push) Successful in 6m30s
Build and Test / wii-u-chat (push) Successful in 7m18s
Build and Test / friends (push) Successful in 8m19s
Build and Test / super-mario-maker (push) Successful in 13m10s
Build and Test / mario-tennis (push) Successful in 13m34s
Build and Test / minecraft-wiiu (push) Successful in 14m8s
All checks were successful
Build and Test / splatoon-testfire (push) Successful in 4m29s
Build and Test / puyopuyo (push) Successful in 5m3s
Build and Test / splatoon (push) Successful in 5m40s
Build and Test / wii-sports-club (push) Successful in 5m46s
Build and Test / fast-racing-neo (push) Successful in 6m30s
Build and Test / wii-u-chat (push) Successful in 7m18s
Build and Test / friends (push) Successful in 8m19s
Build and Test / super-mario-maker (push) Successful in 13m10s
Build and Test / mario-tennis (push) Successful in 13m34s
Build and Test / minecraft-wiiu (push) Successful in 14m8s
This commit is contained in:
parent
d10e0cb596
commit
de20212d1e
15 changed files with 1189 additions and 966 deletions
|
|
@ -40,9 +40,7 @@ use cfg_if::cfg_if;
|
|||
use log::{error, info};
|
||||
use macros::rmc_struct;
|
||||
use rnex_core::prudp::socket_addr::PRUDPSockAddr;
|
||||
use rnex_core::rmc::protocols::notifications::{
|
||||
self, Notification, NotificationEvent, RemoteNotification,
|
||||
};
|
||||
use rnex_core::rmc::protocols::notifications::{NotificationEvent, RemoteNotification};
|
||||
use rnex_core::rmc::protocols::ranking::{
|
||||
CompetitionRankingGetParam, CompetitionRankingScoreData, CompetitionRankingScoreInfo,
|
||||
};
|
||||
|
|
@ -53,7 +51,6 @@ use rnex_core::rmc::structures::ranking::UploadCompetitionData;
|
|||
use std::sync::{Arc, Weak};
|
||||
use tokio::sync::{Mutex, RwLock};
|
||||
|
||||
use crate::rmc::structures::Error;
|
||||
use crate::rmc::structures::matchmake::MatchmakeSessionSearchCriteria;
|
||||
|
||||
cfg_if! {
|
||||
|
|
@ -185,15 +182,13 @@ impl MatchmakeExtension for User {
|
|||
Ok(Vec::new())
|
||||
}
|
||||
|
||||
#[cfg(feature = "v3-5-0")]
|
||||
async fn update_progress_score(&self, gid: u32, progress: u8) -> Result<(), ErrorCode> {
|
||||
#[cfg(feature = "v3-5-0")]
|
||||
{
|
||||
let session = self.matchmake_manager.get_session(gid).await?;
|
||||
let session = self.matchmake_manager.get_session(gid).await?;
|
||||
|
||||
let mut session = session.lock().await;
|
||||
let mut session = session.lock().await;
|
||||
|
||||
session.session.progress_score = progress;
|
||||
}
|
||||
session.session.progress_score = progress;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
@ -442,7 +437,7 @@ impl MatchmakeExtension for User {
|
|||
|
||||
async fn get_friend_notification_data(
|
||||
&self,
|
||||
ty: i32,
|
||||
_ty: i32,
|
||||
) -> Result<Vec<NotificationEvent>, ErrorCode> {
|
||||
Ok(vec![])
|
||||
}
|
||||
|
|
@ -503,7 +498,7 @@ impl MatchmakeExtension for User {
|
|||
&self,
|
||||
gid: u32,
|
||||
message: String,
|
||||
dont_care_block_list: bool,
|
||||
_dont_care_block_list: bool,
|
||||
//participation_count: u16,
|
||||
) -> Result<Vec<u8>, ErrorCode> {
|
||||
let sess = self.matchmake_manager.get_session(gid).await?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue