Batch #4629 by gordaoprogramas: 0 byte-identical, 6 confirmed by peer review. - fn_04710 CCaptchaUploadSchedule::CCaptchaUploadSchedule: logic confirmed by peer review - fn_04711 CSchedule::~CSchedule: logic confirmed by peer review - fn_04714 CCaptchaUploadSchedule::Process: logic confirmed by peer review - fn_04715 CEmotionPurchaseExpireSchedule::CEmotionPurchaseExpireSchedule: logic confirmed by peer review - fn_04718 CEmotionPurchaseUseableTimeUISchedule::CEmotionPurchaseUseableTimeUISchedule: logic confirmed by peer review - fn_04721 CEmotionSaleExpireSchedule::CEmotionSaleExpireSchedule: logic confirmed by peer review Peer-reviewed-by: youko, Millenium, Qwenkler3.8, eAthena 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/CaptchaUploadSchedule.cpp, Source/Contents/Schedule/EmotionSchedule.cpp
24 lines
793 B
C++
24 lines
793 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_SCHEDULE_CAPTCHAUPLOADSCHEDULE_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_SCHEDULE_CAPTCHAUPLOADSCHEDULE_H
|
|
|
|
#include "Contents/Schedule/Schedule.h"
|
|
|
|
class CCaptchaUploadSchedule : public CSchedule {
|
|
public:
|
|
CCaptchaUploadSchedule(const std::uint64_t& timestamp, const std::uint32_t* sessionId, int size, const void* data);
|
|
~CCaptchaUploadSchedule() override;
|
|
void Process(const std::uint64_t& now) override;
|
|
|
|
/* 0030 */ int size;
|
|
/* 0034 */ void* buffer;
|
|
/* 0038 */ std::uint32_t sessionId;
|
|
/* 003C */ int sent;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(CCaptchaUploadSchedule) == 0x40);
|
|
static_assert(offsetof(CCaptchaUploadSchedule, buffer) == 0x34);
|
|
static_assert(offsetof(CCaptchaUploadSchedule, sent) == 0x3C);
|
|
#endif
|
|
|
|
#endif
|