Batch #7792 by Yommy: 0 byte-identical, 16 confirmed by peer review. - fn_12184 UINoticeConfirmWnd::Slot15: logic confirmed by peer review - fn_12186 UINotifyLevelUpWnd::Slot15: logic confirmed by peer review - fn_12187 UINotifyQuestWnd::Slot15: logic confirmed by peer review - fn_12190 UIPartyInvitationToWnd::Slot15: logic confirmed by peer review - fn_12192 UIPasswordWnd::Slot15: logic confirmed by peer review - fn_12195 UIQuitWnd::Slot15: logic confirmed by peer review - fn_12196 UIRestartWnd::Slot15: logic confirmed by peer review - fn_12206 UIWaitWnd::Slot15: logic confirmed by peer review - fn_12339 UICoupleAcceptWnd::SendMsg: logic confirmed by peer review - fn_12350 UIItemParamChangeDisplayWnd::SendMsg: logic confirmed by peer review - fn_12351 UIJoinFriendAcceptWnd::SendMsg: logic confirmed by peer review - fn_12358 UIMixAcceptWnd::SendMsg: logic confirmed by peer review - fn_12361 UINotifyItemObtainWnd::SendMsg: logic confirmed by peer review - fn_12380 UISkillNameChangeWnd::SendMsg: logic confirmed by peer review - fn_12382 UIStarPlaceAcceptWnd::SendMsg: logic confirmed by peer review - fn_12390 UIYourItemWnd::SendMsg: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, eAthena Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
45 lines
1.2 KiB
C++
45 lines
1.2 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;
|
|
int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) 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
|