rodecomp/Source/UI/Item/UIItemStoreFindWnd.h
ragnarok-clanker f7ec26cb5e Decompile 18 functions in Source/UI/Dialogs/UIPasswordWnd.h, Source/UI/Edit/UIEditCtrl.cpp, ...
Batch #8662 by eAthena: 0 byte-identical, 18 confirmed by peer review.

- fn_13215 UIItemDropCntWnd::UIItemDropCntWnd: logic confirmed by peer review
- fn_13216 UIItemPurchaseWnd::UIItemPurchaseWnd: logic confirmed by peer review
- fn_13217 UIItemSellWnd2::UIItemSellWnd2: logic confirmed by peer review
- fn_13218 UIItemSellWnd::UIItemSellWnd: logic confirmed by peer review
- fn_13219 UIItemShopWnd2::UIItemShopWnd2: logic confirmed by peer review
- fn_13220 UIItemShopWnd::UIItemShopWnd: logic confirmed by peer review
- fn_13221 UIItemStoreFindWnd::UIItemStoreFindWnd: logic confirmed by peer review
- fn_13222 UIItemStoreSubWnd::UIItemStoreSubWnd: logic confirmed by peer review
- fn_13223 UIItemStoreWnd::UIItemStoreWnd: logic confirmed by peer review
- fn_13224 UIItemWnd::UIItemWnd: logic confirmed by peer review
- fn_13225 UIMerchantItemMyShopWnd::UIMerchantItemMyShopWnd: logic confirmed by peer review
- fn_13227 UIMerchantItemPurchaseWnd::UIMerchantItemPurchaseWnd: logic confirmed by peer review
- fn_13228 UIMerchantItemShopWnd::UIMerchantItemShopWnd: logic confirmed by peer review
- fn_13229 UIMerchantItemWnd::UIMerchantItemWnd: logic confirmed by peer review
- fn_13230 UIMerchantMirrorItemWnd::UIMerchantMirrorItemWnd: logic confirmed by peer review
- fn_13232 UINoticeMessageBox_LockSellItem::UINoticeMessageBox_LockSellItem: logic confirmed by peer review
- fn_13238 UIItemStoreWnd::~UIItemStoreWnd: logic confirmed by peer review
- fn_13239 UIItemWnd::~UIItemWnd: logic confirmed by peer review

Peer-reviewed-by: youko, dori
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 20:07:56 +00:00

50 lines
1.6 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_ITEM_UIITEMSTOREFINDWND_H
#define RAGNAROK_SOURCE_UI_ITEM_UIITEMSTOREFINDWND_H
#include "Contents/UserData/NormalItemSlots.h"
#include "UI/Item/UIItemBaseWnd.h"
#include <cstddef>
#include <string>
class UIBitmapButton;
class UIResizer;
class UIStaticText;
class UIItemStoreFindWnd : public UIItemBaseWnd {
public:
UIItemStoreFindWnd(UIWindowContext& windows, UIFrameContext& frames);
void Slot28(int x, int y) override;
void Slot32(int x, int y) override;
void Slot10(int x, int y, std::intptr_t value) override;
void Slot11() override;
void Slot25(int x, int y) override;
void Slot26(int x, int y) override;
void Slot35(int value) override;
__declspec(noinline) ITEM_INFO GetItemAt(int x, int y);
void SetTitle(std::string title);
void SetSearchText(std::string text);
void Slot15(int width, int height) override;
/* 00F0 */ unsigned char unknown_00F0[0xC];
/* 00FC */ UIBitmapButton* closeButton;
/* 0100 */ unsigned char unknown_0100[0x14];
/* 0114 */ UIResizer* resizeHandle;
/* 0118 */ UIStaticText* title;
/* 011C */ unsigned char unknown_011C[0x4];
/* 0120 */ int unknown_0120;
/* 0124 */ std::string unknown_0124;
/* 013C */ std::string searchText;
/* 0154 */ ItemStoreFindWndInfo* saved;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(UIItemStoreFindWnd, unknown_0124) == 0x124);
static_assert(offsetof(UIItemStoreFindWnd, searchText) == 0x13C);
static_assert(offsetof(UIItemStoreFindWnd, saved) == 0x154);
static_assert(offsetof(UIItemStoreFindWnd, closeButton) == 0xFC);
static_assert(offsetof(UIItemStoreFindWnd, title) == 0x118);
#endif
#endif