rodecomp/Source/UI/Skill/UISkillListWnd.h
ragnarok-clanker 45e9160bee Decompile fn_13370 (UISkillListWnd::Slot25)
Batch #7613 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_13370 UISkillListWnd::Slot25: logic confirmed by peer review

Peer-reviewed-by: Yommy, secret
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 10:43:22 +00:00

45 lines
1.3 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_SKILL_UISKILLLISTWND_H
#define RAGNAROK_SOURCE_UI_SKILL_UISKILLLISTWND_H
#include "Contents/Skills/SkillInfo.h"
#include "Contents/UserData/NormalItemSlots.h"
#include "UI/Window/UIFrameWnd.h"
#include <cstddef>
#include <list>
class UISkillListWnd : public UIFrameWnd {
public:
bool Slot03() override;
void Slot11() override;
void Slot25(int x, int y) override;
void Slot26(int x, int y) override;
void Slot32(int x, int y) override;
void Slot33(int x, int y) override;
void Slot35(int value) override;
__declspec(noinline) int SkillAt(int x, int y);
__declspec(noinline) CSkillInfo GetSkillByIndex(int index);
CSkillInfo GetSkillAt(int x, int y);
CSkillInfo GetVisibleSkill(int row);
void UpdateScrollBar();
/* 00B4 */ int unknown_00B4;
/* 00B8 */ UIWindow* scrollBar;
/* 00BC */ unsigned char unknown_00BC[0x54];
/* 0118 */ int hovered;
/* 011C */ int scroll;
/* 0120 */ int columns;
/* 0124 */ int visibleRows;
/* 0128 */ int unknown_0128;
/* 012C */ std::list<CSkillInfo> skills;
/* 0134 */ SkillListWndInfo* saved;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(UISkillListWnd, hovered) == 0x118);
static_assert(offsetof(UISkillListWnd, skills) == 0x12C);
static_assert(offsetof(UISkillListWnd, saved) == 0x134);
#endif
#endif