Batch #15628 by Yommy: 1 byte-identical, 0 confirmed by peer review. - fn_18882 CCherryBlossomEffect::CCherryBlossomEffect: byte-identical Merged automatically: every function is byte-identical to the original.
32 lines
782 B
C++
32 lines
782 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_CHERRYBLOSSOMEFFECT_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_CHERRYBLOSSOMEFFECT_H
|
|
|
|
#include "Contents/Effects/Effect.h"
|
|
#include "Contents/Effects/EffectPoint.h"
|
|
|
|
#include <cstddef>
|
|
#include <vector>
|
|
|
|
class CParticle;
|
|
|
|
class CCherryBlossomEffect : public CEffect {
|
|
public:
|
|
CCherryBlossomEffect();
|
|
void Open() override;
|
|
void OnProcess() override;
|
|
void Render() override;
|
|
void Close() override;
|
|
bool IsAlive() override {
|
|
return this->ActorExists();
|
|
}
|
|
|
|
/* 00CC */ EffectPoint offsets[16];
|
|
/* 018C */ std::vector<CParticle*> petals;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(CCherryBlossomEffect, offsets) == 0xCC);
|
|
static_assert(offsetof(CCherryBlossomEffect, petals) == 0x18C);
|
|
#endif
|
|
|
|
#endif
|