rodecomp/Source/UI/MiniPartyPlacement.h
ragnarok-clanker 2c9f3270f9 Decompile 2 functions in Source/UI/MiniPartyPlacement.cpp, Source/UI/MiniPartyPlacement.h
Batch #1206 by eAthena: 0 byte-identical, 2 confirmed by peer review.

- fn_07650 CMiniPartyWndSortArea::CMiniPartyWndSortArea: logic confirmed by peer review
- fn_07658 CMiniPartyWndSortArea::GetCells: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
Adds to the build: Source/UI/MiniPartyPlacement.cpp
2026-10-27 21:09:35 +00:00

27 lines
675 B
C++

#ifndef RAGNAROK_SOURCE_UI_MINIPARTYPLACEMENT_H
#define RAGNAROK_SOURCE_UI_MINIPARTYPLACEMENT_H
#include <cstddef>
#include <list>
#include <windows.h>
class CMiniPartyWndSortArea {
public:
/* 0004 */ RECT area;
/* 0014 */ int columns;
/* 0018 */ int rows;
/* 001C */ std::list<int> cells;
virtual ~CMiniPartyWndSortArea() = default;
explicit CMiniPartyWndSortArea(const RECT& bounds);
std::list<int> GetCells() const;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(CMiniPartyWndSortArea, area) == 0x04);
static_assert(offsetof(CMiniPartyWndSortArea, cells) == 0x1C);
static_assert(sizeof(CMiniPartyWndSortArea) == 0x24);
#endif
#endif