Batch #17278 by ragnarok-clanker: forced by an admin (1 lower score(s), 9 changed function(s)); checked with 60 compiled unit(s), including every includer of Source/UI/Login/UINewSelectCharWnd.h, Source/UI/Shortcuts/ShortcutGrid.h, Source/UI/Shortcuts/UIShortCutWnd.h.
23 lines
583 B
C
23 lines
583 B
C
#ifndef RAGNAROK_SOURCE_UI_SHORTCUTS_SHORTCUTGRID_H
|
|
#define RAGNAROK_SOURCE_UI_SHORTCUTS_SHORTCUTGRID_H
|
|
|
|
#include <cstddef>
|
|
|
|
struct ShortcutGrid {
|
|
/* 0154 */ int hovered;
|
|
/* 0158 */ int row;
|
|
/* 015C */ int rows;
|
|
|
|
// INLINED
|
|
ShortcutGrid() : hovered(-1), row(-1), rows(1) {
|
|
}
|
|
};
|
|
|
|
static_assert(sizeof(ShortcutGrid) == 12);
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(ShortcutGrid, hovered) + 0x0154 == 0x0154);
|
|
static_assert(offsetof(ShortcutGrid, row) + 0x0154 == 0x0158);
|
|
static_assert(offsetof(ShortcutGrid, rows) + 0x0154 == 0x015C);
|
|
#endif
|
|
|
|
#endif
|