rodecomp/Source/UI/Window/UISecondCostumeWnd.h
ragnarok-clanker 0c10747096 Decompile 12 functions in Source/UI/Quest/UIQuestDisplay.cpp, Source/UI/Quest/UIQuestDisplay.h, ...
Batch #7711 by secret: 0 byte-identical, 12 confirmed by peer review.

- fn_12846 UIAccountLimitedToolWnd::UIAccountLimitedToolWnd: logic confirmed by peer review
- fn_12847 UIBalloonOpenBtn::UIBalloonOpenBtn: logic confirmed by peer review
- fn_12848 UIDebuffRemoveWnd::UIDebuffRemoveWnd: logic confirmed by peer review
- fn_12850 UIMileageWnd::UIMileageWnd: logic confirmed by peer review
- fn_12852 UINoteWnd::UINoteWnd: logic confirmed by peer review
- fn_12853 UIOpenMailBoxWnd::UIOpenMailBoxWnd: logic confirmed by peer review
- fn_12854 UIOpenRoulletteWnd::UIOpenRoulletteWnd: logic confirmed by peer review
- fn_12855 UIQuestDisplay::UIQuestDisplay: logic confirmed by peer review
- fn_12856 UIRPImageWnd2::UIRPImageWnd2: logic confirmed by peer review
- fn_12857 UISecondCostumeWnd::UISecondCostumeWnd: logic confirmed by peer review
- fn_12858 UIShowWarpWnd::UIShowWarpWnd: logic confirmed by peer review
- fn_12859 UITransMenuWnd::UITransMenuWnd: logic confirmed by peer review

Peer-reviewed-by: eAthena, Yommy
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 11:28:47 +00:00

54 lines
1.6 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_WINDOW_UISECONDCOSTUMEWND_H
#define RAGNAROK_SOURCE_UI_WINDOW_UISECONDCOSTUMEWND_H
#include "UI/Window/UIFrameWnd.h"
#include <string>
#include <windows.h>
#include <timeapi.h>
#include <vector>
class UIComboBoxDefWnd;
class UIListBox;
struct UIButtonContext;
struct UIComboBoxHeaderContext;
struct UIListBoxContext;
struct SecondCostumeEntry {
/* 0000 */ std::string name;
/* 0018 */ int unknown_0018;
};
class UISecondCostumeWnd : public UIFrameWnd {
public:
UISecondCostumeWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls, UIListBoxContext& lists, UIComboBoxHeaderContext& combos);
bool Slot03() override;
void Slot15(int width, int height) override;
void Paint() override;
int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override;
__declspec(noinline) void RefreshList(int tab);
int sub_8D2CE0(bool closeButton, const char* title, int width);
void sub_948D20(int x, int y);
void LoadLists();
void SelectSavedEntries();
protected:
/* 00B4 */ UIComboBoxDefWnd* m_typeCombo;
/* 00B8 */ UIListBox* m_list;
/* 00BC */ int m_tab;
/* 00C0 */ int m_selected[4];
/* 00D0 */ std::vector<SecondCostumeEntry> m_entries[4];
/* 0100 */ std::uint32_t unknown_0100;
/* 0104 */ int m_page;
UIButtonContext* m_controls;
UIListBoxContext* m_listContext;
UIComboBoxHeaderContext* m_comboContext;
/* 0108 */ std::string unknown_0108[7];
/* 01B0 */ std::string unknown_01B0[7];
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(SecondCostumeEntry) == 0x1C);
#endif
#endif