Batch #3502 by eAthena: 17 byte-identical, 1 confirmed by peer review. - fn_13436 UIMerchantShopMakeWnd::SetSelection: logic confirmed by peer review - fn_13444 UIItemBaseWnd::Slot11: byte-identical - fn_13445 UIItemPurchaseWnd::Slot11: byte-identical - fn_13446 UIItemSellWnd2::Slot11: byte-identical - fn_13447 UIItemSellWnd::Slot11: byte-identical - fn_13448 UIItemShopWnd2::Slot11: byte-identical - fn_13449 UIItemShopWnd::Slot11: byte-identical - fn_13450 UIItemStoreFindWnd::Slot11: byte-identical - fn_13451 UIItemStoreSubWnd::Slot11: byte-identical - fn_13452 UIItemStoreWnd::Slot11: byte-identical - fn_13453 UIItemWnd::Slot11: byte-identical - fn_13454 UIMerchantItemMyShopWnd::Slot11: byte-identical - fn_13455 UIMerchantItemPurchaseWnd::Slot11: byte-identical - fn_13456 UIMerchantItemShopWnd::Slot11: byte-identical - fn_13457 UIMerchantItemWnd::Slot11: byte-identical - fn_13458 UIMerchantMirrorItemWnd::Slot11: byte-identical - fn_13459 UIMerchantShopMakeWnd::Slot11: byte-identical - fn_13460 UISkillListWnd::Slot11: byte-identical Peer-reviewed-by: ragnarok-clanker, Yommy, meitogi Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
39 lines
1.1 KiB
C++
39 lines
1.1 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 Slot32(int x, int y) override;
|
|
void Slot33(int x, int y) override;
|
|
|
|
__declspec(noinline) int SkillAt(int x, int y);
|
|
CSkillInfo GetSkillByIndex(int index);
|
|
CSkillInfo GetSkillAt(int x, int y);
|
|
CSkillInfo GetVisibleSkill(int row);
|
|
|
|
/* 00BC */ unsigned char unknown_00BC[0x5C];
|
|
/* 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
|