rodecomp/Source/UI/Items/UIItemRepairWnd.h
ragnarok-clanker e844522fe1 Maintenance: [forced, user-approved] Remove fabricated UIListBoxContext and NavigationDestination (family B; follow-up to #10188). Ev
Batch #10189 by ragnarok-clanker: forced by an admin (15 lower score(s), 71 changed function(s)); checked with 118 compiled unit(s), including every includer of Source/UI/Buttons/UINaviLinkButton.h, Source/UI/Chat/UISubChatHisWnd.h, Source/UI/Dialogs/UIChooseWarpWnd.h, Source/UI/Dialogs/UIChooseWnd.h, Source/UI/Edit/UIEditCtrl.h, Source/UI/EntryQueue/UIEntryQueueWnd.h, Source/UI/Guild/UIAgitWnd.h, Source/UI/Guild/UIGuildWnd.h, Source/UI/Items/UIItemRepairWnd.h, Source/UI/Items/UIMakeTargetListWnd.h, Source/UI/Items/UIWeaponRefineWnd.h, Source/UI/Lists/UIChatHisBox.h, Source/UI/Lists/UIComboBox.h, Source/UI/Lists/UIComboBoxEx.h, Source/UI/Lists/UIListBox.h, Source/UI/Lists/UIListBoxEx.h, Source/UI/Lists/UIListBoxNavi.h, Source/UI/Lists/UIListBoxNaviSearch.h, Source/UI/Lists/UIMemberListBox.h, Source/UI/Lists/UIPackageBoxNameList.h, Source/UI/Lists/UIReplayListBox.h, Source/UI/Navigation/UINavigationV4Wnd.h, Source/UI/Text/TextMarkup.h, Source/UI/Text/UITextViewer.h, Source/UI/UIRoundBoxTooltipWnd.h, Source/UI/Window/UIChatRoomWnd.h, Source/UI/Window/UINavigationWnd.h, Source/UI/Window/UISecondCostumeWnd.h, Source/UI/Window/UISelectReplayDataWnd.h, Source/UI/Window/UIShowWarpWnd.h.
2026-11-02 20:18:32 +00:00

46 lines
1.2 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_ITEMS_UIITEMREPAIRWND_H
#define RAGNAROK_SOURCE_UI_ITEMS_UIITEMREPAIRWND_H
#include "UI/Window/UIFrameWnd.h"
#include <cstdint>
#include <list>
#include <vector>
struct WindowResponseRecorder;
class UIListBox;
#pragma pack(push, 1)
struct UIItemRepairEntry {
/* 0000 */ std::int16_t index;
/* 0002 */ std::int32_t itemId;
/* 0006 */ unsigned char unknown_0006[0x12];
};
#pragma pack(pop)
static_assert(sizeof(UIItemRepairEntry) == 0x18);
class UIItemRepairWnd : public UIFrameWnd {
public:
UIItemRepairWnd(UIWindowContext& windows, WindowResponseRecorder& recorder);
~UIItemRepairWnd() 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;
std::vector<unsigned char> BuildReplayRecords();
protected:
void* unknown_controls;
void* unknown_listContext;
public:
/* 00B4 */ UIListBox* m_list;
/* 00B8 */ std::vector<int> itemIds;
/* 00C4 */ std::vector<int> indices;
/* 00D0 */ std::list<UIItemRepairEntry> entries;
protected:
WindowResponseRecorder* m_recorder;
};
#endif