start work on implementing account management for friends

This commit is contained in:
Maple 2026-04-12 18:05:52 +02:00
commit 3c651e874c
2 changed files with 36 additions and 3 deletions

View file

@ -1,4 +1,19 @@
use macros::rmc_proto;
use macros::{method_id, rmc_proto};
use rnex_core::{
PID,
rmc::{response::ErrorCode, structures::any::Any},
};
#[rmc_proto(25)]
pub trait AccountManagement {}
pub trait AccountManagement {
#[method_id(27)]
async fn nintendo_create_account(
&self,
principal_name: String,
key: String,
groups: u32,
email: String,
auth_data: Any,
) -> Result<(PID, String), ErrorCode>;
}