rodecomp/Source/UI/Item/UIItemPurchaseWnd.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

35 lines
1 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_ITEM_UIITEMPURCHASEWND_H
#define RAGNAROK_SOURCE_UI_ITEM_UIITEMPURCHASEWND_H
#include "Contents/UserData/NormalItemSlots.h"
#include "UI/Item/UIItemBaseWnd.h"
#include <cstddef>
class UIEditCtrl;
class UIStaticText;
class UIItemPurchaseWnd : public UIItemBaseWnd {
public:
UIItemPurchaseWnd();
void Slot10(int x, int y, std::intptr_t value) override;
void Slot11() override;
void Slot15(int width, int height) override;
void Slot25(int x, int y) override;
void Slot28(int x, int y) override;
void Slot32(int x, int y) override;
void Paint() override;
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
/* 00F0 */ UIStaticText* title;
/* 00F4 */ ItemPurchaseWndInfo* saved;
/* 00F8 */ int hovered;
/* 00FC */ int unknown_00FC;
/* 0100 */ UIEditCtrl* quantityEdit;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(UIItemPurchaseWnd, saved) == 0xF4);
#endif
#endif