rodecomp/Source/UI/Item/UIItemWnd.h
ragnarok-clanker 9f546bb5ac Decompile 4 functions in Source/UI/Edit/UIEditCtrl.cpp, Source/UI/Item/UIItemWnd.h, ...
Batch #8916 by eAthena: 0 byte-identical, 4 confirmed by peer review.

- fn_13428 UIMerchantItemPurchaseMSGWnd::SendMsg: logic confirmed by peer review
- fn_13466 UIItemStoreSubWnd::FilterByName1: logic confirmed by peer review
- fn_13467 UIItemStoreSubWnd::FilterByName2: logic confirmed by peer review
- fn_13468 UIItemStoreSubWnd::FilterByName3: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, gordaoprogramas, dori, Romain
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 22:24:54 +00:00

52 lines
1.5 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_ITEM_UIITEMWND_H
#define RAGNAROK_SOURCE_UI_ITEM_UIITEMWND_H
#include "Contents/UserData/NormalItemSlots.h"
#include "UI/Item/UIItemBaseWnd.h"
#include <cstddef>
#include <cstdint>
class UITabControl;
class UIItemWnd : public UIItemBaseWnd {
public:
UIItemWnd();
UIItemWnd(UIWindowContext& windows, UIFrameContext& frames);
__declspec(noinline) ~UIItemWnd() override;
void Slot11() override;
void Slot10(int x, int y, std::intptr_t value) override;
void Slot18() override;
void Slot19() override;
void Slot28(int x, int y) override;
ITEM_INFO GetItemAt(int x, int y);
void ReleaseSelection(unsigned char keep);
void DrawNewItemMark(int x, int y);
void RefreshOptionBox();
void RefreshItems();
/* 00F0 */ ItemWndInfo* saved;
/* 00F4 */ unsigned char unknown_00F4[0xC];
/* 0100 */ int unknown_0100;
/* 0104 */ int unknown_0104;
/* 0108 */ int unknown_0108;
/* 010C */ int unknown_010C;
/* 0110 */ int unknown_0110;
/* 0114 */ unsigned char unknown_0114[0x4];
/* 0118 */ UITabControl* tabs;
/* 011C */ UIWindow* optionBox;
/* 0120 */ unsigned char unknown_0120[0x4];
/* 0124 */ int unknown_0124;
/* 0128 */ UIWindow* unknown_0128;
/* 012C */ int unknown_012C;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(UIItemWnd, saved) == 0xF0);
static_assert(offsetof(UIItemWnd, unknown_0110) == 0x110);
static_assert(offsetof(UIItemWnd, tabs) == 0x118);
static_assert(offsetof(UIItemWnd, unknown_0128) == 0x128);
#endif
#endif