implement nintendo_create_account

This commit is contained in:
Maple 2026-04-12 18:56:08 +02:00
commit 2fc2a0ac1e
4 changed files with 81 additions and 4 deletions

View file

@ -1,10 +1,21 @@
use macros::{method_id, rmc_proto};
use macros::{RmcSerialize, method_id, rmc_proto};
use rnex_core::{
PID,
rmc::{response::ErrorCode, structures::any::Any},
};
use crate::{kerberos::KerberosDateTime, rmc::protocols::friends::NNAInfo};
#[derive(RmcSerialize, Debug, Clone)]
#[rmc_struct(0)]
pub struct NintendoCreateAccountData {
pub nna_info: NNAInfo,
pub nex_token: String,
pub birthday: KerberosDateTime,
pub unk: u64,
}
#[rmc_proto(25)]
pub trait AccountManagement {
#[method_id(27)]