rodecomp/Source/UI/Item/UIItemStoreWnd.h
ragnarok-clanker fa26ae4cf5 Decompile 4 functions in Source/Contents/Jobs/JobInheritance.cpp, Source/Client/Session.h, ...
Batch #6406 by eAthena: 0 byte-identical, 4 confirmed by peer review.

- fn_23793 CSession::GetPetTargetAid: logic confirmed by peer review
- fn_24365 ApplyAiPatch: logic confirmed by peer review
- fn_21743 CGameMode::ReceiveEquipWindowMicroscope: logic confirmed by peer review
- fn_21919 UIItemStoreWnd::SetTitle: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, willerthal
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
Adds to the build: Source/Client/Mode/GameModeEquipWindow.cpp, Source/UI/Item/UIItemStoreWnd.cpp
2026-10-31 00:51:56 +00:00

39 lines
1.1 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_ITEM_UIITEMSTOREWND_H
#define RAGNAROK_SOURCE_UI_ITEM_UIITEMSTOREWND_H
#include "Contents/UserData/NormalItemSlots.h"
#include "UI/Item/UIItemBaseWnd.h"
#include <cstddef>
#include <string>
class UICheckBox;
class UIStaticText;
class UIItemStoreWnd : public UIItemBaseWnd {
public:
void Slot28(int x, int y) override;
void Slot32(int x, int y) override;
void Slot11() override;
void Slot25(int x, int y) override;
__declspec(noinline) ITEM_INFO GetItemAt(int x, int y);
void SetTabChecked(int index, bool checked);
void SetTitle(std::string title);
/* 00F0 */ int unknown_00F0;
/* 00F4 */ unsigned char unknown_00F4[0x04];
/* 00F8 */ unsigned char unknown_00F8[0x08];
/* 0100 */ UICheckBox* tabs[8];
/* 0120 */ int unknown_0120[8];
/* 0140 */ unsigned char unknown_0140[0x1C];
/* 015C */ UIStaticText* title;
/* 0160 */ unsigned char unknown_0160[0x04];
/* 0164 */ WindowPlacement* saved;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(UIItemStoreWnd, tabs) == 0x100);
static_assert(offsetof(UIItemStoreWnd, saved) == 0x164);
#endif
#endif