forked from spacebar/rust-nex
simplest method ever
This commit is contained in:
parent
038c152327
commit
c0c7bd7efc
2 changed files with 11 additions and 1 deletions
|
|
@ -1639,4 +1639,9 @@ impl DataStore for User {
|
|||
|
||||
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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -400,6 +400,11 @@ pub trait DataStore {
|
|||
#[method_id(72)]
|
||||
async fn get_course_record(
|
||||
&self,
|
||||
get_course_record_param: DataStoreGetCourseRecordParam
|
||||
get_course_record_param: DataStoreGetCourseRecordParam,
|
||||
) -> Result<DataStoreGetCourseRecordResult, ErrorCode>;
|
||||
#[method_id(79)]
|
||||
async fn check_rate_custom_ranking_counter(
|
||||
&self,
|
||||
application_id: u32,
|
||||
) -> Result<bool, ErrorCode>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue