start work on implementing account management for friends
This commit is contained in:
parent
7dd6265edd
commit
3c651e874c
2 changed files with 36 additions and 3 deletions
|
|
@ -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>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue