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
27 lines
675 B
C++
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
|