V0 #1

Closed
RusticMaple wants to merge 105 commits from v0 into main
2 changed files with 15 additions and 1 deletions
Showing only changes of commit 51e7c63d66 - Show all commits

add delete persistent notif

Maple 2026-04-25 17:24:28 +02:00

View file

@ -99,7 +99,7 @@ pub fn friend_info_from_user(data: &UserData) -> FriendInfo {
presence: data.presence.clone(),
comment: Comment {
unk: 0,
message: "litterally everyone is friends here =w=".to_string(),
message: "haii =w=".to_string(),
last_changed: KerberosDateTime::now(),
},
became_friends: KerberosDateTime::now(),
@ -276,6 +276,13 @@ impl Friends for FriendsUser {
Ok(())
}
async fn delete_persistent_notification(
&self,
notifs: Vec<PersistentNotification>,
) -> Result<(), ErrorCode> {
Ok(())
}
async fn check_setting_status(&self) -> Result<u8, ErrorCode> {
Ok(0xFF)
}

View file

@ -2,6 +2,8 @@ use macros::{RmcSerialize, method_id, rmc_proto};
use rnex_core::{kerberos::KerberosDateTime, rmc::response::ErrorCode};
use crate::rmc::structures::rmc_struct;
#[derive(RmcSerialize, Debug, Clone)]
#[rmc_struct(0)]
pub struct MiiV2 {
@ -145,6 +147,11 @@ pub trait Friends {
>;
#[method_id(13)]
async fn update_presence(&self, presence: NintendoPresenceV2) -> Result<(), ErrorCode>;
#[method_id(18)]
async fn delete_persistent_notification(
&self,
notifs: Vec<PersistentNotification>,
) -> Result<(), ErrorCode>;
#[method_id(19)]
async fn check_setting_status(&self) -> Result<u8, ErrorCode>;
}