rodecomp/Source/Contents/Schedule/ShutDownSchedule.h
ragnarok-clanker 1350e5af49 Decompile 2 functions in Source/Contents/Schedule/ShutDownSchedule.cpp, Source/Contents/Schedule/ShutDownSchedule.h, ...
Batch #4107 by Millenium: 0 byte-identical, 2 confirmed by peer review.

- fn_19730 CShutDownSchedule::UpdateNotice: logic confirmed by peer review
- fn_19731 CShutDownSchedule::Process: logic confirmed by peer review

Peer-reviewed-by: youko, superintelligence
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
Adds to the build: Source/Contents/Schedule/ShutDownSchedule.cpp
2026-10-30 01:00:07 +00:00

25 lines
700 B
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_SCHEDULE_SHUTDOWNSCHEDULE_H
#define RAGNAROK_SOURCE_CONTENTS_SCHEDULE_SHUTDOWNSCHEDULE_H
#include "Contents/Schedule/Schedule.h"
extern double s_shutDownNoticeSeconds[6];
class CShutDownSchedule : public CSchedule {
public:
void Process(const std::uint64_t& now) override;
void UpdateNotice();
/* 0030 */ void* unknown_0030;
/* 0034 */ std::uint32_t unknown_0034;
/* 0038 */ int seconds;
/* 003C */ int noticeIndex;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(CShutDownSchedule) == 0x40);
static_assert(offsetof(CShutDownSchedule, seconds) == 0x38);
static_assert(offsetof(CShutDownSchedule, noticeIndex) == 0x3C);
#endif
#endif