rodecomp/Source/Contents/Effects/RotateItemEffect.h
ragnarok-clanker 3998375392 Decompile 3 functions in Source/Contents/Effects/RotateItemEffect.cpp, Source/Contents/Effects/RotateItemEffect.h
Batch #3948 by Yommy: 1 byte-identical, 2 confirmed by peer review.

- fn_19146 CRotateItemEffect::CRotateItemEffect: logic confirmed by peer review
- fn_19151 CRotateItemEffect::Slot03: logic confirmed by peer review
- fn_19152 CRotateItemEffect::Slot04: byte-identical

Peer-reviewed-by: eAthena, willerthal, tayoba
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/RotateItemEffect.cpp
2026-10-30 00:20:47 +00:00

29 lines
672 B
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_EFFECTS_ROTATEITEMEFFECT_H
#define RAGNAROK_SOURCE_CONTENTS_EFFECTS_ROTATEITEMEFFECT_H
#include "Contents/Effects/Effect.h"
#include <cstddef>
#include <vector>
class CParticle;
class CRotateItemEffect : public CEffect {
public:
CRotateItemEffect();
void Slot03() override;
void Slot04() override;
/* 00CC */ int alpha;
/* 00D0 */ float angle;
/* 00D4 */ std::vector<CParticle*> particles;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(CRotateItemEffect) == 0xE0);
static_assert(offsetof(CRotateItemEffect, alpha) == 0xCC);
static_assert(offsetof(CRotateItemEffect, particles) == 0xD4);
#endif
#endif