rodecomp/Source/Contents/Effects/SpriteEffect.h
ragnarok-clanker 1971fd04b3 Decompile 2 functions in Source/Contents/Effects/SpriteEffect.cpp, Source/Contents/Effects/SpriteEffect.h
Batch #4049 by Yommy: 0 byte-identical, 2 confirmed by peer review.

- fn_19196 CSpriteEffect::Close: logic confirmed by peer review
- fn_19197 CSpriteEffect::Slot01: logic confirmed by peer review

Peer-reviewed-by: youko, superintelligence
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-30 00:39:32 +00:00

28 lines
600 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 Close() 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