rodecomp/Source/UI/Items/UIItemIdentifyWnd.h
ragnarok-clanker 62a8e5a529 Decompile 2 functions in Source/UI/Acceptance/UIChooseSellBuyWnd.cpp, Source/UI/Acceptance/UIJoinPartyAcceptWnd.h, ...
Batch #9184 by Bielhp: 0 byte-identical, 2 confirmed by peer review.

- fn_12224 UIItemCollectionWnd::Paint: logic confirmed by peer review
- fn_12123 CartTypeName: logic confirmed by peer review

Peer-reviewed-by: youko, KWDev, pedrao
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-11-01 03:37:40 +00:00

60 lines
1.5 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;
std::vector<unsigned char> Slot44() override;
ITEM_INFO GetItem(int index, int* found);
ITEM_INFO GetSelectedItem(int* found);
};
class UIMakingArrowListWnd : public UIItemIdentifyWnd {
public:
void Paint() override;
std::vector<unsigned char> Slot44() override;
/* 00F0 */ std::int16_t unknown_00F0;
};
class UIPetEggListWnd : public UIItemIdentifyWnd {
public:
void Paint() override;
};
class UIItemCompositionWnd : public UIItemIdentifyWnd {
public:
void Slot11() override;
void Slot15(int width, int height) override;
std::vector<unsigned char> Slot44() override;
/* 00F0 */ WindowPlacement* m_compositionPlacement;
/* 00F4 */ int m_compositionState;
};
#endif