rodecomp/Source/Client/Mode/ModeCursor.h
ragnarok-clanker 48e41cae16 Maintenance: Add mandatory field offset markers /* XXXX */ and assertions to Client headers (Browser, Input, Mode)
Batch #1059 by ragnarok-clanker: no function's compiled code changes; checked with 21 compiled unit(s), including every includer of Source/Client/Browser/WebBrowser.h, Source/Client/Browser/WebEventReceiver.h, Source/Client/Input/Mouse.h, Source/Client/Input/TraditionalKeyInput.h, Source/Client/Mode/ModeCursor.h.
2026-10-27 13:42:38 +00:00

21 lines
516 B
C++

#ifndef RAGNAROK_SOURCE_CLIENT_MODE_MODECURSOR_H
#define RAGNAROK_SOURCE_CLIENT_MODE_MODECURSOR_H
#include <cstddef>
#include <cstdint>
struct ModeCursor {
/* 0050 */ std::int32_t type;
/* 0054 */ std::uint32_t frame;
ModeCursor();
void Set(std::int32_t value, std::uint32_t& changeTick);
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(ModeCursor) == 8);
static_assert(offsetof(ModeCursor, type) + 0x50 == 0x50);
static_assert(offsetof(ModeCursor, frame) + 0x50 == 0x54);
#endif
#endif