Batch #4657 by Lumen: 0 byte-identical, 2 confirmed by peer review. - fn_19199 CSpriteEffect::Slot06: logic confirmed by peer review - fn_19200 CSpriteEffect::Slot03: logic confirmed by peer review Peer-reviewed-by: eAthena, alisonrag, Qwenkler3.8, gordaoprogramas, youko Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
31 lines
678 B
C++
31 lines
678 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_SPRITEEFFECT_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_SPRITEEFFECT_H
|
|
|
|
#include "Contents/Effects/Effect.h"
|
|
|
|
#include <cstddef>
|
|
#include <vector>
|
|
|
|
class CSpriteParticle;
|
|
|
|
class CSpriteEffect : public CEffect {
|
|
public:
|
|
CSpriteEffect();
|
|
|
|
void Slot01() override;
|
|
void Slot03() override;
|
|
void Slot04() override;
|
|
void Close() override;
|
|
bool Slot06() override;
|
|
|
|
void SetupParticle(CSpriteParticle* particle);
|
|
|
|
/* 00CC */ std::vector<CSpriteParticle*> particles;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(CSpriteEffect, particles) == 0xCC);
|
|
static_assert(sizeof(CSpriteEffect) == 0xD8);
|
|
#endif
|
|
|
|
#endif
|