rodecomp/Source/UI/Items/UIItemParamChangeDisplayWnd.h
ragnarok-clanker 57203465fe Decompile 2 functions in Source/UI/Items/UIItemParamChangeDisplayWnd.cpp, Source/UI/Items/UIItemParamChangeDisplayWnd.h, ...
Batch #6494 by Montyla: 0 byte-identical, 2 confirmed by peer review.

- fn_11947 UIItemParamChangeDisplayWnd::UIItemParamChangeDisplayWnd: logic confirmed by peer review
- fn_11954 UIMinimapZoomWnd::UIMinimapZoomWnd: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, superintelligence, SapitoSucio, pedrao
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
Adds to the build: Source/UI/Items/UIItemParamChangeDisplayWnd.cpp, Source/UI/Dialogs/UIMinimapZoomWnd.cpp
2026-10-31 01:06:04 +00:00

44 lines
1.1 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_ITEMS_UIITEMPARAMCHANGEDISPLAYWND_H
#define RAGNAROK_SOURCE_UI_ITEMS_UIITEMPARAMCHANGEDISPLAYWND_H
#include "Contents/Items/ItemInfo.h"
#include "UI/Window/UIFrameWnd.h"
#include <cstddef>
#include <string>
struct UIButtonContext;
struct WindowPlacement;
class UIItemParamChangeDisplayWnd : public UIFrameWnd {
public:
UIItemParamChangeDisplayWnd();
/* 00B4 */ int m_before;
/* 00B8 */ int m_after;
/* 00BC */ int m_beforeSecond;
/* 00C0 */ int m_afterSecond;
/* 00C4 */ int unknown_00C4;
/* 00C8 */ int unknown_00C8;
/* 00CC */ int unknown_00CC;
/* 00D0 */ int unknown_00D0;
/* 00D4 */ std::string m_label;
/* 00EC */ int unknown_00EC;
/* 00F0 */ WindowPlacement* m_placement;
void Slot11() override;
void Slot15(int width, int height) override;
void Paint() override;
ITEM_INFO FindEquippedItem(int location);
void SumEquippedStats();
protected:
UIButtonContext* m_controls;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(UIItemParamChangeDisplayWnd, m_placement) - offsetof(UIItemParamChangeDisplayWnd, unknown_00C4) == 0x2C);
#endif
#endif