Some documentation

This commit is contained in:
UncleJim 2024-01-19 18:14:52 +00:00
parent 01cf3d2837
commit 33644f2d25

View File

@ -246,6 +246,8 @@ class IDACSeason2(IDACBase):
], ],
} }
], ],
# Should respective to official reward list, or the game won't accept them,
# game will show rewards as it is but won't add them into players' stock
"last_round_event": [], "last_round_event": [],
"last_round_event_ranking": [], "last_round_event_ranking": [],
"round_event_exp": [], "round_event_exp": [],
@ -959,6 +961,8 @@ class IDACSeason2(IDACBase):
"frozen_data": {"frozen_status": 2}, "frozen_data": {"frozen_status": 2},
"penalty_data": {"penalty_flag": 0, "penalty_2_level": 0}, "penalty_data": {"penalty_flag": 0, "penalty_2_level": 0},
"config_data": config_data, "config_data": config_data,
# 2 for newly received gift, otherwise for already acquired.
# Don't know what first_distribution_flag is for, seems it's only handled by server side
"battle_gift_data": [], "battle_gift_data": [],
"ticket_data": ticket_data, "ticket_data": ticket_data,
"round_event": [], "round_event": [],
@ -2443,6 +2447,9 @@ class IDACSeason2(IDACBase):
} }
def handle_user_updateonlinebattle_request(self, data: Dict, headers: Dict): def handle_user_updateonlinebattle_request(self, data: Dict, headers: Dict):
# Most likely depends on last race result.
# The game requests this before the match actually start,
# returning true (1) will make this match exp. or pride point null and void.
return { return {
"status_code": "0", "status_code": "0",
"bothwin_penalty": 1, "bothwin_penalty": 1,