Batch #11626 by StrawberrysherbetIX: 0 byte-identical, 1 confirmed by peer review. - fn_19731 CShutDownSchedule::Process: logic confirmed by peer review (already on main) Peer-reviewed-by: Yommy, dori, cremane Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
25 lines
721 B
C++
25 lines
721 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;
|
|
__declspec(noinline) 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
|