rodecomp/Source/Contents/Effects/StarEmperorEffect.h
ragnarok-clanker e235c5806e Decompile 9 functions in Source/Contents/Effects/StarEmperorEffect.cpp, Source/Contents/Effects/StarEmperorEffect.h
Batch #4610 by eAthena: 1 byte-identical, 8 confirmed by peer review.

- fn_07474 CStarEmperorEffect::CStarEmperorEffect: logic confirmed by peer review
- fn_07476 CStarEmperorEffect::BuildSphere: logic confirmed by peer review
- fn_07477 CStarEmperorEffect::Close: logic confirmed by peer review
- fn_07478 CStarEmperorEffect::Slot01: logic confirmed by peer review
- fn_07479 CStarEmperorEffect::Slot12: logic confirmed by peer review
- fn_07480 CStarEmperorEffect::Slot06: byte-identical
- fn_07481 CStarEmperorEffect::UpdateRing: logic confirmed by peer review
- fn_07482 CStarEmperorEffect::Slot03: logic confirmed by peer review
- fn_07483 CStarEmperorEffect::Slot04: logic confirmed by peer review

Peer-reviewed-by: alisonrag, youko
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/StarEmperorEffect.cpp
2026-10-30 04:07:21 +00:00

35 lines
833 B
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_STAREMPEROREFFECT_H
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_STAREMPEROREFFECT_H
#include "Contents/Effects/Effect.h"
#include <cstddef>
#include <vector>
class CParticle;
class CStarEmperorEffect : public CEffect {
public:
CStarEmperorEffect();
void Slot01() override;
void Slot03() override;
void Slot04() override;
void Close() override;
bool Slot06() override;
void Slot12() override;
void BuildSphere();
void UpdateRing(CParticle* particle);
/* 00CC */ std::vector<CParticle*> sphere;
/* 00D8 */ std::vector<CParticle*> rings;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(CStarEmperorEffect, sphere) == 0xCC);
static_assert(offsetof(CStarEmperorEffect, rings) == 0xD8);
static_assert(sizeof(CStarEmperorEffect) == 0xE4);
#endif
#endif