Decompile fn_45516 (CUIRenewQuestUI::OnRecommendedTabClick)
Batch #10833 by Tanke: 0 byte-identical, 1 confirmed by peer review. - fn_45516 CUIRenewQuestUI::OnRecommendedTabClick: logic confirmed by peer review Peer-reviewed-by: dori, cremane, StrawberrysherbetIX Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
705af5f7a8
commit
95b2493382
1 changed files with 17 additions and 0 deletions
|
|
@ -2169,6 +2169,23 @@ void CUIRenewQuestUI::OnProcessTabClick() {
|
|||
}
|
||||
}
|
||||
|
||||
// FUNCTION: fn_45516
|
||||
void CUIRenewQuestUI::OnRecommendedTabClick() {
|
||||
this->RecordValues(0x16, 2, 0, 0, 0);
|
||||
for (RenewQuestUI::CUIQuestList* list : this->questLists) {
|
||||
if (list->type == 2) {
|
||||
if (list->list) {
|
||||
if (s_recommendedTabFirstSelect) {
|
||||
list->list->SelectIndex(0);
|
||||
s_recommendedTabFirstSelect = false;
|
||||
return;
|
||||
}
|
||||
list->list->scrollBar->SetPosition(0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// FUNCTION: fn_45517
|
||||
void CUIRenewQuestUI::OnHoldTabClick() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue