chuni: add userRecentPlayerList check in upsertuserall

This commit is contained in:
Hay1tsme 2023-11-25 01:00:49 -05:00
parent 468c99c3c2
commit fe25359e8e

View File

@ -317,8 +317,7 @@ class ChuniBase:
return {
"userId": data["userId"],
"length": 0,
"nextIndex": -1,
"userRecentPlayerList": [],
"userRecentPlayerList": [], # playUserId, playUserName, playDate, friendPoint
}
def handle_get_user_course_api_request(self, data: Dict) -> Dict:
@ -916,6 +915,10 @@ class ChuniBase:
self.data.item.put_login_bonus(
user_id, self.version, login["presetId"], isWatched=True
)
if "userRecentPlayerList" in upsert: # TODO: Seen in Air, maybe implement sometime
for rp in upsert["userRecentPlayerList"]:
pass
return {"returnCode": "1"}