add delete persistent notif

This commit is contained in:
Maple 2026-04-25 17:24:28 +02:00
commit 51e7c63d66
2 changed files with 15 additions and 1 deletions

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>;
}