add data
This commit is contained in:
parent
51e7c63d66
commit
3c8ba491dd
4 changed files with 12 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
5
rnex-core/src/rmc/structures/data.rs
Normal file
5
rnex-core/src/rmc/structures/data.rs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
use macros::RmcSerialize;
|
||||
|
||||
#[derive(RmcSerialize)]
|
||||
#[rmc_struct(0)]
|
||||
pub struct Data {}
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue