Batch #4047 by youko: 4 byte-identical, 1 confirmed by peer review. - fn_16634 CUIRenewQuestUI::OnTabButton: byte-identical - fn_16635 CUIRenewQuestUI::OnPanelButton: byte-identical - fn_16659 CUIListBoxEx<SelectPackageItemBox::CUIItemInfo,ITEM_INFO>::ClearItems: byte-identical - fn_16660 CUIListBoxEx<SelectPackageItemBox::CUITabInfo,SelectPackageItemBox::CTabInfoData>::ClearItems: byte-identical - fn_16661 CUISelectPackageItemBox::Slot53: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Yommy, superintelligence Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). Adds to the build: Source/UI/SelectPackageItemBox/UISelectPackageItemBox.cpp
37 lines
1,011 B
C++
37 lines
1,011 B
C++
#include "UI/SelectPackageItemBox/SelectPackageItemBox.h"
|
|
|
|
// OFFSET: 0x00A693D0
|
|
// FUNCTION: fn_16659
|
|
template <>
|
|
void CUIListBoxEx<SelectPackageItemBox::CUIItemInfo, ITEM_INFO>::ClearItems() {
|
|
for (SelectPackageItemBox::CUIItemInfo* item : this->items) {
|
|
this->RemoveChild(item, 1);
|
|
}
|
|
|
|
this->items.clear();
|
|
this->selected = static_cast<unsigned int>(-1);
|
|
}
|
|
|
|
// OFFSET: 0x00A69430
|
|
// FUNCTION: fn_16660
|
|
template <>
|
|
void CUIListBoxEx<SelectPackageItemBox::CUITabInfo, SelectPackageItemBox::CTabInfoData>::ClearItems() {
|
|
for (SelectPackageItemBox::CUITabInfo* item : this->items) {
|
|
this->RemoveChild(item, 1);
|
|
}
|
|
|
|
this->items.clear();
|
|
this->selected = static_cast<unsigned int>(-1);
|
|
}
|
|
|
|
// OFFSET: 0x00A694F0
|
|
// FUNCTION: fn_16661
|
|
void CUISelectPackageItemBox::Slot53() {
|
|
this->unknown_00B4 = 0;
|
|
this->Resize(387, 283);
|
|
this->Move(0, 0);
|
|
this->Slot15(this->geometry.width, this->geometry.height);
|
|
this->Slot16();
|
|
this->SetSkinColors(0, 0, 0, 0);
|
|
this->m_buttonBarStyle = 3;
|
|
}
|