forked from Hay1tsme/artemis
feat(mai2): Add API request function to handle game NG word list
- Add handle_get_game_ng_word_list_api_request function - Return an empty sensitive word list, including exact match and partial match lists - for maimai DX China version
This commit is contained in:
@ -17,3 +17,12 @@ class Mai2Buddies(Mai2FestivalPlus):
|
|||||||
# hardcode lastDataVersion for CardMaker
|
# hardcode lastDataVersion for CardMaker
|
||||||
user_data["lastDataVersion"] = "1.40.00"
|
user_data["lastDataVersion"] = "1.40.00"
|
||||||
return user_data
|
return user_data
|
||||||
|
|
||||||
|
async def handle_get_game_ng_word_list_api_request(self, data: Dict) -> Dict:
|
||||||
|
# for maimai DX China version
|
||||||
|
return {
|
||||||
|
"ngWordExactMatchLength":0,
|
||||||
|
"ngWordExactMatchList":[],
|
||||||
|
"ngWordPartialMatchLength":0,
|
||||||
|
"ngWordPartialMatchList":[]
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user