rodecomp/Source/UI/Item/UIItemStoreWnd.h
ragnarok-clanker f298eae02c Decompile fn_13324 (UIMerchantShopMakeWnd::Slot15)
Batch #10313 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review.

- fn_13324 UIMerchantShopMakeWnd::Slot15: logic confirmed by peer review

Peer-reviewed-by: tester, youko
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-11-03 19:49:02 +00:00

59 lines
1.8 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_ITEM_UIITEMSTOREWND_H
#define RAGNAROK_SOURCE_UI_ITEM_UIITEMSTOREWND_H
#include "Contents/UserData/NormalItemSlots.h"
#include "UI/Item/UIItemBaseWnd.h"
#include <cstddef>
#include <string>
class UIBitmapEditCtrl;
class UICheckBox;
class UIItemStoreComboBoxWnd;
class UIStaticText;
class UITab;
class UIItemStoreWnd : public UIItemBaseWnd {
public:
UIItemStoreWnd();
__declspec(noinline) ~UIItemStoreWnd() override;
void Slot10(int x, int y, std::intptr_t value) override;
void Slot28(int x, int y) override;
void Slot32(int x, int y) override;
void Slot11() override;
void Slot25(int x, int y) override;
void Paint() override;
void Slot15(int width, int height) override;
__declspec(noinline) ITEM_INFO GetItemAt(int x, int y);
void SetTabChecked(int index, bool checked);
void SetTitle(std::string title);
/* 00F0 */ UIBitmapEditCtrl* searchEdit;
/* 00F4 */ UIItemStoreComboBoxWnd* sortCombo;
/* 00F8 */ unsigned char unknown_00F8[0x08];
/* 0100 */ UICheckBox* tabs[8];
/* 0120 */ int unknown_0120[8];
/* 0140 */ int unknown_0140;
/* 0144 */ std::string unknown_0144;
/* 015C */ UIStaticText* title;
/* 0160 */ unsigned char unknown_0160[0x04];
/* 0164 */ WindowPlacement* saved;
/* 0168 */ UITab* tabBar;
/* 016C */ int unknown_016C;
/* 0170 */ int unknown_0170;
/* 0174 */ int unknown_0174;
/* 0178 */ int unknown_0178;
/* 017C */ int unknown_017C;
/* 0180 */ int unknown_0180;
/* 0184 */ unsigned char unknown_0184[0x04];
/* 0188 */ int unknown_0188;
/* 018C */ int unknown_018C;
/* 0190 */ unsigned char unknown_0190;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(UIItemStoreWnd, tabs) == 0x100);
static_assert(offsetof(UIItemStoreWnd, saved) == 0x164);
#endif
#endif