simplest method ever

This commit is contained in:
red binder 2026-06-19 00:43:47 +02:00
commit c0c7bd7efc
2 changed files with 11 additions and 1 deletions

View file

@ -1639,4 +1639,9 @@ impl DataStore for User {
Ok(list) Ok(list)
} }
async fn check_rate_custom_ranking_counter(&self, application_id: u32) -> Result<bool, ErrorCode> {
// official servers always return true? application ID is always 0 as far as i know. maybe a check is warranted for the app id?
Ok(true)
}
} }

View file

@ -400,6 +400,11 @@ pub trait DataStore {
#[method_id(72)] #[method_id(72)]
async fn get_course_record( async fn get_course_record(
&self, &self,
get_course_record_param: DataStoreGetCourseRecordParam get_course_record_param: DataStoreGetCourseRecordParam,
) -> Result<DataStoreGetCourseRecordResult, ErrorCode>; ) -> Result<DataStoreGetCourseRecordResult, ErrorCode>;
#[method_id(79)]
async fn check_rate_custom_ranking_counter(
&self,
application_id: u32,
) -> Result<bool, ErrorCode>;
} }