Batch #1025 by ragnarok-clanker: 5 byte-identical, 0 confirmed by peer review. - fn_17831 CWorld::ActiveGameMode: byte-identical - fn_19302 ReplaySection::ReplaySection: byte-identical (already on main) - fn_19306 ReplaySection::~ReplaySection: byte-identical (already on main) - fn_17835 CMode::Slot7: byte-identical - fn_17838 CMode::Slot5: byte-identical Merged automatically: every function is byte-identical to the original.
47 lines
1.2 KiB
C++
47 lines
1.2 KiB
C++
#ifndef RAGNAROK_SOURCE_CLIENT_MODE_CMODE_H
|
|
#define RAGNAROK_SOURCE_CLIENT_MODE_CMODE_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include <string>
|
|
|
|
class UIWindow;
|
|
|
|
class CMode {
|
|
public:
|
|
/* 0004 */ int cursorType;
|
|
/* 0008 */ std::uint32_t cursorFrame;
|
|
/* 000C */ int pendingCursorType;
|
|
/* 0010 */ int unknown_0010;
|
|
/* 0014 */ int running;
|
|
/* 0018 */ int unknown_0018;
|
|
/* 001C */ UIWindow* tooltip;
|
|
/* 0020 */ std::uint32_t tooltipTick;
|
|
/* 0024 */ std::uint32_t cursorTick;
|
|
/* 0028 */ int unknown_0028;
|
|
/* 002C */ int unknown_002C;
|
|
/* 0030 */ int unknown_0030;
|
|
/* 0034 */ int unknown_0034;
|
|
/* 0038 */ std::string unknown_0038;
|
|
/* 0050 */ int unknown_0050;
|
|
/* 0054 */ int unknown_0054;
|
|
|
|
virtual ~CMode();
|
|
virtual int Run();
|
|
virtual void Initialize(const char* name);
|
|
virtual void End();
|
|
virtual void Update();
|
|
virtual void Slot5(int value);
|
|
virtual int SendMsg(int event, int argument1, int argument2, int argument3, int argument4);
|
|
virtual void Slot7(int value);
|
|
|
|
CMode();
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(CMode, cursorType) == 0x4);
|
|
static_assert(offsetof(CMode, unknown_0038) == 0x38);
|
|
static_assert(sizeof(CMode) == 0x58);
|
|
#endif
|
|
|
|
#endif
|