rodecomp/Source/UI/UIIngredientInfoWnd.h
ragnarok-clanker fb7054eca8 Decompile fn_04139 (UIIngredientInfoWnd::UIIngredientInfoWnd)
Batch #7986 by pedrao: 0 byte-identical, 1 confirmed by peer review.

- fn_04139 UIIngredientInfoWnd::UIIngredientInfoWnd: logic confirmed by peer review (annotation added to existing code)

Peer-reviewed-by: Yommy, secret
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 13:22:58 +00:00

39 lines
1.2 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_UIINGREDIENTINFOWND_H
#define RAGNAROK_SOURCE_UI_UIINGREDIENTINFOWND_H
#include "Contents/Items/ItemInfo.h"
#include "UI/Window/UIFrameWnd.h"
#include <string>
struct UIButtonContext;
class UILapineBox_IngredientListWnd;
class UIIngredientInfoWnd : public UIFrameWnd {
friend class UILapineBox_IngredientListWnd;
public:
// OFFSET: 0x005FEF40
// FUNCTION: fn_04139
UIIngredientInfoWnd(UIWindowContext& windows, UIFrameContext& frames)
: UIFrameWnd(windows, frames, 0), selected(0), insufficient(0), quantity(0) {}
~UIIngredientInfoWnd() override;
void Move(int x, int y) override;
void Slot10(int argument1, int argument2, std::intptr_t argument3) override;
void Slot25(int x, int y) override;
void Slot28(int x, int y) override;
void Slot31(int x, int y) override;
void Slot32(int x, int y) override;
void Slot35(int argument) override;
void Paint() override;
void Click(int button, int unused);
void sub_6028C0(std::uint32_t id);
/* 00B8 */ ITEM_INFO item;
/* 01B0 */ unsigned char selected;
/* 01B1 */ unsigned char insufficient;
/* 01B4 */ std::string tooltip;
/* 01CC */ int quantity;
};
#endif