progress
Some checks failed
Build and Test / super-mario-maker (push) Failing after 3m59s
Build and Test / wii-u-chat (push) Successful in 4m31s
Build and Test / wii-sports-club (push) Successful in 4m58s
Build and Test / splatoon (push) Successful in 5m15s
Build and Test / sonic-transformed (push) Successful in 5m15s
Build and Test / splatoon-testfire (push) Successful in 5m15s
Build and Test / friends (push) Successful in 5m23s
Build and Test / mario-tennis (push) Successful in 5m24s
Build and Test / puyopuyo (push) Successful in 5m28s
Build and Test / fast-racing-neo (push) Successful in 5m43s
Build and Test / minecraft-wiiu (push) Successful in 5m43s

This commit is contained in:
Maple Nebel 2026-07-14 17:38:51 +02:00
commit aa25422d95
4 changed files with 46 additions and 3 deletions

View file

@ -1,8 +1,8 @@
use std::collections::HashMap;
use std::{collections::HashMap, convert::Infallible};
use rnex_msg_protos::RemoteMessagingClient;
use rnex_rmc::{RmcPureRemoteObject, util::PID};
use rnex_server::{ConnectionInitData, RnexManager, WeakPassthroughInitModule};
use rnex_server::{ConnectionInitData, RnexManager, RnexModule, WeakPassthroughInitModule};
use tokio::sync::RwLock;
use crate::user::MessagingUser;
@ -38,3 +38,17 @@ impl RnexManager for MessagingManager {
}
}
}
impl RnexModule for MessagingModule {
type Manager = MessagingManager;
type InitError = Infallible;
async fn create_manager(
_: &rnex_server::ModuleHolder,
) -> Result<Self::Manager, Self::InitError> {
Ok(MessagingManager {
users_by_pid: Default::default(),
})
}
}