Batch #4545 by eAthena: 1 byte-identical, 4 confirmed by peer review. - fn_19079 CLevel99Effect::CLevel99Effect: logic confirmed by peer review - fn_19081 CLevel99Effect::Slot08: logic confirmed by peer review - fn_19084 CLevel99Effect::Close: logic confirmed by peer review - fn_19086 CLevel99Effect::Slot06: byte-identical - fn_19088 CLevel99Effect::Slot04: logic confirmed by peer review Peer-reviewed-by: Yommy, youko, alisonrag, willerthal 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/Effects/Level99Effect.cpp
31 lines
820 B
C++
31 lines
820 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_LEVEL99EFFECT_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_LEVEL99EFFECT_H
|
|
|
|
#include "Contents/Effects/Effect.h"
|
|
#include "Utility/Math/Vector3d.h"
|
|
|
|
#include <cstddef>
|
|
#include <vector>
|
|
|
|
class CParticle;
|
|
|
|
class CLevel99Effect : public CEffect {
|
|
public:
|
|
CLevel99Effect();
|
|
void Slot04() override;
|
|
void Close() override;
|
|
bool Slot06() override;
|
|
void Slot08(int red, int green, int blue) override;
|
|
|
|
/* 00CC */ vector3d unknown_00CC[2] = {};
|
|
/* 00E4 */ std::vector<CParticle*> sparkles;
|
|
/* 00F0 */ std::vector<CParticle*> sprites;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(CLevel99Effect, unknown_00CC) == 0xCC);
|
|
static_assert(offsetof(CLevel99Effect, sparkles) == 0xE4);
|
|
static_assert(offsetof(CLevel99Effect, sprites) == 0xF0);
|
|
#endif
|
|
|
|
#endif
|