rodecomp/Source/UI/Items/UIItemIdentifyWnd.h
ragnarok-clanker 226599b855 Decompile 3 functions in Source/UI/Acceptance/UIChooseSellBuyWnd.cpp, Source/UI/Items/UIItemIdentifyWnd.h, ...
Batch #9039 by KWDev: 0 byte-identical, 3 confirmed by peer review.

- fn_12097 UInCashWnd::DrawItems: logic confirmed by peer review
- fn_12229 UIMakingArrowListWnd::Paint: logic confirmed by peer review
- fn_12242 UIPetEggListWnd::Paint: logic confirmed by peer review

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

55 lines
1.3 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_ITEMS_UIITEMIDENTIFYWND_H
#define RAGNAROK_SOURCE_UI_ITEMS_UIITEMIDENTIFYWND_H
#include "Contents/Items/ItemInfo.h"
#include "UI/Window/UIFrameWnd.h"
#include <list>
#include <string>
struct WindowPlacement;
class UIItemIdentifyWnd : public UIFrameWnd {
public:
/* 00B4 */ UIWindow* m_scrollBar;
/* 00B8 */ int m_scroll;
/* 00BC */ int m_selected;
/* 00C0 */ int m_columns;
/* 00C4 */ int m_rows;
/* 00C8 */ int m_scrollable;
/* 00CC */ std::list<ITEM_INFO> m_items;
/* 00D4 */ std::string m_title;
/* 00EC */ WindowPlacement* m_placement;
void Slot11() override;
void Paint() override;
void Slot15(int width, int height) override;
void UpdateScroll();
void Slot25(int x, int y) override;
void Slot26(int x, int y) override;
void Slot33(int x, int y) override;
void Slot35(int delta) override;
ITEM_INFO GetItem(int index, int* found);
ITEM_INFO GetSelectedItem(int* found);
};
class UIMakingArrowListWnd : public UIItemIdentifyWnd {
public:
void Paint() override;
};
class UIPetEggListWnd : public UIItemIdentifyWnd {
public:
void Paint() override;
};
class UIItemCompositionWnd : public UIItemIdentifyWnd {
public:
void Slot11() override;
void Slot15(int width, int height) override;
/* 00F0 */ WindowPlacement* m_compositionPlacement;
/* 00F4 */ int m_compositionState;
};
#endif