fix build error
This commit is contained in:
parent
3c8ba491dd
commit
3e8b96c820
2 changed files with 3 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ use rnex_core::rmc::protocols::account_management::NintendoCreateAccountData;
|
||||||
use rnex_core::rmc::protocols::nintendo_notification::NintendoNotificationEvent;
|
use rnex_core::rmc::protocols::nintendo_notification::NintendoNotificationEvent;
|
||||||
use rnex_core::rmc::structures::RmcSerialize;
|
use rnex_core::rmc::structures::RmcSerialize;
|
||||||
|
|
||||||
use crate::rmc::structures::data::Data;
|
use rnex_core::rmc::structures::data::Data;
|
||||||
|
|
||||||
define_rmc_proto!(
|
define_rmc_proto!(
|
||||||
proto FriendsUser{
|
proto FriendsUser{
|
||||||
|
|
@ -142,6 +142,7 @@ impl Friends for FriendsUser {
|
||||||
|
|
||||||
let mut fr_list =
|
let mut fr_list =
|
||||||
vec![FriendInfo {
|
vec![FriendInfo {
|
||||||
|
data: Data{},
|
||||||
became_friends: KerberosDateTime::now(),
|
became_friends: KerberosDateTime::now(),
|
||||||
comment: Comment {
|
comment: Comment {
|
||||||
last_changed: KerberosDateTime::now(),
|
last_changed: KerberosDateTime::now(),
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ use macros::{RmcSerialize, method_id, rmc_proto};
|
||||||
|
|
||||||
use rnex_core::{kerberos::KerberosDateTime, rmc::response::ErrorCode};
|
use rnex_core::{kerberos::KerberosDateTime, rmc::response::ErrorCode};
|
||||||
|
|
||||||
use crate::rmc::structures::{data::Data, rmc_struct};
|
use rnex_core::rmc::structures::{data::Data, rmc_struct};
|
||||||
|
|
||||||
#[derive(RmcSerialize, Debug, Clone)]
|
#[derive(RmcSerialize, Debug, Clone)]
|
||||||
#[rmc_struct(0)]
|
#[rmc_struct(0)]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue