V0 #1

Closed
RusticMaple wants to merge 105 commits from v0 into main
4 changed files with 12 additions and 1 deletions
Showing only changes of commit 3c8ba491dd - Show all commits

add data

Maple 2026-04-25 18:40:32 +02:00

View file

@ -42,6 +42,8 @@ use rnex_core::rmc::protocols::account_management::NintendoCreateAccountData;
use rnex_core::rmc::protocols::nintendo_notification::NintendoNotificationEvent;
use rnex_core::rmc::structures::RmcSerialize;
use crate::rmc::structures::data::Data;
define_rmc_proto!(
proto FriendsUser{
Secure,
@ -95,6 +97,7 @@ impl FriendsManager {
pub fn friend_info_from_user(data: &UserData) -> FriendInfo {
FriendInfo {
data: Data {},
nna_info: data.info.clone(),
presence: data.presence.clone(),
comment: Comment {

View file

@ -2,7 +2,7 @@ use macros::{RmcSerialize, method_id, rmc_proto};
use rnex_core::{kerberos::KerberosDateTime, rmc::response::ErrorCode};
use crate::rmc::structures::rmc_struct;
use crate::rmc::structures::{data::Data, rmc_struct};
#[derive(RmcSerialize, Debug, Clone)]
#[rmc_struct(0)]
@ -76,6 +76,8 @@ pub struct Comment {
#[derive(RmcSerialize)]
#[rmc_struct(0)]
pub struct FriendInfo {
#[extends]
pub data: Data,
pub nna_info: NNAInfo,
pub presence: NintendoPresenceV2,
pub comment: Comment,

View file

@ -0,0 +1,5 @@
use macros::RmcSerialize;
#[derive(RmcSerialize)]
#[rmc_struct(0)]
pub struct Data {}

View file

@ -26,6 +26,7 @@ pub type Result<T> = std::result::Result<T, Error>;
pub mod any;
pub mod buffer;
pub mod connection_data;
pub mod data;
pub mod helpers;
pub mod list;
pub mod matchmake;