rodecomp/Source/UI/Window/UIPetEvolutionWnd.h
ragnarok-clanker 93df1d1494 Decompile fn_13766 (UIPetEvolutionWnd::RebuildButtons)
Batch #8271 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_13766 UIPetEvolutionWnd::RebuildButtons: logic confirmed by peer review

Peer-reviewed-by: Yommy, gordaoprogramas, System4z
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 15:55:56 +00:00

30 lines
872 B
C++

#ifndef RAGNAROK_SOURCE_UI_WINDOW_UIPETEVOLUTIONWND_H
#define RAGNAROK_SOURCE_UI_WINDOW_UIPETEVOLUTIONWND_H
#include "UI/Window/UIFrameWnd.h"
#include <utility>
#include <vector>
class UITextButton;
struct UIButtonContext;
class UIPetEvolutionWnd : public UIFrameWnd {
public:
UIPetEvolutionWnd(UIWindowContext& windows, UIFrameContext& frames);
~UIPetEvolutionWnd() override;
void Slot15(int width, int height) 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;
void RebuildButtons();
/* 00B4 */ std::vector<UITextButton*> m_materialButtons;
/* 00C0 */ int m_petEggId;
/* 00C4 */ int m_evolvedEggId;
/* 00C8 */ std::vector<std::pair<int, int>> m_materials;
protected:
UIButtonContext* m_controls;
};
#endif