Batch #9982 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review. - fn_17820 CMode::CMode: logic confirmed by peer review Peer-reviewed-by: eAthena, Yommy Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
20 lines
500 B
C++
20 lines
500 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;
|
|
|
|
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
|