rodecomp/Source/UI/AdventureGuide/UIAdventureGuide.h
ragnarok-clanker 477baba99f Decompile 6 functions in Source/UI/Window/UIControl.cpp, Source/UI/Lists/UIVScrollBar.h, ...
Batch #4146 by youko: 4 byte-identical, 2 confirmed by peer review.

- fn_13965 CUIVScrollBar::~CUIVScrollBar: logic confirmed by peer review
- fn_13987 CUIListBoxEx<AdventureGuide::CUIItemInfo,AdventureGuide::CItemData>::ClearItems: byte-identical
- fn_13988 CUIListBoxEx<AdventureGuide::CUIMonsterInfo,AdventureGuide::CMonsterData>::ClearItems: byte-identical
- fn_13989 CUIListBoxEx<AdventureGuide::CUIQuestInfo,AdventureGuide::CQuestInfo>::ClearItems: byte-identical
- fn_13990 CUIListBoxEx<AdventureGuide::CUITabInfo,Guide_Intro::Contents>::ClearItems: byte-identical
- fn_13991 CUIAdventureGuide::Slot53: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, superintelligence, tayoba, eAthena, Yommy, Millenium
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-30 01:46:34 +00:00

71 lines
1.7 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_ADVENTUREGUIDE_UIADVENTUREGUIDE_H
#define RAGNAROK_SOURCE_UI_ADVENTUREGUIDE_UIADVENTUREGUIDE_H
#include "UI/FrameSkin.h"
#include "UI/Lists/UIListBoxTemplate.h"
#include "UI/Window/UIControl.h"
#include <string>
class CUIAdventureGuide : public CUIFrameWnd {
public:
virtual void Slot53();
};
namespace AdventureGuide {
class CUIPage : public CUIControl {
public:
virtual void Slot54(int first, int second) = 0;
};
class CUIIntro : public CUIPage {
public:
void Slot16() override;
void Paint() override;
void Slot54(int first, int second) override;
/* 0084 */ CUIStaticImage* image;
/* 0088 */ CUIListBoxEx<CUITabInfo, Guide_Intro::Contents>* contents;
};
class CUIItem : public CUIPage {
public:
void Slot16() override;
void Paint() override;
/* 0084 */ unsigned char unknown_0084[0x08];
/* 008C */ std::string unknown_008C;
/* 00A4 */ unsigned char unknown_00A4[0x04];
};
class CUIMonster : public CUIPage {
public:
void Slot16() override;
void Paint() override;
void Slot54(int first, int second) override;
/* 0084 */ UIWindow* unknown_0084;
/* 0088 */ std::string unknown_0088;
/* 0080 */ CUIListBoxEx<CUIMonsterInfo, CMonsterData>* monsterList;
};
class CUIQuest : public CUIPage {
public:
void Slot16() override;
void Paint() override;
/* 0084 */ unsigned char unknown_0084[0x08];
/* 008C */ std::string unknown_008C;
};
}
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(AdventureGuide::CUIIntro) == 0x8C);
static_assert(sizeof(AdventureGuide::CUIItem) == 0xA8);
static_assert(sizeof(AdventureGuide::CUIMonster) == 0xA4);
static_assert(sizeof(AdventureGuide::CUIQuest) == 0xA4);
#endif
#endif