Batch #13616 by eAthena: 2 byte-identical, 12 confirmed by peer review. - fn_10771 UIEditCtrl3::TakePendingText: byte-identical - fn_13297 UIItemWnd::GetItemAt: byte-identical - fn_13298 UIMerchantShopMakeWnd::GetItemAt: logic confirmed by peer review - fn_13214 UIItemBaseWnd::UIItemBaseWnd: logic confirmed by peer review - fn_13281 UIItemPurchaseWnd::BuildReplayRecords: logic confirmed by peer review - fn_13282 UIItemSellWnd2::BuildReplayRecords: logic confirmed by peer review - fn_13283 UIItemSellWnd::BuildReplayRecords: logic confirmed by peer review - fn_13284 UIItemStoreWnd::BuildReplayRecords: logic confirmed by peer review - fn_13285 UIItemShopWnd::BuildReplayRecords: logic confirmed by peer review - fn_13286 UIParaItemShopWnd::BuildReplayRecords: logic confirmed by peer review - fn_13287 UIMerchantItemShopWnd::BuildReplayRecords: logic confirmed by peer review - fn_13288 UIMerchantMirrorItemWnd::BuildReplayRecords: logic confirmed by peer review - fn_13289 UIMerchantShopMakeWnd::BuildReplayRecords: logic confirmed by peer review - fn_13418 UIItemBaseWnd::SendMsg: logic confirmed by peer review Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
36 lines
1.1 KiB
C++
36 lines
1.1 KiB
C++
#ifndef RAGNAROK_SOURCE_UI_ITEM_UIITEMPURCHASEWND_H
|
|
#define RAGNAROK_SOURCE_UI_ITEM_UIITEMPURCHASEWND_H
|
|
|
|
#include "Contents/UserData/NormalItemSlots.h"
|
|
#include "UI/Item/UIItemBaseWnd.h"
|
|
|
|
#include <cstddef>
|
|
|
|
class UIEditCtrl;
|
|
class UIStaticText;
|
|
|
|
class UIItemPurchaseWnd : public UIItemBaseWnd {
|
|
public:
|
|
std::vector<unsigned char> BuildReplayRecords();
|
|
UIItemPurchaseWnd();
|
|
void Slot10(int x, int y, std::intptr_t value) override;
|
|
void Slot11() override;
|
|
void Slot15(int width, int height) override;
|
|
void Slot25(int x, int y) override;
|
|
void Slot28(int x, int y) override;
|
|
void Slot32(int x, int y) 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;
|
|
|
|
/* 00F0 */ UIStaticText* title;
|
|
/* 00F4 */ ItemPurchaseWndInfo* saved;
|
|
/* 00F8 */ int hovered;
|
|
/* 00FC */ int unknown_00FC;
|
|
/* 0100 */ UIEditCtrl* quantityEdit;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(UIItemPurchaseWnd, saved) == 0xF4);
|
|
#endif
|
|
|
|
#endif
|