Decompile fn_14808 (CreateEnchantUI)
Batch #8083 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_14808 CreateEnchantUI: logic confirmed by peer review Peer-reviewed-by: Yommy, secret, pedrao 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
c5d18baf19
commit
0645aec842
2 changed files with 27 additions and 1 deletions
|
|
@ -17,11 +17,31 @@ class CUITab;
|
|||
struct EnchantInfo;
|
||||
struct EnchantOptionInfo;
|
||||
|
||||
namespace EnchantUI {
|
||||
class CUITargetItem;
|
||||
class CUIMainPage;
|
||||
class CUIReset;
|
||||
}
|
||||
|
||||
class CUIEnchantUI : public CUIFrameWnd {
|
||||
public:
|
||||
/* 00D8 */ CUIControl* background;
|
||||
/* 00DC */ CUIControl* titleBar;
|
||||
/* 00E0 */ CUIListBoxEx<EnchantUI::CUITargetItem, ITEM_INFO>* targetList;
|
||||
/* 00E4 */ CUITab* tab;
|
||||
/* 00E8 */ EnchantUI::CUIMainPage* normalPage;
|
||||
/* 00EC */ EnchantUI::CUIMainPage* upgradePage;
|
||||
/* 00F0 */ EnchantUI::CUIReset* resetPage;
|
||||
/* 00F4 */ CUITextViewer* textViewer;
|
||||
/* 00F8 */ uint64_t group;
|
||||
/* 0100 */ EnchantInfo* enchantInfo;
|
||||
/* 0104 */ int unknown_0104;
|
||||
|
||||
// INLINED
|
||||
CUIEnchantUI()
|
||||
: background(nullptr), titleBar(nullptr), targetList(nullptr), tab(nullptr), normalPage(nullptr), upgradePage(nullptr), resetPage(nullptr),
|
||||
textViewer(nullptr), group(0), enchantInfo(nullptr) {
|
||||
}
|
||||
~CUIEnchantUI() override;
|
||||
bool CanHitTest() override;
|
||||
void Slot16() override;
|
||||
|
|
|
|||
|
|
@ -103,6 +103,12 @@ void CUIEnchantPage::Slot54(int argument1, int argument2) {
|
|||
}
|
||||
}
|
||||
|
||||
// OFFSET: 0x009F9710
|
||||
// FUNCTION: fn_14808
|
||||
CUIEnchantUI* CreateEnchantUI() {
|
||||
return new CUIEnchantUI();
|
||||
}
|
||||
|
||||
// OFFSET: 0x00A021D0
|
||||
// FUNCTION: fn_14838
|
||||
void CUIRadioButton::SetOnSelect(std::function<void(CUIRadioButton*)> callback) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue