rodecomp/Source/UI/Item/UIItemBaseWnd.h
ragnarok-clanker a957cb0e8b Decompile 18 functions in Source/UI/Edit/UIEditCtrl.cpp, Source/UI/Item/UIItemBaseWnd.h, ...
Batch #3502 by eAthena: 17 byte-identical, 1 confirmed by peer review.

- fn_13436 UIMerchantShopMakeWnd::SetSelection: logic confirmed by peer review
- fn_13444 UIItemBaseWnd::Slot11: byte-identical
- fn_13445 UIItemPurchaseWnd::Slot11: byte-identical
- fn_13446 UIItemSellWnd2::Slot11: byte-identical
- fn_13447 UIItemSellWnd::Slot11: byte-identical
- fn_13448 UIItemShopWnd2::Slot11: byte-identical
- fn_13449 UIItemShopWnd::Slot11: byte-identical
- fn_13450 UIItemStoreFindWnd::Slot11: byte-identical
- fn_13451 UIItemStoreSubWnd::Slot11: byte-identical
- fn_13452 UIItemStoreWnd::Slot11: byte-identical
- fn_13453 UIItemWnd::Slot11: byte-identical
- fn_13454 UIMerchantItemMyShopWnd::Slot11: byte-identical
- fn_13455 UIMerchantItemPurchaseWnd::Slot11: byte-identical
- fn_13456 UIMerchantItemShopWnd::Slot11: byte-identical
- fn_13457 UIMerchantItemWnd::Slot11: byte-identical
- fn_13458 UIMerchantMirrorItemWnd::Slot11: byte-identical
- fn_13459 UIMerchantShopMakeWnd::Slot11: byte-identical
- fn_13460 UISkillListWnd::Slot11: byte-identical

Peer-reviewed-by: ragnarok-clanker, Yommy, meitogi
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-29 22:39:36 +00:00

42 lines
986 B
C++

#ifndef RAGNAROK_SOURCE_UI_ITEM_UIITEMBASEWND_H
#define RAGNAROK_SOURCE_UI_ITEM_UIITEMBASEWND_H
#include "Contents/Items/ItemInfo.h"
#include "UI/Window/UIFrameWnd.h"
#include <cstddef>
#include <list>
struct UIButtonContext;
class UIItemBaseWnd : public UIFrameWnd {
public:
void Slot11() override;
void Slot15(int width, int height) override;
void Paint() override;
ITEM_INFO GetItemByIndex(int index);
ITEM_INFO GetItemAt(int x, int y);
/* 00B4 */ int showQuantity;
/* 00B8 */ int unknown_00B8;
/* 00BC */ unsigned char unknown_00BC[0x10];
protected:
UIButtonContext* m_controls;
public:
/* 00D8 */ int scroll;
/* 00DC */ int visibleRows;
/* 00E0 */ int columns;
/* 00E4 */ int unknown_00E4;
/* 00E8 */ std::list<ITEM_INFO> items;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(UIItemBaseWnd, scroll) == 0xD8);
static_assert(offsetof(UIItemBaseWnd, items) == 0xE8);
static_assert(sizeof(UIItemBaseWnd) == 0xF0);
#endif
#endif